AIConfigUpdate
Fields
Payload for updating AI configuration. None = keep existing.
19 fields
ai_confidence_threshold- integer or null
ai_offline_mode- boolean or null
ai_timeout_seconds- integer or null
analysis_mode- string or null
anthropic_api_key- string or null
base_url- string or null
deep_investigation_enabled- boolean or null
embedding_model- string or null
embedding_provider- string or null
finetune_enabled- boolean or null
google_api_key- string or null
knowledge_rag_enabled- boolean or null
llm_max_tokens- integer or null
llm_model- string or null
llm_provider- string or null
llm_temperature- number or null
openai_api_key- string or null
openrouter_api_key- string or null
rag_faithfulness_evaluator- string or null
Raw schema (JSON)
{
"description": "Payload for updating AI configuration. None = keep existing.",
"properties": {
"ai_confidence_threshold": {
"anyOf": [
{
"maximum": 100,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"title": "Ai Confidence Threshold"
},
"ai_offline_mode": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Ai Offline Mode"
},
"ai_timeout_seconds": {
"anyOf": [
{
"maximum": 1800,
"minimum": 5,
"type": "integer"
},
{
"type": "null"
}
],
"title": "Ai Timeout Seconds"
},
"analysis_mode": {
"anyOf": [
{
"pattern": "^(llm|ml|rules|auto)$",
"type": "string"
},
{
"type": "null"
}
],
"title": "Analysis Mode"
},
"anthropic_api_key": {
"anyOf": [
{
"maxLength": 500,
"type": "string"
},
{
"type": "null"
}
],
"title": "Anthropic Api Key"
},
"base_url": {
"anyOf": [
{
"maxLength": 500,
"type": "string"
},
{
"type": "null"
}
],
"title": "Base Url"
},
"deep_investigation_enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Deep Investigation Enabled"
},
"embedding_model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Embedding Model"
},
"embedding_provider": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Embedding Provider"
},
"finetune_enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Finetune Enabled"
},
"google_api_key": {
"anyOf": [
{
"maxLength": 500,
"type": "string"
},
{
"type": "null"
}
],
"title": "Google Api Key"
},
"knowledge_rag_enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Knowledge Rag Enabled"
},
"llm_max_tokens": {
"anyOf": [
{
"maximum": 32768,
"minimum": 256,
"type": "integer"
},
{
"type": "null"
}
],
"title": "Llm Max Tokens"
},
"llm_model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Llm Model"
},
"llm_provider": {
"anyOf": [
{
"pattern": "^(ollama|lmstudio|localai|vllm|openai|gemini|anthropic|openrouter)$",
"type": "string"
},
{
"type": "null"
}
],
"title": "Llm Provider"
},
"llm_temperature": {
"anyOf": [
{
"maximum": 2,
"minimum": 0,
"type": "number"
},
{
"type": "null"
}
],
"title": "Llm Temperature"
},
"openai_api_key": {
"anyOf": [
{
"maxLength": 500,
"type": "string"
},
{
"type": "null"
}
],
"title": "Openai Api Key"
},
"openrouter_api_key": {
"anyOf": [
{
"maxLength": 500,
"type": "string"
},
{
"type": "null"
}
],
"title": "Openrouter Api Key"
},
"rag_faithfulness_evaluator": {
"anyOf": [
{
"pattern": "^(ollama|ragas)$",
"type": "string"
},
{
"type": "null"
}
],
"title": "Rag Faithfulness Evaluator"
}
},
"title": "AIConfigUpdate",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”One endpoint sends or returns this schema, on its own or inside another schema.
PUT/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