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 read and worker scopes are its fixed scopes intersected with the current live grant; agent-buyer comes from the live grant alone, which the owner sets with POST and DELETE /v1/connections/{connection_id}/spend-policy.

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
nonce
string

Present only in sealed state: the action id, repeated. It is not the nonce the escrow checks: the funding authorization is derived from root_params.

request_digest
string

Present only in sealed state: the SHA-256 digest of the payload.

Pattern: ^0x[a-fA-F0-9]{64}$
signing_url
string<uri>

Present only in sealed state: the page where the buyer's wallet signs this action.

sealed_chain_time
integer
escrow_address
string

Present only in confirmed state from the matching indexed TreeCreated.

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