workspace

Get Workspace Stats

Get aggregated statistics across all user's contexts.

Returns total memory count and per-context breakdown.

Args: user: Authenticated user from session or API key db: Database session

Returns: WorkspaceStatsResponse with aggregated stats

Example: GET /api/v1/workspace/stats Response: { "total_memories": 150, "context_count": 3, "contexts": [ {"context_id": "...", "context_name": "default", "memory_count": 100}, ... ], "plan_name": "pro" }

get/api/v1/workspace/stats

Request

  • Base URL: https://memory.kagura-ai.com (the document declares no server; this is the origin it was published from)
  • URL: https://memory.kagura-ai.com/api/v1/workspace/stats
  • Auth: none declared

Headers

authorizationstring nullable

Response

Successful Response

total_memoriesinteger required
context_countinteger required
plan_namestring required
unsearchable_memoriesinteger
stalled_memoriesinteger

Changes

No recorded changes to this operation across all 1 revision of this API.