contexts

Export Context

Export a context as portable JSON (Issue #950 — GDPR Art.20 portability).

Returns the context metadata, its search configuration, and every memory visible to the caller — a private context exports only the caller's own memories, a shared context exports every member's, exactly as GET /memory/list scopes them. Vectors, neural edges, and sessions are intentionally omitted: they are regenerated / re-learned on re-import.

This is a context-scoped portability export (anti-lock-in), not a per-user Art.20 subject-access request; a created_by-filtered cross-context export is a planned follow-up, as is workspace-wide export.

Raises: 404: context not found, or the caller lacks read access (uniform — does not reveal whether the context exists in another workspace). 413: the context exceeds the single-export memory cap.

get/api/v1/contexts/{context_id}/export

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/contexts/{context_id}/export
  • Auth: none declared

Path parameters

context_idstring uuid required

Headers

authorizationstring nullable

Response

Successful Response

format_versionunknown
exported_atunknown required
contextunknown required
search_configunknown required
memory_countunknown required
memoriesunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.