Skip to main content
GET
List Runs

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

workflow_id
string<uuid> | null

Filter by workflow ID

machine_id
string<uuid> | null

Filter by machine ID

session_id
string<uuid> | null

Filter by session ID

status
enum<string> | null

Filter by run status

Available options:
scheduling,
running,
running_checks,
success,
cancelled,
task_failed,
error
created_at_from
string<date-time> | null

Filter runs created at or after this ISO timestamp (UTC)

created_at_to
string<date-time> | null

Filter runs created at or before this ISO timestamp (UTC)

sort_mode
enum<string>
default:activity

Run sort mode. 'activity' prioritizes running/scheduling and recent completions. 'created_at_desc' returns strict reverse-chronological order.

Available options:
activity,
created_at_desc
search
string | null

Search runs by id, input_values, output_data, error, session_alias (case-insensitive substring match)

If true, also search run_message_history (slower but more comprehensive)

fields
enum<string>[] | null

Optional list of fields to include per run. Always includes: id, workflow_id, machine_id, status, created_at. Provide multiple 'fields=' params to include more.

Selectable run fields for projection in list endpoints.

These are optional fields beyond the essential identifiers that are always returned (id, workflow_id, machine_id, status, created_at).

Available options:
user_id,
organization_id,
error,
output_data,
input_attachment_ids,
output_attachment_ids,
run_message_history,
input_values,
main_prompt,
model_metadata,
pool_ids,
sensitive_input_aliases,
usage_metadata,
session_id,
session_alias,
release_session_after,
is_priority,
started_at,
ended_at,
post_run_checks,
machine_id
include
string | null

Comma-separated list of related resources to include. Allowed values: workflow, machine, machine.pools. Example: include=workflow,machine

skip
integer
default:0
Required range: x >= 0
limit
integer
default:100
Required range: 1 <= x <= 1000

Response

Successful Response

items
RunResponse · object[]
required
total
integer
required
skip
integer
required
limit
integer
required
included
IncludedResource · object[] | null

Related resources requested via the include query parameter