Skip to content
getgeolens.com

Get Ai Status

GET
/admin/ai-status/
curl --request GET \
--url https://example.com/api/admin/ai-status/ \
--header 'Authorization: Bearer <token>'

Return AI provider status and runtime toggle (admin only).

Successful Response

Media type application/json
AIStatusResponse
object
provider
required
Any of:
string
model
required
Any of:
string
enabled
required
Enabled

Whether AI features are enabled for this instance.

boolean
configured
required
Configured

Whether an API key is configured. AI features require both ‘enabled’ and ‘configured’.

boolean
semantic_search_enabled
Semantic Search Enabled

Whether pgvector-backed semantic search is enabled.

boolean
has_embeddings
Has Embeddings

Whether at least one record has embeddings stored.

boolean
Example
{
"semantic_search_enabled": false,
"has_embeddings": false
}