Download an export
⚠️
Preview — this feature is being built; the design below is the spec.
GET https://app.syntic.ai/v1/compliance/exports/{export_id}/contentDownload a finished export. Each download is itself recorded as a compliance.export_downloaded activity.
For how this fits into a full workflow, see Compliance API.
Headers
| Header | Required | Value |
|---|---|---|
Authorization | Yes | Bearer <admin key>: an Admin API key (sk_admin_...) that carries the compliance:read scope (plus compliance:write for deletions and holds). Enterprise plans only. See Compliance API. |
syntic-beta | Yes, while in preview | compliance-2026-12-01. Without it the call fails with 400 beta_required. See Versioning. |
Path parameters
| Parameter | Type | Description |
|---|---|---|
export_id | string | The export id, starting with cexp_. |
Query parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
part | integer | 1 | For multi-part exports. |
Response
200 OK
The body is the file: application/x-ndjson for jsonl, application/zip for zip. 409 export_not_ready while it is still running.
Examples
curl -sS "https://app.syntic.ai/v1/compliance/exports/cexp_01JCS5T7V9X1Z3B5D7F9/content" \
-H "Authorization: Bearer $SYNTIC_ADMIN_KEY" \
-H "syntic-beta: compliance-2026-12-01" \
-o output.binErrors
Errors use the error envelope and carry a request_id. Codes specific to this operation:
| Status | type | code | When |
|---|---|---|---|
| 400 | invalid_request_error | beta_required | The syntic-beta header is missing. |
| 409 | conflict_error | export_not_ready | The export has not finished. |
| 410 | invalid_request_error | export_expired | The download window has passed; create the export again. |
| 404 | not_found_error | export_not_found | No export with this id. |
| 401 | authentication_error | invalid_api_key | The admin key is missing, unknown, revoked or expired. |
| 403 | permission_error | admin_key_required | An inference key was used. |
| 403 | permission_error | scope_missing | The admin key lacks the compliance:read (or, for writes, compliance:write) scope. |
| 429 | rate_limit_error | rate_limited | Too many requests; wait for Retry-After. See Rate-limit headers. |
Was this page helpful?