AIConfigRead
Fields
AI / LLM configuration returned to the client (no API keys).
37 fields
ai_confidence_threshold· required- integer
ai_confidence_threshold_source- string
ai_offline_mode· required- boolean
ai_offline_mode_env_pinned- boolean
ai_offline_mode_source- string
ai_timeout_seconds· required- integer
ai_timeout_seconds_source- string
analysis_mode· required- string
analysis_mode_source- string
anthropic_key_set- boolean
base_url- string or null
deep_investigation_enabled· required- boolean
deep_investigation_enabled_source- string
embedding_index- EmbeddingIndexRead or null
embedding_model· required- string
embedding_provider· required- string
finetune_enabled· required- boolean
finetune_enabled_source- string
google_key_set· required- boolean
knowledge_rag_enabled- boolean
llm_max_tokens· required- integer
llm_model· required- string
llm_provider· required- string
llm_temperature· required- number
ml_human_label_count- integer
ml_human_label_floor- integer
ml_maturity- string
ml_min_training_samples- integer
ml_model_accuracy- number or null
ml_model_available- boolean
ml_training_sample_count- integer
openai_key_set· required- boolean
openrouter_key_set- boolean
rag_faithfulness_evaluator- string
rag_faithfulness_evaluator_effective- string
rag_faithfulness_evaluator_reason- string
rag_faithfulness_gate_enabled- boolean
Raw schema (JSON)
{
"description": "AI / LLM configuration returned to the client (no API keys).",
"properties": {
"ai_confidence_threshold": {
"title": "Ai Confidence Threshold",
"type": "integer"
},
"ai_confidence_threshold_source": {
"default": "env_default",
"title": "Ai Confidence Threshold Source",
"type": "string"
},
"ai_offline_mode": {
"title": "Ai Offline Mode",
"type": "boolean"
},
"ai_offline_mode_env_pinned": {
"default": false,
"title": "Ai Offline Mode Env Pinned",
"type": "boolean"
},
"ai_offline_mode_source": {
"default": "not_offline",
"title": "Ai Offline Mode Source",
"type": "string"
},
"ai_timeout_seconds": {
"title": "Ai Timeout Seconds",
"type": "integer"
},
"ai_timeout_seconds_source": {
"default": "env_default",
"title": "Ai Timeout Seconds Source",
"type": "string"
},
"analysis_mode": {
"title": "Analysis Mode",
"type": "string"
},
"analysis_mode_source": {
"default": "env_default",
"title": "Analysis Mode Source",
"type": "string"
},
"anthropic_key_set": {
"default": false,
"title": "Anthropic Key Set",
"type": "boolean"
},
"base_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Base Url"
},
"deep_investigation_enabled": {
"title": "Deep Investigation Enabled",
"type": "boolean"
},
"deep_investigation_enabled_source": {
"default": "env_default",
"title": "Deep Investigation Enabled Source",
"type": "string"
},
"embedding_index": {
"anyOf": [
{
"$ref": "#/components/schemas/EmbeddingIndexRead"
},
{
"type": "null"
}
]
},
"embedding_model": {
"title": "Embedding Model",
"type": "string"
},
"embedding_provider": {
"title": "Embedding Provider",
"type": "string"
},
"finetune_enabled": {
"title": "Finetune Enabled",
"type": "boolean"
},
"finetune_enabled_source": {
"default": "env_default",
"title": "Finetune Enabled Source",
"type": "string"
},
"google_key_set": {
"title": "Google Key Set",
"type": "boolean"
},
"knowledge_rag_enabled": {
"default": false,
"title": "Knowledge Rag Enabled",
"type": "boolean"
},
"llm_max_tokens": {
"title": "Llm Max Tokens",
"type": "integer"
},
"llm_model": {
"title": "Llm Model",
"type": "string"
},
"llm_provider": {
"title": "Llm Provider",
"type": "string"
},
"llm_temperature": {
"title": "Llm Temperature",
"type": "number"
},
"ml_human_label_count": {
"default": 0,
"title": "Ml Human Label Count",
"type": "integer"
},
"ml_human_label_floor": {
"default": 50,
"title": "Ml Human Label Floor",
"type": "integer"
},
"ml_maturity": {
"default": "not_trained",
"title": "Ml Maturity",
"type": "string"
},
"ml_min_training_samples": {
"default": 200,
"title": "Ml Min Training Samples",
"type": "integer"
},
"ml_model_accuracy": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Ml Model Accuracy"
},
"ml_model_available": {
"default": false,
"title": "Ml Model Available",
"type": "boolean"
},
"ml_training_sample_count": {
"default": 0,
"title": "Ml Training Sample Count",
"type": "integer"
},
"openai_key_set": {
"title": "Openai Key Set",
"type": "boolean"
},
"openrouter_key_set": {
"default": false,
"title": "Openrouter Key Set",
"type": "boolean"
},
"rag_faithfulness_evaluator": {
"default": "ollama",
"title": "Rag Faithfulness Evaluator",
"type": "string"
},
"rag_faithfulness_evaluator_effective": {
"default": "ollama",
"title": "Rag Faithfulness Evaluator Effective",
"type": "string"
},
"rag_faithfulness_evaluator_reason": {
"default": "configured",
"title": "Rag Faithfulness Evaluator Reason",
"type": "string"
},
"rag_faithfulness_gate_enabled": {
"default": false,
"title": "Rag Faithfulness Gate Enabled",
"type": "boolean"
}
},
"required": [
"llm_provider",
"llm_model",
"llm_temperature",
"llm_max_tokens",
"ai_offline_mode",
"embedding_provider",
"embedding_model",
"ai_confidence_threshold",
"ai_timeout_seconds",
"deep_investigation_enabled",
"finetune_enabled",
"openai_key_set",
"google_key_set",
"analysis_mode"
],
"title": "AIConfigRead",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”2 endpoints send or return this schema, on its own or inside another schema.
GET/api/v1/settings/ai— Get Ai ConfigPUT/api/v1/settings/ai— Update Ai Config
Used by schemas
Section titled “Used by schemas”No other schema contains this one.
More details
Section titled “More details”- Specification: OpenAPI JSON