---
title: "Per-context memory-health report (self-diagnosis)"
method: GET
path: "/api/v1/admin/memory-health"
tags: ["admin-memory-health"]
---

# Per-context memory-health report (self-diagnosis)

`GET /api/v1/admin/memory-health`

## 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/admin/memory-health`
- Auth: none declared

Build the thresholded health document(s) for the calling admin.

Sections: consolidation (judge health, merge audit, soft-delete
backlog), graph (edge composition, weight invariant, cold-graph
check), retrieval (usage volume, config posture). Label-free signals
only — gold-label rates (stale_only, P@k) live in the #1210 eval
gates, not here.

## Query parameters

- `context_id` union: Omit for the per-context breakdown. Pass a context UUID for that context's 3-section detail (must be owned by the caller — otherwise 404), or the sentinel 'unattributed' for signals recorded without a context.
  - string, uuid
  - 'unattributed'

## Response `200`

Successful Response

- union
  - MemoryHealthBreakdownResponse: 200 response for GET /admin/memory-health (no context_id).
    - `generated_at` string, required
    - `overall_status` 'ok' | 'warn' | 'fail', required
    - `contexts` MemoryHealthContextEntry[], required
      - `context_id` string, nullable, required
      - `name` string, nullable, required
      - `overall_status` 'ok' | 'warn' | 'fail', required
      - `sections` object, required
  - MemoryHealthDetailResponse: 200 response for GET /admin/memory-health?context_id=...
    - `generated_at` string, required
    - `context_id` string, nullable, required
    - `context_name` string, nullable, required
    - `overall_status` 'ok' | 'warn' | 'fail', required
    - `sections` object, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud.md) · [All operations](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/revisions/09f17f5ada29?raw)
