Documentation

List Runs

List the current account's Runs with optional filters and cursor pagination.

View as Markdown
On this page

Endpoint

items contains Run summaries, not full output. Retrieve an individual Run to read its result. nextCursor is null when no further page exists.

Use RFC3339 timestamps for createdFrom and createdTo. Keep filters unchanged while following a cursor. activeOnly selects Runs with HELD or REVIEW billing, including Runs whose execution has ended. status filters execution state; when both are supplied, both filters apply.

HTTP
GET /v1/runs

Parameters

NameLocationTypeRequiredConstraints
cursorquerystringOptional—
limitqueryintegerOptionalMinimum: 1; Maximum: 100; Default: 20
statusquerystringOptionalQUEUED | SUBMITTING | RUNNING | WAITING_PROVIDER | SUCCEEDED | FAILED | CANCELED | TIMED_OUT | UNKNOWN
activeOnlyquerybooleanOptional—
toolIdquerystringOptional—
createdFromquerystringOptionaldate-time
createdToquerystringOptionaldate-time

Request example

Set PURRKEY_API_KEY in your trusted server or terminal environment. Replace any angle-bracket placeholders with values from your own inspection or Run.

Bash
curl --fail-with-body --request GET 'https://api.purrkey.app/v1/runs' \
  -H "Authorization: Bearer $PURRKEY_API_KEY"

Successful response

Success HTTP status: 200. Top-level response fields are listed below. Conditional and nested requirements are defined in the downloadable OpenAPI contract.

FieldTypeRequiredConstraints
itemsobject[]Required—
nextCursorstring | nullRequired—

Errors and related reading