.tar.gz archive of everything your organization owns on the platform: identity and access records, models and settings, conversations and responses, files and their contents, agents, audit records, Compute resources and repositories. The platform builds it in the background and emails your organization’s owners and admins when it is ready.
Use it to keep your own copy of your data or to review what the platform stores about your organization. There is no import, so you cannot load an archive back into the platform.
If organization exports are not enabled for your deployment, every route on this page answers
404. The SDKs and the CLI do not cover these routes yet. Use the console or the HTTP API shown below.Requirements
An export covers the organization the caller belongs to. Requests made on behalf of an end user, with an exchanged token or
X-On-Behalf-Of, get 403.
Export from the console
- Open People & settings, go to the Settings tab and click Open data export in the Data export section.
- Click Export organization data. The page lists your organization’s exports with their status and refreshes while one is being built.
- When the export is ready, open it and click Download.
Request an export
POST /api/v1/org-exports starts an export and answers 202 with the export object.
Bash
409.
Check an export
Read one export to check its status. A large organization can take a while, so poll this route instead of waiting on the request.Bash
GET /api/v1/org-exports lists your organization’s 50 newest exports, newest first, as {"object": "list", "data": [...]}.
Bash
The export object
Timestamps are ISO 8601 strings in UTC.
Download the archive
GET /api/v1/org-exports/{id}/download returns the archive as application/gzip, with the file name org-export-<id>.tar.gz. It answers 409 until the export is completed, and again once it has expired.
Bash
Email and retention
- When the archive is ready and your deployment sends email, every owner and admin of the organization gets an email. It links to the export’s page in the console and never contains the archive or a storage link.
- The archive stays downloadable for 7 days after it completes. Then the platform deletes it and the export’s status becomes
expired. - If a member of your organization has their personal data erased, the platform deletes every export archive of the organization, since each one holds a copy of that member’s data. Exports still pending or running become
failedwith the errorsubject_erased, and completed ones becomeexpired.
For cluster admins
A cluster admin can export other organizations with two query parameters. Anyone else who passes them gets403.
Passing both, or a
scope other than cluster, gets 400.
Bash
- A cluster admin can read or download any export by its ID. Add
orgIdorscope=clusterto limit the lookup to that organization or to the cluster-wide exports. - The exported organization’s owners and admins do not see an export a cluster admin requested. It does not appear in their list, and it does not count toward their one export at a time.
- The email goes to the owners and admins of the Cluster organization only.
- One cluster admin export per organization, and one cluster-wide export, can be pending or running at a time. A second request gets
409. - A cluster-wide export has the
org_id*.
Archive layout
- Each service has its own folder:
authentication/,gateway/,agents/,audit/,compute/andrepos/.gateway/is the core API, with models, conversations, responses, files, vector stores, evals and usage. - Each
.jsonlfile is JSON Lines, one record per line, with its original IDs. A record type with no records has no file. files/<file_id>is the stored content of each file ingateway/files.jsonl, byte for byte.- Timestamps are ISO 8601 strings in UTC.
manifest.json
To check the archive after you download it, unpack it and compare every digest:
Bash
Cluster-wide archives
A cluster-wide archive holds the same layout once per organization, underorgs/<org_id>/, each with its own manifest.json. A top-level manifest.json lists the organizations:
What’s in each folder
Field names follow each service’s own convention.gateway/, compute/ and repos/ use snake_case. authentication/, agents/ and audit/ use camelCase.
gateway/
Each record carries every stored field of its type, named in snake_case, apart from the fields listed under What’s left out. In gateway/ only, 64-bit integers and decimals, such as cost_nano, are strings. Soft-deleted records are included with their deleted_at.
Most records belong to a user context through user_context_id. A user context is one combination of user, team, API key ID and end user that created records. The API key field holds the key’s ID, never the key.
Organization, models and settings
Files, retrieval and memory
Conversations, responses and tools
Speech, batches and fine-tuning
Evals
Usage
One record per billable request, with the model, token counts and cost:
embeddings_usage, moderations_usage, images_usage, audio_speeches_usage, audio_transcriptions_usage, conversations_usage, extract_usage, classify_usage, decisions_usage, vector_stores_usage, files_usage, unstored_response_usage, web_search_usage and rerank_usage. Hourly and daily rollups are not included, since you can recompute them from these records.
authentication/
Each record carries only the fields listed here.
Invitations have no
id, because an invitation’s ID is its acceptance link.
agents/
Each record carries every stored field of its type, named in camelCase. Every record has orgId, teamId, userId, userType, apiKeyId, orgRole and scopes, which identify who created it.
Connector message threads and connector events are not included.
audit/
The same rows, with the same fields, that the JSON audit list exports return, without a row limit.
Case timelines, ledger entries and the actions taken on findings are not in the archive. Export them one at a time with the single-case and single-finding exports. Records your deployment’s audit retention already deleted are not in the archive either.
compute/
A resource’s
spec uses the create request’s field names, with these parts: compute, placement, container, service, access, limits and volumes. Its container reports what you supplied without the values that can hold secrets:
repos/
path is <org slug>/<name>, the part of the clone URL after the git host. It is missing only when your organization has no slug on record. kind is null for a repository with no type, and creator is the creating user’s ID or null. Clone each repository with git to get its history and files. You need git and git-lfs installed.
Bash
What’s left out
The platform removes stored credentials and the credential fields listed below. Secrets you embedded in your own content, such as prompts, uploaded files, batch inputs or scripts in conversation text, are exported as stored. The archive also leaves out content that lives outside the platform’s databases, and internal bookkeeping. Theexcluded list in manifest.json summarizes the same items.
Secrets and credentials
- Password hashes, sessions, two-factor secrets and short-lived sign-in codes.
- API key secrets and hashes. You get each key’s metadata only.
- Provider credentials of registry and serving models.
- MCP server credentials, MCP OAuth client secrets and in-progress OAuth state.
- Webhook signing secrets of responses and eval schedules.
- Agent connector credentials.
- SSO provider configuration, which holds client secrets and signing keys, and the token digests of SCIM connections.
- Compute secret values. You get each secret’s name and key names.
- Compute command and script contents, plain environment variable values, and inline registry credentials. See
compute/.
- URLs you supplied to reach an external system keep scheme, host, port and path only. The user name, password, query string and fragment are dropped. This applies to MCP server URLs, the OAuth authorization URL, token URL and each redirect URI of an MCP server, response and eval schedule webhook URLs, the
baseUrlandhealthCheck.pathof model definitions, and MCP server URLs stored in agents, agent versions and agent runs. A relative health-check path keeps everything before its query string. - MCP tool definitions stored inside JSON, such as a response’s
tools, an agent’stoolsor an eval run’s configuration, lose theirauthorizationandheaders. - Eval suite versions have
dataset_kwargsanddata_filesemptied, since they can hold a dataset token and presigned URLs.
- Repository contents. Clone them as shown in
repos/. - Compute volume contents and workload logs.
- Speech audio, skill bundles, fine-tuned model outputs and eval trial logs stored outside the database. Their records are exported; their bytes are not.
- Imported eval audio. Neither its records nor its bytes are exported, though eval samples can still reference it (see below).
- The storage location fields of files, speech history, skill versions and fine-tuning outputs, and the storage pointer of eval trial logs. Other storage references inside exported values stay: an eval sample’s
dataset_rowcan hold ans3://reference to imported eval audio. - Vector indexes and embeddings. Rebuild them from the files.
- Audit case timelines, ledger entries and finding actions. See
audit/.
- Usage rollups, which are derived from the exported usage records.
- Cluster-wide settings and cluster default model prices.
- Users and groups synced from your identity provider through SCIM, and SCIM sync bookkeeping. The
scim_directoriesmappings are exported. - Sharing grants of anything other than vector stores. Conversations, responses, files and skills belong to the user context on their record.
- Eval suites other organizations shared with you.
- Owner key recovery requests, which are cluster operator records.
- Internal records such as write locks, data-erasure bookkeeping, delivery queues and the exports themselves.
Limits
- Not a point-in-time snapshot. The platform reads each service in turn while your organization keeps working. A record created during the build can appear in one service’s folder and not in another’s.
- Rebuilt from the start if interrupted. If a build fails partway, the platform starts it over. A build gets 3 attempts of up to 6 hours each, or 24 hours for a cluster-wide export. After the third failed attempt the export is
failed. An attempt also fails if a service sends no data for five minutes, or sends a single record larger than 32 MiB. - Missing file content. A file whose stored content is gone, or that never had any, still has its record in
gateway/files.jsonl. Its ID is listed in the manifest’smissing_filesand nothing is underfiles/for it. - IDs are kept. Records reference each other by their original IDs, for example
user_context_idingateway/oragentIdinagents/. Nothing rewrites them.
Leaving the platform
The platform cannot import these archives. To move to another deployment or another provider:- Request an export, download it within 7 days and check its digests with the manifest.
- Clone every repository listed in
repos/repositories.jsonl, including Git LFS objects. - Save any content the archive leaves out that you still need, such as Compute volume contents, fine-tuned model outputs or per-case audit timelines, through the feature’s own API or console page.
- Re-create every secret and key in the destination, since the archive holds no stored credentials. Check your own content too: a secret you wrote into a prompt, file or batch input is in the archive as you wrote it. That covers model provider keys, MCP server credentials, webhook secrets, agent connector credentials, SSO and SCIM configuration, Compute secrets, and new API keys for your callers. The archive tells you what existed:
compute/secrets.jsonllists each secret’s name and key names, andauthentication/api_keys.jsonllists each key’s name and scopes. - Load the records you need into the destination. Map the original IDs to the new ones as you go.