Skip to main content
POST
Export decisions as a signed bundle

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

workspace
string
required

Workspace slug.

Maximum string length: 64
Pattern: ^[a-z0-9][a-z0-9-]{0,63}$

Body

application/json
keys
string[]

Decisions to export. Empty exports every decision in the workspace. Sub-decisions are always added automatically — a bundle that imports cleanly and then fails at first evaluation is worse than no bundle.

published_only
boolean
default:false

Export whichever version is currently live for each decision. Mutually exclusive with versions.

versions
Versions · object

Explicit version per decision key. Mutually exclusive with published_only. Anything omitted falls back to the latest approved version.

suggest_publish
boolean
default:false

Record in the manifest that the target should publish these decisions. Advice only — import never publishes, so applying it is an explicit second step on the target.

Response

A signed bundle containing the selected decisions.