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
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.
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
httpStatus
result
targetId
underlyingExecutionId
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error