Get Ai Status
GET
/admin/ai-status/
const url = 'https://example.com/api/admin/ai-status/';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/admin/ai-status/ \ --header 'Authorization: Bearer <token>'Return AI provider status and runtime toggle (admin only).
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Successful Response
Media type application/json
AIStatusResponse
object
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}