Poll an asynchronous execution
Returns lifecycle status and, once terminal, the result of an execution accepted via Prefer: respond-async.
Authentication
AuthorizationBearer
API key or Clerk session token
Path parameters
executionId
Response
Execution status returned
createdAt
executionId
status
targetKind
Allowed values:
agentTargetResolution
How the run selected its definition: alias or version for a request that named a selector, legacy-live-row for a run that read the mutable agent row.
Allowed values:
agentVersion
Version number and label for agentVersionId. null exactly when agentVersionId is null.
agentVersionId
The agent_versions row the run was recorded against. Present only for durable agent executions; null when that surface stamps no version.
error
executionLane
Which substrate ran this turn: durable for a Durable Object (a Runtype session, or the run owner a detached run is handed to), in_process for the request worker. Present only for an execution with a canonical agent row; a flow handle and a Claude Managed handle omit it.
Allowed values:
httpStatus
result
targetId
underlyingExecutionId
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error