Skip to main content
GET
/
api
/
v1
/
agents
/
{kind}
/
runs
List runs for an agent kind with cursor pagination and optional status filter. Newest-first.
curl --request GET \
  --url https://api.backside.app/api/v1/agents/{kind}/runs \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "agent_kind": "<string>",
      "consecutive_failures": 123,
      "cost_usd_cents": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "input": "<unknown>",
      "platform_fee_cents": 123,
      "run_at": "2023-11-07T05:31:56Z",
      "status": "<string>",
      "tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "updated_at": "2023-11-07T05:31:56Z",
      "budget_usd_cents": 123,
      "deadline_at": "2023-11-07T05:31:56Z",
      "failure_category": "<string>",
      "failure_detail": "<string>",
      "output": "<unknown>"
    }
  ],
  "has_more": true,
  "next_cursor": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

kind
string
required

Agent kind identifier

Query Parameters

status
string

Filter by run status

limit
integer<int64>

Page size (default 50, max 200)

cursor
string

RFC3339 cursor

Response

200 - application/json

Paginated run list

Concrete paginated run list for OpenAPI schema generation. JSON shape matches PaginatedResponse<AgentRunRecord> — utoipa can't derive ToSchema for the generic type parameter, so handlers keep returning PaginatedResponse and this mirror only exists for the schema.

data
object[]
required
has_more
boolean
required
next_cursor
string | null