Skip to main content
POST
Preview or execute an initiative launch

Authorizations

Authorization
string
header
required

OrgX API key, sent as Authorization: Bearer oxk_...

Headers

Idempotency-Key
string
required

Workspace-scoped retry key for safe mutation replay.

Required string length: 1 - 200
Pattern: ^[A-Za-z0-9][A-Za-z0-9._:/-]{0,199}$

Body

application/json
workspace_id
string<uuid> | null
required
initiative_id
string<uuid>
required
expected_aggregate_version
integer
required

The initiative version you read. A mismatch returns 409.

Required range: x >= 0
mode
enum<string>
default:preview
Available options:
preview,
execute
scope
object

Narrows the launch. Every id is checked against your workspace and the named initiative first.

launch_plan_digest
string

Required on execute. The digest returned by your preview.

cost_ceiling_cents
integer

Required on execute. Your UPPER BOUND, never the estimate — OrgX computes that.

Required range: x >= 1
max_parallel_agents
integer
default:1
Required range: 1 <= x <= 4
model_tier
enum<string>
default:standard
Available options:
standard,
balanced,
precision,
local
autonomy_ceiling
enum<string>

Lowers the effective autonomy for this launch; it can never raise it above policy.

Available options:
manual,
gated,
autopilot

Response

The launch plan and its server-computed estimate; nothing was dispatched

data
object
required
meta
object
required