Org Admin

Operations of the Memory API. Paths are relative to your deployment's API host.

POST /api/memory-api/org-admin/memory-maintenance/proposals/{proposalId}/revert

Revert a single applied PRUNE / RENAME / SUMMARY_REFRESH mutation. 404 if the proposal is not owned by the caller org.

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
proposalIdpathstring (uuid)yes
StatusDescriptionBody
200application/json MaintenanceProposalResponseDtoDataEnvelope

GET /api/memory-api/org-admin/memory-maintenance/runs

Last N maintenance runs for the caller org.

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
limitquerynumbernoMost-recent-first; defaults to 10.
StatusDescriptionBody
200application/json MaintenanceRunResponseDtoDataArrayEnvelope

POST /api/memory-api/org-admin/memory-maintenance/runs

Start a dry-run or apply maintenance run for the caller org. The org is forced from the verified JWT context.

Authentication: bearer token (Authorization: Bearer <token>)

Request body: application/json OrgAdminStartRunBodyDto

StatusDescriptionBody
201application/json StartMaintenanceRunResponseDtoDataEnvelope

GET /api/memory-api/org-admin/memory-maintenance/runs/{runId}

Single run detail with every proposal it produced. 404 if the run is not owned by the caller org.

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
runIdpathstring (uuid)yes
StatusDescriptionBody
200application/json MaintenanceRunDetailDtoDataEnvelope