Export memories

⚠️
Preview — this feature is being built; the design below is the spec.
POST https://app.syntic.ai/v1/memory_stores/{store_id}/export

Write memories to a JSONL file in the Files API, one memory per line, for backups or access requests. Download it with Download file content.

For how this fits into a full workflow, see Memory stores.

Headers

HeaderRequiredValue
AuthorizationYesBearer <key>: a private inference key (sk_live_...). See Authentication.
syntic-betaYes, while in previewagents-2026-11-01. Without it the call fails with 400 beta_required. See Versioning.
Content-TypeYesapplication/json

Path parameters

ParameterTypeDescription
store_idstringThe memory store id, starting with mem_.

Body parameters

ParameterTypeRequiredNotes
scopestringNoExport one scope only. Default: the whole store.

Response

202 Accepted, Content-Type: application/json

{
  "file_id": "file_01JCC7E9G1J3L5N7Q9S1",
  "status": "processing",
  "memory_count": 37
}

Large exports finish in the background; the file is processing until it is complete. Poll Get a file.

Examples

curl -sS https://app.syntic.ai/v1/memory_stores/mem_01JC1A3C5E7G9J1L3N5Q/export \
  -H "Authorization: Bearer $SYNTIC_API_KEY" \
  -H "syntic-beta: agents-2026-11-01" \
  -H "Content-Type: application/json" \
  -d '{
      "scope": "customer:4821"
    }'

Errors

Errors use the error envelope and carry a request_id. Codes specific to this operation:

StatustypecodeWhen
400invalid_request_errorbeta_requiredThe syntic-beta header is missing.
404not_found_errormemory_store_not_foundNo store with that id in this workspace.
401authentication_errorinvalid_api_keyThe key is missing, unknown, revoked or expired.
429rate_limit_errorrate_limitedToo many requests; wait for Retry-After. See Rate-limit headers.
Was this page helpful?