Skip to main content
GET
List agentic automation runs

Authorizations

Authorization
string
header
required

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

Query Parameters

agent_id
string

The ID of the agent whose runs to list.

Maximum string length: 128
resource_type
string

The kind of record, for example Submittals. Keeps only app-event runs on records of this kind.

Maximum string length: 128
resource_id
string

The id of the record, for example the Submittal's id, as a string. Keeps only app-event runs on records with this id. Add resource_type if ids can repeat across kinds.

Maximum string length: 512
type
enum<string>

Keep only runs of this kind: scheduled for runs started by a schedule, app_event for runs started by an app event.

Available options:
scheduled,
app_event
status
enum<string>

Keep only runs in this status.

Available options:
queued,
running,
succeeded,
failed,
cancelling,
cancelled,
awaiting_approval,
needs_attention,
timed_out
invocation
enum<string>[]

Keep only runs that started this way. A comma-separated list, for example automatic,manual to leave out test runs. All runs appear when omitted.

Available options:
automatic,
manual,
test
limit
integer
default:50

The limit on the number of objects to return, ranging between 1 and 100.

Required range: 1 <= x <= 100
after
string

A cursor to use in pagination. after is an object ID that defines your place in the list. For example, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo to fetch the next page of the list.

before
string

A cursor to use in pagination. before is an object ID that defines your place in the list. For example, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include before=obj_bar to fetch the previous page of the list.

Response

The runs

object
enum<string>
required

The object type, always 'list'.

Available options:
list
data
object[]
required

The runs on this page, newest first.

has_more
boolean
required

Whether more runs exist beyond this page in the direction you are paging.