Skip to main content
GET
/
agents
/
{agent_id}
/
knowledge
/
stats
Get Knowledge Base Stats
curl --request GET \
  --url https://api.example.com/agents/{agent_id}/knowledge/stats \
  --header 'Authorization: Bearer <token>'
{
  "agent_id": "<string>",
  "current_kb_version": "<string>",
  "chunk_count": 123,
  "status": "<string>",
  "document_count": 123,
  "last_updated": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.mrassistant.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agent_id
string<uuid>
required

Response

Successful Response

Response for knowledge base statistics.

agent_id
string
required
current_kb_version
string
required
chunk_count
integer
required
status
string
required
document_count
integer | null
last_updated
string | null