Preview or execute an initiative launch
Turn a committed plan into running work. This is the one operation on the API that spends your provider budget, so it is deliberately two calls.
Preview first
mode: "preview" returns the plan, the targets, the block reasons, and
server_estimate_cents — and dispatches nothing. No agent starts, no
reservation is written, no spend occurs. Send the returned
launch_plan_digest back with mode: "execute" to run exactly the plan
you were shown; a plan that drifted returns 409 launch_plan_stale.
The estimate is ours, the ceiling is yours
cost_ceiling_cents is your upper bound. OrgX computes the estimate
server-side from the resolved model tier and a conservative token budget,
and refuses with 422 cost_ceiling_below_estimate when your ceiling is
under it — the launch is refused whole rather than trimmed to fit. A tier
with no server-side price returns 422 cost_unestimable.
Scope and autonomy
Every id in scope is checked against your workspace and the named
initiative before anything reaches the dispatcher; an id outside either is
reported exactly like an id that was never issued. autonomy_ceiling
lowers the effective autonomy for this launch and can never raise it above
your workspace or initiative policy.
Execution is asynchronous
A successful execute returns 202 with a launch_id and one entry per
target. Targets fail independently — poll GET /launches/{launchId} for
jobs, runs, receipts, and spend to date.
Rate limited to 6 launches per hour per credential.
Authorizations
OrgX API key, sent as Authorization: Bearer oxk_...
Headers
Workspace-scoped retry key for safe mutation replay.
1 - 200^[A-Za-z0-9][A-Za-z0-9._:/-]{0,199}$Body
The initiative version you read. A mismatch returns 409.
x >= 0preview, execute Narrows the launch. Every id is checked against your workspace and the named initiative first.
Required on execute. The digest returned by your preview.
Required on execute. Your UPPER BOUND, never the estimate — OrgX computes that.
x >= 11 <= x <= 4standard, balanced, precision, local Lowers the effective autonomy for this launch; it can never raise it above policy.
manual, gated, autopilot 