Export a scope's events + derived layers as JSONL.
POST /v1/export
Export the full set of events + derived records for a scope. Currently returns the payload inline; the response is bounded to a tenant-configurable max size — for larger exports, page through by time_range.
Stability: beta — export format tracks import.
Request
{
"scope": "org:acme/user:alice",
"format": "jsonl"
}
| Field | Type | Notes |
|---|---|---|
scope | string | Required. |
format | enum | jsonl (default). |
Response
{
"export_id": "exp_01HX...",
"format": "jsonl",
"bytes": 2_481_392,
"data": "<JSONL payload, one record per line>"
}
For large exports the response is async and exposed via GET /v1/export/{export_id} (see lifecycle events export_progress / export_complete).