Skip to main content
GET
Get a run attempt's outcome status
Returns the outcome state of one attempt of a run. runId is required; attempt (a positive integer) defaults to the run’s current attempt. A missing or unreadable run answers 404. When an attempt has several outcome rows, an invalid row wins, then a pending one, then the ready outcome. An outcome is its run’s output: the caller must be able to read the run that produced it (runs:read at the run’s home and at every company on it). Rate an outcome with Rate outcome.

Authorizations

Authorization
string
header
required

An External App: the JWT it obtains from POST /oauth/token with OAuth2 client_credentials. Pass as Authorization: Bearer <jwt>. An app's static companion key also authenticates as the app, but is deprecated and is not protected by Idempotency-Key.

Path Parameters

runId
string
required
Minimum string length: 1

Query Parameters

attempt
integer
Required range: x >= 1

Response

Success

data
object
required

The outcome state of one run attempt: running, pending, not_declared (the pinned version has no active outcome binding), not_applicable (the run ended without completing), invalid (its evidence could not be validated) or ready with the outcome.

meta
object
required