Skip to main content
GET
Poll a principal-bound prepared action

Authorizations

X-Api-Key
string
header
required

A connection-bound gk_agent_ credential. REST deliberately accepts it through either X-Api-Key or Authorization: Bearer; X-Api-Key remains supported. Its fixed scopes are intersected with the current live grant before route authorization.

Path Parameters

action_id
string
required
Pattern: ^[A-Za-z0-9_-]{1,128}$

Response

Pending, terminal, or sealed action.

action_id
string
required
Pattern: ^[A-Za-z0-9_-]{1,128}$
status
enum<string>
required
Available options:
pending_worker_acceptance,
sealed,
cancelled_preseal,
expired_preseal,
submitted,
included,
confirmed,
reverted,
expired,
reorged,
funding_uncertain
path
enum<string>
required
Available options:
createAndFundFrom,
createAndFund
funding_created_chain_time
integer
required
worker_acceptance_deadline
integer
required
expires_at
string<date-time>
required
kind
any
principal
string
Pattern: ^[A-Za-z0-9_-]{1,128}$
wallet_address
string

A 20-byte EVM address.

Pattern: ^0x[a-fA-F0-9]{40}$
task_id
string
Pattern: ^[A-Za-z0-9_-]{1,128}$
chain_id
any
payload
object
sealed_chain_time
integer
escrow_address
string

Present only in confirmed state from the matching indexed TreeCreated.

Pattern: ^0x[a-fA-F0-9]{40}$