Get Search Status
GET /api/discovery/enhanced-search/status
GET
/api/discovery/enhanced-search/status
Get current operational status and metrics of the enhanced search system.
Returns:
status: System status (“active” or “inactive”)model_name: Currently loaded embedding modelmodel_loaded: Whether embedding model is loadeddocuments_indexed: Count of indexed documentssimilarity_threshold: Current similarity threshold settingembedding_cache_size: Number of cached embeddings
Use Case: Health monitoring and system diagnostics
Responses
Section titled “ Responses ”Successful Response
SearchStatusResponse
Search status response model.
Provides current operational status and metrics of the enhanced semantic search system including model status, document indexing counts, and configuration settings for health monitoring and system diagnostics.
Fields:
status: System status (“active” or “inactive”)model_name: Currently loaded embedding model namemodel_loaded: Boolean indicating if embedding model is loadeddocuments_indexed: Count of indexed documents (non-negative integer)similarity_threshold: Current similarity threshold setting (0.0-1.0)embedding_cache_size: Number of cached embeddings (non-negative integer)
Usage: GET /api/discovery/enhanced-search/status returns this response model.
JSON Example:
{
"status": "active",
"modelName": "multilingual-e5-large-instruct",
"modelLoaded": true,
"documentsIndexed": 1542,
"similarityThreshold": 0.7,
"embeddingCacheSize": 1542
}object
status
required
Status
System status (‘active’ or ‘inactive’)
string
modelName
required
Modelname
Currently loaded embedding model
string
modelLoaded
required
Modelloaded
Whether embedding model is loaded
boolean
documentsIndexed
required
Documentsindexed
Count of indexed documents
integer
similarityThreshold
required
Similaritythreshold
Similarity threshold (0.0-1.0)
number
embeddingCacheSize
required
Embeddingcachesize
Number of cached embeddings
integer