Admin

Get Ai Status

Return single-deployment AI status; no provider-routing policy controls (admin only).

get/admin/ai-status/

Request

  • The document declares no server URL.
  • Auth: one of:
    • OAuth 2 (password, token URL /api/auth/login)
    • API key in header X-Api-Key
    • API key in query parameter api_key

Query parameters

probeboolean

When true, run a minimal LIVE provider call per purpose (chat + embeddings) to verify the configured key actually works. Costs a real provider API call — never enabled by dashboards.

Response

Successful Response

providerstring nullable required

Active AI provider name (e.g. 'anthropic', 'openai').

modelstring nullable required

Active model name (e.g. 'claude-sonnet-4-20250514').

enabledboolean required

Whether AI features are enabled for this instance.

configuredboolean required

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

semantic_search_enabledboolean

Whether pgvector-backed semantic search is enabled.

has_embeddingsboolean

Whether at least one record has embeddings stored.

Changes

No recorded changes to this operation across all 50 revisions of this API.