Skip to main content
GET
Dashboard stats

Authorizations

Authorization
string
header
required

User session JWT or instance API key (iak_*). Send as Authorization: Bearer <token>.

Query Parameters

scope
string

Comma-separated population selector - own, shared, all.

Response

Stats.

Dashboard aggregate for the caller's org scope. The implementation also returns legacy-named superset fields (totalStores, totalDocuments, storageUsedBytes, scope) alongside those below - additive, safe to ignore.

object
enum<string>
required
Available options:
stats
knowledge_bases
integer
Required range: x >= 0
documents
integer
Required range: x >= 0
documents_by_status
object
vectors
integer
Required range: x >= 0
web_sources
integer
Required range: x >= 0
storage_used_bytes
integer

Real aggregate. (The legacy stats.storageUsedBytes was dead code returning 0 - see 09 §B2 - fixed when porting.)

Required range: x >= 0