API referenceKnowledge
Get Stats
GET
Get overall knowledge base statistics.
Required scope: knowledge:read
header
AuthorizationBearer <luso8_sk_live_<40 characters>>A workspace API key, sent as Authorization: Bearer <key>. Create keys in Settings → Developers → API keys.
Successful Response
application/json- response
total_folders*Total Folderstotal_documents*Total Documentstotal_chunks*Total Chunksdocuments_by_type*documents_by_status*storage_used_bytes*Storage Used Bytescurl -X GET 'https://api.luso8.rexplore.ai/api/v1/knowledge/stats'Example Response
{ "total_folders": 0, "total_documents": 0, "total_chunks": 0, "documents_by_type": { "property1": 0, "property2": 0 }, "documents_by_status": { "property1": 0, "property2": 0 }, "storage_used_bytes": 0}