Read the AI provider configuration
GET /admin/system/ai
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Current AI config
AI provider configuration. Persisted under the sysconfig key
ai. API keys are stored as plain strings for now (admin-
only table; never federated); a secrets-backend migration is
planned.
object
Picks the providers[*].id used when nothing else
specifies. Empty = no default (callers must choose, or
AI features stay disabled).
object
E.g. gpt-4o, claude-sonnet-4-6
Override for self-hosted / proxied endpoints.
Raw API key (interim — will move to a secrets backend reference). Sent and stored as-is.
Per-kind opaque config (temperature defaults, system prompts, rate limits, …). Integration code owns the schema.
object
Authentication required, missing, or invalid
object
Human-readable error summary
Example
the request could not be completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}Authenticated but missing required capabilities
object
Human-readable error summary
Example
the request could not be completed