Skip to main content
GET
List outcomes
Lists ready outcomes newest first, keeping those whose run the caller may read. With projectId, it lists that project’s outcomes, the Console’s project outcome list; an unknown project lists none. A page holds at most 5 outcomes: limit defaults to 5, and a larger limit reads 5. Every outcome on a page is decided before the page is answered, and unreadable outcomes are left out, so a page can be short or empty while meta.hasMore is true; follow meta.nextCursor. meta.partial is true when an outcome’s run names more companies than one read can check: like any run that cannot be decided, that outcome is left out without naming it. 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.

Query Parameters

projectId
string

Only this project's outcomes.

Minimum string length: 1
limit
integer
default:5
Required range: 1 <= x <= 5
cursor
string
Minimum string length: 1

Response

Success

data
object[]
required
meta
object
required

A list page's continuation. While hasMore is true, nextCursor is a string: pass it as cursor for the next page. hasMore: false ends the list; with truncated: true, more exist past what this list reads, and no cursor reaches them.