Propose a comprehensive (multi-task retro) closeout memory for review.
const url = 'https://example.com/api/memories/reviews/comprehensive';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"limit":1,"project_id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","task_ids":["2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"]}'};
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/comprehensive \ --header 'Content-Type: application/json' \ --data '{ "limit": 1, "project_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "task_ids": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ] }'Propose a comprehensive (multi-task retro) closeout memory for review.
Request Bodyrequired
Section titled “Request Bodyrequired”#708 C2 (CO-3) — request for the Tier-3 COMPREHENSIVE (multi-task retro) closeout.
object
How many recent outcomes to consider. The proposer clamps to its own window
(MAX_MERGED_OUTCOMES); omitted defaults to that window.
Scope the retro to ONE project’s recent outcomes (proposed_project_id on the
filed record); omitted = the whole workspace.
03.09.2026 — retro over exactly THESE tasks (workspace-pinned; a foreign or
unknown id simply yields nothing). Until now a retro could only take “the N
most recent”, so a measured constellation could not be selected once newer
outcomes existed; limit still caps the window. At most MAX_TASK_IDS ids.
Example generated
{ "limit": 1, "project_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "task_ids": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ]}Responses
Section titled “Responses”Comprehensive closeout proposal result
#708 C2 (CO-3) — the result of a comprehensive-closeout proposal. status is one
of proposed | not_enough_outcomes | synthesis_unavailable; item is the created
review row on proposed; reason names the degraded-synthesis cause otherwise.
object
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.
Example generated
{ "item": { "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" }, "reason": "example", "status": "example"}Structured client error
The canonical JSON body of every error response. Every AppError serializes as
this exact shape; code is the generated stable machine-readable vocabulary.
object
Present only on an MCP budget refusal (429) — the refusing layer + retry hint.
object
The refusing layer.
The layer’s budget.
Seconds until a retry can pass, or null when it never will for this session.
Calls already counted in the layer.
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).
Present on a launch refusal (400/403/409) — the structured facts only the refusing class can fill: occupancy, exhausted budget, or required labels.
object
Weighted workspace slots already held by starting/running agent runs.
The budget cap that refused.
Effective spend of the refusing budget scope (spend + in-flight reservations).
The workspace’s configured agent-concurrency cap.
The provider whose budget cap refused; absent for the workspace-wide cap.
Runner labels a fail-policy placement required and no runner offered.
Example
{ "code": "not_found"}Authentication required
The canonical JSON body of every error response. Every AppError serializes as
this exact shape; code is the generated stable machine-readable vocabulary.
object
Present only on an MCP budget refusal (429) — the refusing layer + retry hint.
object
The refusing layer.
The layer’s budget.
Seconds until a retry can pass, or null when it never will for this session.
Calls already counted in the layer.
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).
Present on a launch refusal (400/403/409) — the structured facts only the refusing class can fill: occupancy, exhausted budget, or required labels.
object
Weighted workspace slots already held by starting/running agent runs.
The budget cap that refused.
Effective spend of the refusing budget scope (spend + in-flight reservations).
The workspace’s configured agent-concurrency cap.
The provider whose budget cap refused; absent for the workspace-wide cap.
Runner labels a fail-policy placement required and no runner offered.
Example
{ "code": "not_found"}Permission denied (admin + autonomy floor)
The canonical JSON body of every error response. Every AppError serializes as
this exact shape; code is the generated stable machine-readable vocabulary.
object
Present only on an MCP budget refusal (429) — the refusing layer + retry hint.
object
The refusing layer.
The layer’s budget.
Seconds until a retry can pass, or null when it never will for this session.
Calls already counted in the layer.
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).
Present on a launch refusal (400/403/409) — the structured facts only the refusing class can fill: occupancy, exhausted budget, or required labels.
object
Weighted workspace slots already held by starting/running agent runs.
The budget cap that refused.
Effective spend of the refusing budget scope (spend + in-flight reservations).
The workspace’s configured agent-concurrency cap.
The provider whose budget cap refused; absent for the workspace-wide cap.
Runner labels a fail-policy placement required and no runner offered.
Example
{ "code": "not_found"}Structured server error
The canonical JSON body of every error response. Every AppError serializes as
this exact shape; code is the generated stable machine-readable vocabulary.
object
Present only on an MCP budget refusal (429) — the refusing layer + retry hint.
object
The refusing layer.
The layer’s budget.
Seconds until a retry can pass, or null when it never will for this session.
Calls already counted in the layer.
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).
Present on a launch refusal (400/403/409) — the structured facts only the refusing class can fill: occupancy, exhausted budget, or required labels.
object
Weighted workspace slots already held by starting/running agent runs.
The budget cap that refused.
Effective spend of the refusing budget scope (spend + in-flight reservations).
The workspace’s configured agent-concurrency cap.
The provider whose budget cap refused; absent for the workspace-wide cap.
Runner labels a fail-policy placement required and no runner offered.
Example
{ "code": "not_found"}