Generated from the live OpenAPI document — 2026-10-19.The export guide explains this surface in context.All routes require Authorization: Bearer atamaia_… and return ApiEnvelope<T>({ ok, requestId, data, error, errorCode, count, hint }); the schemas below show thedata payload. * marks required properties.
See also: Importing Chat History · Provider Independence & Portability
Operations
| Method | Path | Summary / body | Responses |
|---|---|---|---|
| GET | /api/export/chatsession/{sessionId}/dti | Download one chat session as a DTI AI Conversation History document (schemas.pub/schemas/24). Session ownership is the gate. | 200 |
| GET | /api/export/identity/{identityId} | Download an identity's whole memory store as a ZIP archive. Needs ExportData plus identity access (self or steward). | 200 |
| GET | /api/export/identity/{identityId}/portable | The same store in Konshus AI Memory Portability Standard v0.1 JSON (atoms + artifacts) — the open interchange shape any v0.1-speaking tool can read. | 200 |
| GET | /api/export/manifest | What an export would contain, without the bytes. Pass identityId for one identity's manifest; omit for the tenant-wide manifest. | 200 ExportManifest |
| GET | /api/export/tenant | Download every identity in the tenant as a single ZIP. Gated by ExportData alone — a whole-tenant operation by design. | 200 |
Schemas
Request and response shapes referenced by the operations above. Nested types named here are also defined under their own group or inthe group index.
ExportManifest
| Property | Type | Description |
|---|---|---|
| version* | string | |
| exportedAtUtc* | date-time | |
| identityCount* | int32 | |
| memoryCount* | int32 | |
| hebbianLinkCount* | int32 | |
| factCount* | int32 | |
| projectCount* | int32 | |
| taskCount* | int32 | |
| docCount* | int32 | |
| messageCount* | int32 | |
| chatSessionCount* | int32 | |
| reflectionCount* | int32 | |
| trainingPairCount* | int32 | |
| handoffCount* | int32 | |
| hintCount* | int32 | |
| agentRunCount* | int32 | |
| graphNodeCount* | int32 | |
| graphEdgeCount* | int32 | |
| agentEventCount* | int32 |