> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mka1.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Export your organization's data

> Download one archive of everything your organization owns on the platform, and see what it contains and leaves out.

An organization export is one `.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.

> [!NOTE]
>
> 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

| Requirement | Notes |
| - | - |
| An owner or admin role | Only organization owners and admins can request, list or download exports. Members get `403`. |
| API key scopes | An API key needs `write:org-exports` to request an export and `read:org-exports` to list, read or download. Signed-in console users need only the role. |

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

1. Open **People & settings**, go to the **Settings** tab and click **Open data export** in the **Data export** section.
2. Click **Export organization data**. The page lists your organization's exports with their status and refreshes while one is being built.
3. When the export is ready, open it and click **Download**.

The email you get when an export is ready links to the same export page.

## Request an export

`POST /api/v1/org-exports` starts an export and answers `202` with the export object.

```bash Bash theme={null}
curl -sS -X POST "https://apigw.mka1.com/api/v1/org-exports" \
  -H "Authorization: Bearer <mka1-api-key>"
```

```json theme={null}
{
  "id": "7a1c0c0e-58a4-4c2b-9a53-6f0c2f4f8a11",
  "object": "org_export",
  "org_id": "org_123",
  "status": "pending",
  "requested_by": "user_2b7d1f",
  "created_at": "2026-11-16T12:00:00.000Z",
  "completed_at": null,
  "expires_at": null,
  "size_bytes": null,
  "error": null
}
```

An organization can have one export pending or running at a time. A second request while one is under way gets `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 Bash theme={null}
curl -sS "https://apigw.mka1.com/api/v1/org-exports/7a1c0c0e-58a4-4c2b-9a53-6f0c2f4f8a11" \
  -H "Authorization: Bearer <mka1-api-key>"
```

`GET /api/v1/org-exports` lists your organization's 50 newest exports, newest first, as `{"object": "list", "data": [...]}`.

```bash Bash theme={null}
curl -sS "https://apigw.mka1.com/api/v1/org-exports" \
  -H "Authorization: Bearer <mka1-api-key>"
```

### The export object

| Field | Type | Meaning |
| - | - | - |
| `id` | string | The export's ID, a UUID. |
| `object` | string | Always `org_export`. |
| `org_id` | string | The exported organization, or `*` for a [cluster-wide export](#for-cluster-admins). |
| `status` | string | `pending`, `running`, `completed`, `failed` or `expired`. |
| `requested_by` | string | ID of the user who requested the export. Empty after that user's personal data is erased. |
| `created_at` | string | When the export was requested. |
| `completed_at` | string or null | When the archive was ready. |
| `expires_at` | string or null | When the archive stops being downloadable, 7 days after `completed_at`. |
| `size_bytes` | integer or null | Size of the archive. |
| `error` | string or null | A short code that names why the export failed. |

Timestamps are ISO 8601 strings in UTC.

| `status` | Meaning |
| - | - |
| `pending` | Queued. The build has not started. |
| `running` | The platform is building the archive. |
| `completed` | The archive is ready. `completed_at`, `expires_at` and `size_bytes` are set. |
| `failed` | The export did not finish. `error` holds a code such as `export_owner_rejected`, `export_stream_truncated`, `export_count_mismatch` or `export_upload_failed`. Request a new export. |
| `expired` | The platform deleted the archive. Request a new export if you still need one. |

## 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 Bash theme={null}
curl -sS "https://apigw.mka1.com/api/v1/org-exports/7a1c0c0e-58a4-4c2b-9a53-6f0c2f4f8a11/download" \
  -H "Authorization: Bearer <mka1-api-key>" \
  -o org-export.tar.gz
```

## 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 `failed` with the error `subject_erased`, and completed ones become `expired`.

## For cluster admins

A cluster admin can export other organizations with two query parameters. Anyone else who passes them gets `403`.

| Parameter | Effect |
| - | - |
| `orgId=<org_id>` | Request or list the exports of that organization instead of your own. |
| `scope=cluster` | Request or list cluster-wide exports. One archive holds every organization. |

