---
title: "Export an ATLAS branch package"
method: POST
path: "/atlas/branch/export"
tags: ["atlas"]
---

# Export an ATLAS branch package

`POST /atlas/branch/export`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/atlas/branch/export`
- Auth: HTTP bearer

Serializes a branch package (parent scene, hypothesis, delta state, and outcome projections)
and returns it as an `ExportAdapterResult`. Requires operator+ role.
Gated by the `ENABLE_ATLAS_SPATIAL_RUNTIME` feature flag — returns `503 FEATURE_DISABLED`
when the flag is off. Rate limited to 60 requests per minute per client.

## Request body

- AtlasBranchPackageInput
  - `parentSceneId` string, required: ID of the parent scene this branch derives from.
  - `branchId` string, required: Unique identifier for this branch.
  - `branchLabel` string: Human-readable label; defaults to `branchId`.
  - `domain` string
  - `branchedAt` string, date-time: ISO-8601 timestamp; defaults to now.
  - `hypothesis` string, required: Description of the scenario or hypothesis being explored.
  - `deltaState` object: Map of state changes relative to the parent scene.
  - `outcomeProjections` object[]
    - `label` string, required
    - `probability` number, required
    - `impact` string, required
    - `metrics` object, required
  - `approvedBy` string, nullable
  - `correlationId` string, nullable
  - `metadata` object

## Response `200`

Branch package exported successfully.

- ExportAdapterResult: Standard ATLAS export adapter envelope returned directly as the 200 response body by all ATLAS export endpoints (no outer wrapper).
  - `format` string, required: Output format identifier (e.g. `atlas.scene-snapshot.v1`, `atlas.openusd.v1`).
  - `payload` unknown, required
  - `sizeEstimateBytes` integer: Estimated payload size in bytes.
  - `generatedAt` string, date-time, required: ISO-8601 timestamp when the export was generated.
  - `adapterVersion` string, required: Version string of the adapter that produced the result.
  - `warnings` string[]: Non-fatal warnings emitted during serialization.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `429`: Rate limit exceeded. Clients should back off until the time indicated by the `Retry-After` header (seconds) or the `X-RateLimit-Reset` header (Unix epoch seconds).
- `503`: ATLAS Spatial Runtime feature flag disabled.

## Changes

- **2026-04-19** `5852cb5bc9f4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/changes/atlas/branch/export/post.md)

---

[API](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api.md) - [All operations](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/llms.txt) - [OpenAPI document](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/revisions/6ad730b13e59?raw)
