Create order draft
Creates a customer wizard session (OrderDraft) for the parent offer. The caller is the customer; their authenticated user becomes the draft’s owner. Each idempotent create call returns the same draft for the same Idempotency-Key. Concurrency limits and email-allowlist gates apply per the offer’s configuration; failures map to 403 (forbidden) or 422 (offer not redeemable).
Documentation Index
Fetch the complete documentation index at: https://akua-1dce587a.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
workspace API token (sk_akua_...) or OAuth2 JWT. Create tokens at https://akua.dev/developers/api-tokens
Headers
Caller-supplied idempotency key. Repeated requests with the same key return the existing resource instead of creating a duplicate. Safe to retry after a timed-out or interrupted request.
1 - 64"create-prod-2026-05-07"
Path Parameters
Parent offer ID
1 - 56"offer_j572abc..."
Response
Order draft started
Order draft ID
1 - 55Offer this order draft is redeeming
1 - 56Wizard phase. Driven by the order draft actor; mirrored on every patch to the row so reactive UIs render one column. done and terminated are terminal.
auth, workspace, compute, compute_bootstrap, configure, payment, install, done, cleaning_up, terminated Unix timestamp (seconds)
x >= 0Unix timestamp (seconds)
x >= 0Unix timestamp (seconds)
x >= 0Set when status=terminated; explains why the order draft ended.
timeout, revoked, offer_expired, install_failed, cluster_allocation_failed, quota_exceeded Authenticated customer
1Workspace selected/created during the workspace phase
1 - 53Cluster allocated during the compute phase
1 - 54Operation tracking the spawned install workflow
1 - 53Customer-supplied configure values, including any pre-fills from the offer. Only returned to the order draft’s own customer; never to other authed callers.