Passing both, or a `scope` other than `cluster`, gets `400`.

```bash Bash theme={null}
# One organization
curl -sS -X POST "https://apigw.mka1.com/api/v1/org-exports?orgId=org_123" \
  -H "Authorization: Bearer <mka1-api-key>"

# Every organization
curl -sS -X POST "https://apigw.mka1.com/api/v1/org-exports?scope=cluster" \
  -H "Authorization: Bearer <mka1-api-key>"
```

* A cluster admin can read or download any export by its ID. Add `orgId` or `scope=cluster` to 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

```text theme={null}
<service>/<record_type>.jsonl
files/<file_id>
manifest.json
```

* Each service has its own folder: `authentication/`, `gateway/`, `agents/`, `audit/`, `compute/` and `repos/`. `gateway/` is the core API, with models, conversations, responses, files, vector stores, evals and usage.
* Each `.jsonl` file 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 in `gateway/files.jsonl`, byte for byte.
* Timestamps are ISO 8601 strings in UTC.

### `manifest.json`

```json theme={null}
{
  "format_version": 1,
  "export_id": "7a1c0c0e-58a4-4c2b-9a53-6f0c2f4f8a11",
  "org_id": "org_123",
  "created_at": "2026-11-16T12:12:40.000Z",
  "services": {
    "gateway": { "included": true, "counts": { "prompts": 12, "files": 40 } }
  },
  "entries": [
    { "path": "gateway/prompts.jsonl", "bytes": 1234, "sha256": "9f2c..." }
  ],
  "missing_files": [],
  "excluded": ["secrets and credentials: ...", "..."]
}
```

