Skip to main content
GET
List routine builds

Authorizations

Authorization
string
header
required

Secret key (sk_live_...)

Query Parameters

routine_id
string

Return only builds for this routine (prefixed with rtn_).

Pattern: ^rtn_
Example:

"rtn_AbC123xYz456"

task_id
string

Return only builds for this task (prefixed with task_).

Pattern: ^task_
Example:

"task_AbC123xYz456"

status
string

Filter by status. Comma-separated: queued, running, interaction_required, completed, failed, canceling, canceled.

Example:

"running,interaction_required"

limit
default:20

Maximum number of items to return (1-100, default 20)

Required range: 1 <= x <= 100
Example:

20

cursor
string

Cursor from a previous response for pagination.

Response

OK

data
object[]
required

Array of resource objects for the current page.

has_more
boolean
required

true if there are more results beyond this page.

next_cursor
null | string

Opaque cursor string to pass as the cursor query parameter on the next request. null when there are no more pages.

request_id
null | string

Unique identifier for the API request.