Skip to main content
These management routes operate on an external_user_id inside the authenticated tenant. Authorize the request in your own application first; do not expose a tenant credential or arbitrary owner selection to browser clients. URL-encode the owner ID when constructing paths.

Export memory data

The tenant-key path requires admin permission. No request body is required.
The JSON envelope contains data, request_id and timestamp. Its data contains: Each memory includes id, content, category, importance_score, confidence, is_archived, created_at, updated_at and versions. Each version includes id, memory_id, version_number, content, category, importance_score, confidence, change_type, change_reason, changed_by and created_at. This is a memory/history export, not a promise that every internal table, raw conversation, external agent copy or backup is included. Keep exports private. Unknown owners return 404 PRX_404. The per-owner export control allows one request per 24-hour rate window; an exceeded limit returns 429 EXP_429 with details.retry_after_seconds. Other key/tenant limits may also apply. Do not continuously retry exports.

Delete the owner’s memory data

This is a destructive operation. Use a separate authorized cleanup workflow and confirm the intended owner. No request body is required.
The response data contains deleted (boolean) and memories_removed (integer), plus the standard request_id and timestamp. Receipt/job deletion ends the corresponding replay protection; it is not a permanent duplicate-prevention promise. Deletion does not recall copies already stored by client applications. This page describes the API operation, not a legal-compliance certification or a verified backup-erasure guarantee. Check authentication, history and your own retention/export policies.