| Field | Meaning |
| - | - |
| `format_version` | Version of the archive format. Currently `1`. |
| `services` | One entry per service. `counts` gives the number of records of each type. |
| `entries` | Every file in the archive except the manifest, with its size in bytes and SHA-256 digest. |
| `missing_files` | IDs of files whose record is in `gateway/files.jsonl` but that have no stored content, either because it no longer exists or because the file never had any. They have no entry under `files/`. |
| `excluded` | A plain-language list of what the archive leaves out. [What's left out](#whats-left-out) explains each item. |

To check the archive after you download it, unpack it and compare every digest:

```bash Bash theme={null}
mkdir org-export && tar -xzf org-export.tar.gz -C org-export && cd org-export
jq -r '.entries[] | "\(.sha256)  \(.path)"' manifest.json | shasum -a 256 -c
```

### Cluster-wide archives

A cluster-wide archive holds the same layout once per organization, under `orgs/<org_id>/`, each with its own `manifest.json`. A top-level `manifest.json` lists the organizations:

```json theme={null}
{
  "format_version": 1,
  "export_id": "7a1c0c0e-58a4-4c2b-9a53-6f0c2f4f8a11",
  "scope": "cluster",
  "created_at": "2026-11-16T12:12:40.000Z",
  "organizations": [
    {
      "org_id": "org_123",
      "status": "active",
      "manifest": { "path": "orgs/org_123/manifest.json", "bytes": 512, "sha256": "9f2c..." },
      "services": { "gateway": { "included": true, "counts": { "prompts": 12 } } }
    }
  ]
}
```

## 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](#whats-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**

| Record type | Contains |
| - | - |
| `user_contexts` | The identities that own the other gateway records |
| `registry_models` | Models and providers registered for your organization, without provider credentials. `baseUrl` and `healthCheck.path` lose any credentials in the URL. |
| `serving_models` | Models registered from your serving deployments, without provider credentials. `baseUrl` and `healthCheck.path` lose any credentials in the URL. |
| `cluster_model_access` | Cluster models granted to your organization |
| `registry_entries` | Models activated for your organization |
| `model_aliases` | Model aliases |
| `model_alias_changes` | History of alias changes |
| `model_prices` | Prices your organization set. The cluster's default prices are not included. |
| `org_token_quotas` | Your organization's token quota |
| `org_budget_enforcement` | What happens when a budget check fails |
| `org_auto_models` | Auto-routing overrides per endpoint |
| `guardrails_settings` | Guardrail settings |
| `guardrails_resource_policy` | Guardrail policies for model endpoints and agents |
| `guardrails_cluster_default_orgs` | Whether the cluster's default guardrails apply to your organization |
| `tool_policies` | Tool policy rules |

**Files, retrieval and memory**

| Record type | Contains |
| - | - |
| `files` | File metadata. The content is in `files/<file_id>`. |
| `vector_stores` | Vector stores |
| `vector_store_embedding_configs` | Embedding settings of each vector store |
| `vector_store_file_batches` | File batches added to vector stores |
| `vector_store_files` | Files attached to each vector store |
| `resource_grants` | Who each vector store is shared with: `resource_type`, `resource_id`, `role` (`reader` or `writer`) and `principal` (a user ID, or `*` for everyone in the organization) |
| `memory_stores` | Memory stores |
| `memory_entries` | Memory entries |

**Conversations, responses and tools**

| Record type | Contains |
| - | - |
| `conversations` | Conversations |
| `conversation_items` | Items of each conversation |
| `responses` | Stored responses with their input, output and tools |
| `chat_completions` | Stored chat completions |
| `mcp_servers` | Registered MCP servers |
| `mcp_tool_approvals` | Tool call approval requests and their decisions |
| `skills` | Skills |
| `skill_versions` | Versions of each skill. The skill bundles are not included. |
| `prompts` | Prompts |
| `prompt_versions` | Versions of each prompt |

**Speech, batches and fine-tuning**

| Record type | Contains |
| - | - |
| `text_to_speech_history` | Text-to-speech requests. The audio is not included. |
| `speech_to_text_history` | Speech-to-text requests and transcripts. The audio is not included. |
| `batches` | Batch jobs. Their input and output files are in `files/`. |
| `fine_tuning_jobs` | Fine-tuning jobs. The fine-tuned model outputs are not included. |
| `fine_tuning_events` | Events of each fine-tuning job |
| `fine_tuning_checkpoints` | Checkpoints of each fine-tuning job |

**Evals**

| Record type | Contains |
| - | - |
| `eval_suites` | Eval suites |
| `eval_suite_versions` | Versions of each suite, with dataset credentials removed |
| `eval_suite_shares` | Shares of your suites with other organizations. Suites other organizations shared with you are not included. |
| `eval_schedules` | Eval schedules |
| `eval_runs` | Eval runs |
| `eval_samples` | Samples of each run |
| `eval_sample_trajectories` | Trajectories of each sample |
| `eval_error_analyses` | Error analyses |
| `eval_run_failed_sample_rerun_snapshots` | Snapshots taken to rerun a run's failed samples |
| `eval_run_failed_sample_rerun_snapshot_samples` | The samples in each rerun snapshot |

**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.

| Record type | Contains | Fields |
| - | - | - |
| `organizations` | Your organization | `id`, `name`, `slug`, `logo`, `status`, `metadata`, `createdAt`, `suspendedAt`, `deletedAt`, `purgeAfter`, `rateLimitEnabled`, `rateLimitTimeWindow`, `rateLimitMax`, `quotaEnabled`, `quotaPeriod`, `quotaMax`, `inboundRulesEnabled`, `inboundRulesUpdatedAt` |
| `teams` | Teams | `id`, `organizationId`, `name`, `memberCount`, `modelAccessConfigured`, `modelAccessModelIds`, `createdAt`, `updatedAt` |
| `members` | Organization memberships and roles | `id`, `organizationId`, `userId`, `role`, `serviceAccountAdmin`, `modelAccessConfigured`, `modelAccessModelIds`, `createdAt` |
| `team_members` | Team memberships and roles | `id`, `teamId`, `userId`, `role`, `createdAt` |
| `users` | Profiles of the people who are members | `id`, `name`, `email`, `emailVerified`, `image`, `twoFactorEnabled`, `createdAt`, `updatedAt` |
| `service_accounts` | Service accounts | `id`, `name`, `createdAt`, `updatedAt` |
| `api_keys` | API key metadata. `start` and `prefix` are the visible beginning of the key, as the console shows it. | `id`, `name`, `start`, `prefix`, `userId`, `userType`, `orgId`, `teamId`, `scopes`, `enabled`, `rateLimitEnabled`, `rateLimitTimeWindow`, `rateLimitMax`, `expiresAt`, `createdAt`, `updatedAt` |
| `invitations` | Invitations of every status | `organizationId`, `email`, `role`, `status`, `teamId`, `inviterId`, `expiresAt`, `createdAt` |
| `sso_providers` | SSO identity providers | `id`, `providerId`, `organizationId`, `issuer`, `domain`, `domainVerified`, `userId` |
| `sso_policies` | SSO policy of each provider | `providerId`, `enabled`, `groupsClaim` |
| `sso_group_role_mappings` | Identity provider groups mapped to roles | `id`, `providerId`, `groupValue`, `role` |
| `inbound_rules` | IP allow rules | `id`, `organizationId`, `cidr`, `description`, `createdAt`, `createdById` |
| `scim_directories` | SCIM directories and their mappings | `id`, `organizationId`, `connectionId`, `providerId`, `mappings`, `createdAt` |

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.

| Record type | Contains |
| - | - |
| `agents` | Agents with their current configuration: `name`, `description`, `model`, `fallbackModels`, `instructions`, `tools`, `toolChoice`, `parallelToolCalls`, `maxToolCalls`, `text`, `reasoning`, `metadata`, `maxConcurrentRuns`, `concurrencyOverflow`, `version`, `createdAt`, `updatedAt`, `deletedAt` and more |
| `agent_versions` | Every saved version of each agent's configuration, with `agentId`, `version` and `restoredFromVersion` |
| `agent_runs` | Runs with their `input`, `conversation`, `status`, `error`, `gatewayResponseId`, `gatewayResponse`, `resolvedTools`, `createdAt` and `completedAt` |
| `agent_schedules` | Schedules with their timing (`scheduleType`, `runAt`, `intervalSeconds`, `cronExpression`, `timezone`), `input` and last-run details |
| `agent_connectors` | Connectors with their `provider`, `providerAccountId`, `providerAccountName`, `config`, `status` and `lastError`. Credentials are not included. |
| `function_tools` | Function tool definitions |
| `openapi_tool_sets` | OpenAPI tool sets with their `definition` and `report` |

Connector message threads and connector events are not included.

### `audit/`

The same rows, with the same fields, that the JSON [audit list exports](https://docs.mka1.com/docs/audit-exports.md) return, without a row limit.

| Record type | Contains | Fields |
| - | - | - |
| `audit_cases` | Audit cases, one per model response | `responseId`, `conversationId`, `userId`, `orgId`, `teamId`, `externalUserId`, `status`, `outcome`, `completeness`, `requestedModel`, `effectiveModel`, `providerId`, `servingLocation`, `guardrailTriggered`, `reviewRequired`, `reviewReason`, `feedbackRating`, `requestPreview`, `outputPreview`, `createdAt`, `updatedAt` |
| `gateway_requests` | API requests as the gateway logged them | `requestId`, `apiKeyId`, `userId`, `userRole`, `userType`, `orgId`, `teamId`, `externalUserId`, `routeName`, `serviceName`, `host`, `method`, `path`, `statusCode`, `startedAt`, `completedAt`, `requestLatencyMs`, `traceId`, `correlationId` |
| `misuse_findings` | Misuse findings | `findingId`, `dedupeKey`, `ruleId`, `ruleVersion`, `orgId`, `teamId`, `userId`, `externalUserId`, `apiKeyId`, `subjectType`, `subjectId`, `windowStart`, `windowEnd`, `observedValue`, `threshold`, `severity`, `status`, `evidence`, `acknowledgedAt`, `acknowledgedBy`, `resolvedAt`, `resolvedBy`, `resolutionNote`, `createdAt`, `updatedAt` |

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](https://docs.mka1.com/docs/audit-exports.md#what-you-can-export). Records your deployment's [audit retention](https://docs.mka1.com/docs/audit-exports.md#retention) already deleted are not in the archive either.

### `compute/`

| Record type | Contains | Fields |
| - | - | - |
| `tenants` | Your organization's Compute enablement and limits | `org_id`, `enabled`, `max_live_jobs`, `max_live_services`, `max_live_service_replicas`, `max_live_volumes`, `created_at`, `updated_at` |
| `resources` | Jobs and services | `id`, `team_id`, `kind`, `name`, `spec`, `state`, `reason`, `exit_code`, `created_at`, `started_at`, `terminal_at`, `updated_at` |
| `events` | Lifecycle events of each resource | `id`, `resource_id`, `type`, `data`, `created_at` |
| `secrets` | Secret metadata only | `id`, `team_id`, `name`, `keys`, `version`, `created_at`, `updated_at`, `expires_at` |
| `volumes` | Standalone volumes | `id`, `team_id`, `name`, `state`, `data`, `failure`, `cleanup_failure`, `stored_bytes`, `stored_bytes_observed_at`, `created_at`, `provisioned_at`, `deleted_at`, `updated_at` |

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:

| Field | Meaning |
| - | - |
| `image` | The container image |
| `command_supplied`, `script_supplied` | Whether the resource had a command or a script. Their contents are not included. |
| `env_names` | Names of the plain environment variables. Their values are not included. |
| `secret_env` | Environment variables read from Compute secrets, as `secret_id` and `key` |
| `ports` | Exposed ports |
| `image_pull_secret` | ID of the secret used to pull the image |
| `registry_credential_supplied` | Whether an inline registry credential was supplied. The credential is not included. |

### `repos/`

| Record type | Contains | Fields |
| - | - | - |
| `repositories` | Repositories, without their contents | `id`, `org_id`, `name`, `path`, `description`, `kind`, `creator`, `created_at` |

`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 Bash theme={null}
jq -r '.path' repos/repositories.jsonl | while read -r repo; do
  git clone "https://git.mka1.com/${repo}.git" "repos-clone/${repo}"
  git -C "repos-clone/${repo}" lfs fetch --all
done
```

The git host takes your org slug as the username and an API key as the password. Set up a credential helper as [Repositories](https://docs.mka1.com/docs/repositories.md) describes, so the key never lands in a remote URL. On a private deployment, use your deployment's git host.

## 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. The `excluded` 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/`](#compute).

**Credentials inside exported values**

* 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 `baseUrl` and `healthCheck.path` of 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's `tools` or an eval run's configuration, lose their `authorization` and `headers`.
* Eval suite versions have `dataset_kwargs` and `data_files` emptied, since they can hold a dataset token and presigned URLs.

Free-form content is exported as stored. A URL or token you wrote into a prompt, a conversation, a response's input, metadata or a batch input file is in the archive.

**Content outside the archive**

* Repository contents. Clone them as shown in [`repos/`](#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_row` can hold an `s3://` reference to imported eval audio.
* Vector indexes and embeddings. Rebuild them from the files.
* Audit case timelines, ledger entries and finding actions. See [`audit/`](#audit).

**Derived data and bookkeeping**

* 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_directories` mappings 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's `missing_files` and nothing is under `files/` for it.
* **IDs are kept.** Records reference each other by their original IDs, for example `user_context_id` in `gateway/` or `agentId` in `agents/`. Nothing rewrites them.

## Leaving the platform

The platform cannot import these archives. To move to another deployment or another provider:

1. Request an export, download it within 7 days and check its digests with the manifest.
2. Clone every repository listed in `repos/repositories.jsonl`, including Git LFS objects.
3. 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.
4. 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.jsonl` lists each secret's name and key names, and `authentication/api_keys.jsonl` lists each key's name and scopes.
5. Load the records you need into the destination. Map the original IDs to the new ones as you go.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.