title: MngGetAIKnowledgeStatus - Knowledge index state keywords: "ScaleTrade, AI, MngGetAIKnowledgeStatus, knowledge base status, index, failed files" description: State of the in-memory knowledge index: documents, chunks, per-brand breakdown and files that failed to parse. tags: - modules - ai - knowledge
MngGetAIKnowledgeStatus¶
GET ai/knowledge/status
What the running service actually loaded. The knowledge base is files in the module repository, so this is the way to tell whether an edit reached the index.
Access Control¶
Allowed: admin.
Response Data¶
{
"ready": true,
"root": "/srv/sct-ai/knowledge",
"documents": 52,
"chunks": 203,
"loadedAt": "2026-09-17 09:41:12",
"durationMs": 65,
"global": { "documents": 50, "chunks": 199 },
"brands": [ { "brand": "Ion", "documents": 2, "chunks": 4 } ],
"errors": []
}
errors lists files that could not be parsed, with the reason. A non-empty list deserves
a visible marker in the interface: a document with broken front matter drops out of search
silently, and the assistant simply stops citing it.
ready: false means the index is still being built; chat answers with
AI_KNOWLEDGE_NOT_READY until it is done.
Errors¶
| Code | Error | Description |
|---|---|---|
403 |
AI_ACCESS_DENIED |
The session is not an administrator |