---
title: "List Team Agent Runs"
method: GET
path: "/api/sparky/{team_key}/agent-runs"
tags: ["sparky"]
---

# List Team Agent Runs

`GET /api/sparky/{team_key}/agent-runs`

## Request

- Base URL: `https://api.superit.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.superit.ai/api/sparky/{team_key}/agent-runs`
- Auth: HTTP bearer

List a team's agent-runs, newest-first, with filtering and pagination.

## Path parameters

- `team_key` string, required

## Query parameters

- `flow` string
- `status` 'running' | 'paused' | 'completed' | 'error' | 'cancelled' | 'historical' | 'superseded'
- `ticket_key` string
- `chat_key` string
- `page` integer
- `page_size` integer

## Response `200`

Successful Response

- AgentRunsListResponse: Response for the agent-runs list with a total count.
  - `runs` AgentRunSummary[], required
    - `id` integer, required
    - `key` string, required
    - `flow` string, required
    - `workflowId` string, required
    - `status` 'running' | 'paused' | 'completed' | 'error' | 'cancelled' | 'historical' | 'superseded', required
    - `outcome` string, nullable
    - `error` string, nullable
    - `ticketKey` string, nullable
    - `ticketNumber` string, nullable
    - `chatKey` string, nullable
    - `startedAt` string, date-time, nullable
    - `completedAt` string, date-time, nullable
    - `parentRunId` integer, nullable
    - `children` AgentRunSummary[]
    - `metadata` object
  - `count` integer, required

## Other responses

- `400`: Invalid input
- `401`: Not authenticated
- `403`: Forbidden
- `404`: Not found
- `405`: Method not allowed
- `409`: Conflict
- `422`: Validation Error

---

[API](https://skmtc.dev/superit/apis/super-it-api.md) - [All operations](https://skmtc.dev/superit/apis/super-it-api/llms.txt) - [OpenAPI document](https://skmtc.dev/superit/apis/super-it-api/revisions/4944d556c2bb?raw)
