contexts

Get Memory Usage Stats

Get per-memory recall statistics for a context.

Issue #83: Memory usage stats for context cleanup workflows. Supports sorting by access_count, reference_count, importance, created_at, last_used_at (issue #1046 replaced the dead use_count sort with the adoption-signal reference_count; default sort moved to access_count).

get/api/v1/contexts/{context_id}/memory-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/contexts/{context_id}/memory-stats
  • Auth: none declared

Path parameters

context_idstring uuid required

Query parameters

sort_bystring

Sort field

sort_orderstring

Sort order: asc or desc

limitinteger
offsetinteger

Headers

authorizationstring nullable

Response

Successful Response

totalinteger required
sort_bystring required
sort_orderstring required

Changes

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