Propose a memory review item (create, update, supersede, archive, ...).
const url = 'https://example.com/api/memories/reviews';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"action":"example","confidence":1,"evidence":"example","importance":1,"kind":"example","pinned":true,"project_id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","reason":"example","related_memory_id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","scope":"example","source_id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","source_type":"example","target_memory_id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","text":"example","title":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/memories/reviews \ --header 'Content-Type: application/json' \ --data '{ "action": "example", "confidence": 1, "evidence": "example", "importance": 1, "kind": "example", "pinned": true, "project_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "reason": "example", "related_memory_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "scope": "example", "source_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "source_type": "example", "target_memory_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "text": "example", "title": "example" }'Request Bodyrequired
Section titled “Request Bodyrequired”object
#1392 — the producer’s confidence in this proposal, 0..1. A producer with an
honest signal (the council judge’s judge_confidence) sets it; a producer with
none leaves it None, which stores NULL and renders “Unknown” in the review
detail. Never fabricated from importance.
#903 — an optional short TITLE for the proposal, rendered as the inbox row label. Absent keeps the pre-#903 shape (the frontend falls back to the evidence’s task title, then to a text snippet).
Examplegenerated
{ "action": "example", "confidence": 1, "evidence": "example", "importance": 1, "kind": "example", "pinned": true, "project_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "reason": "example", "related_memory_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "scope": "example", "source_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "source_type": "example", "target_memory_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "text": "example", "title": "example"}Responses
Section titled “Responses”Newly proposed memory review item
object
#1392 — the producer’s CONFIDENCE in this proposal, 0..1, or NULL when the
producer has no honest signal (closeout reports, outcome-heuristic candidates,
agent/manual proposals that name none). Council candidates carry the judge’s
own judge_confidence. Distinct from proposed_importance: importance says how
much a memory matters, confidence says how sure the producer is. The review
detail renders the value, or an explicit “Unknown” when this is NULL.
#903 — the proposal’s own short TITLE (“Closeout: proposed_text,
which is the agent’s summary — so every row read as a sentence fragment.
NULL on pre-#903 rows; the frontend then falls back to the closeout evidence’s
task title and finally to the text snippet.
Examplegenerated
{ "action": "example", "applied_memory_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "created_at": "2026-04-15T12:00:00Z", "created_by": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "evidence": "example", "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "proposed_confidence": 1, "proposed_importance": 1, "proposed_memory_kind": "example", "proposed_pinned": true, "proposed_project_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "proposed_scope": "example", "proposed_text": "example", "proposed_title": "example", "reason": "example", "related_memory_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "reviewed_at": "2026-04-15T12:00:00Z", "reviewed_by": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "source_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "source_type": "example", "status": "example", "target_memory_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "updated_at": "2026-04-15T12:00:00Z", "workspace_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Structured client error
The canonical JSON body of every error response — the single source of truth
the frontend binds to. Every AppError serializes as this exact shape, and
the generated OpenAPI component ApiErrorBody (with its ErrorCode enum) is
what the frontend error schema is generated from, so there is no hand-written
error schema on either end.
object
Machine-readable, stable error code.
Present only on a quota-exceeded 403 — the inline upgrade-CTA payload.
object
The entitlement feature key that was hit, e.g. apps.max_count.
The plan’s limit for this key.
Where to send the user to upgrade.
Current usage (count or bytes, per the key).
Human-readable message (the server’s English text; the client may localize
by code).
Example
{ "code": "not_found"}Authentication required
The canonical JSON body of every error response — the single source of truth
the frontend binds to. Every AppError serializes as this exact shape, and
the generated OpenAPI component ApiErrorBody (with its ErrorCode enum) is
what the frontend error schema is generated from, so there is no hand-written
error schema on either end.
object
Machine-readable, stable error code.
Present only on a quota-exceeded 403 — the inline upgrade-CTA payload.
object
The entitlement feature key that was hit, e.g. apps.max_count.
The plan’s limit for this key.
Where to send the user to upgrade.
Current usage (count or bytes, per the key).
Human-readable message (the server’s English text; the client may localize
by code).
Example
{ "code": "not_found"}Permission denied
The canonical JSON body of every error response — the single source of truth
the frontend binds to. Every AppError serializes as this exact shape, and
the generated OpenAPI component ApiErrorBody (with its ErrorCode enum) is
what the frontend error schema is generated from, so there is no hand-written
error schema on either end.
object
Machine-readable, stable error code.
Present only on a quota-exceeded 403 — the inline upgrade-CTA payload.
object
The entitlement feature key that was hit, e.g. apps.max_count.
The plan’s limit for this key.
Where to send the user to upgrade.
Current usage (count or bytes, per the key).
Human-readable message (the server’s English text; the client may localize
by code).
Example
{ "code": "not_found"}Structured server error
The canonical JSON body of every error response — the single source of truth
the frontend binds to. Every AppError serializes as this exact shape, and
the generated OpenAPI component ApiErrorBody (with its ErrorCode enum) is
what the frontend error schema is generated from, so there is no hand-written
error schema on either end.
object
Machine-readable, stable error code.
Present only on a quota-exceeded 403 — the inline upgrade-CTA payload.
object
The entitlement feature key that was hit, e.g. apps.max_count.
The plan’s limit for this key.
Where to send the user to upgrade.
Current usage (count or bytes, per the key).
Human-readable message (the server’s English text; the client may localize
by code).
Example
{ "code": "not_found"}