Skip to main content
GET
Get order draft details

Authorizations

Authorization
string
header
required

workspace API token (sk_akua_...) or OAuth2 JWT. Create tokens at https://akua.dev/developers/api-tokens

Path Parameters

id
string
required

Order draft ID

Required string length: 1 - 55
Example:

"odft_j572abc..."

Response

Order draft details

id
string
required

Order draft ID

Required string length: 1 - 55
offer_id
string
required

Offer this order draft is redeeming

Required string length: 1 - 56
status
enum<string>
required

Wizard 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.

Available options:
auth,
workspace,
compute,
compute_bootstrap,
configure,
payment,
install,
done,
cleaning_up,
terminated
cluster_ready
boolean
required
server_joined
boolean
required
payment_completed
boolean
required
created_at
integer
required

Unix timestamp (seconds)

Required range: x >= 0
updated_at
integer
required

Unix timestamp (seconds)

Required range: x >= 0
etag
string
required
ttl_expires_at
integer
required

Unix timestamp (seconds)

Required range: x >= 0
termination_reason
enum<string>

Set when status=terminated; explains why the order draft ended.

Available options:
timeout,
revoked,
offer_expired,
install_failed,
cluster_allocation_failed,
quota_exceeded
user_id
string

Authenticated customer

Minimum string length: 1
customer_email
string
workspace_id
string

Workspace selected/created during the workspace phase

Required string length: 1 - 53
cluster_id
string

Cluster allocated during the compute phase

Required string length: 1 - 54
current_checkout_session
object
install_operation_id
string

Operation tracking the spawned install workflow

Required string length: 1 - 53
order
object
delivery
object
field_values
object

Customer-supplied configure values, including any pre-fills from the offer. Only returned to the order draft’s own customer; never to other authed callers.