# List runs

```http
GET /runs
```

List runs; bound runtimes need own project\_id, trigger\_type=\["schedule"] and trigger\_id.

## Parameters

| Name              | In    | Required | Description                                                                                                                                                                         |
| ----------------- | ----- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `task_id`         | query |          | Filter by the persisted orchestration task identity in task\_id; this is distinct from the execution definition target.                                                             |
| `limit`           | query |          | Maximum number of records in a page, from 1 to 100. Defaults to 20.                                                                                                                 |
| `cursor`          | query |          | Opaque page\_info.next cursor; reuse with unchanged filters and ordering.                                                                                                           |
| `sort_by`         | query |          | Field used to order runs: created\_at, status or duration. Defaults to created\_at.                                                                                                 |
| `sort_order`      | query |          | Sort direction: asc or desc. Defaults to desc.                                                                                                                                      |
| `status`          | query |          | Filter by status. Repeat the query parameter for multiple values; comma-separated values remain a compatibility alias. Values within this filter use OR; different filters use AND. |
| `target_type`     | query |          | Filter by execution definition type.                                                                                                                                                |
| `trigger_type`    | query |          | Filter by trigger\_type.                                                                                                                                                            |
| `root_only`       | query |          |                                                                                                                                                                                     |
| `parent_run_id`   | query |          |                                                                                                                                                                                     |
| `target_id`       | query |          | Filter by execution definition ID.                                                                                                                                                  |
| `trigger_id`      | query |          | Filter by trigger\_id.                                                                                                                                                              |
| `project_id`      | query |          | Restrict accessible runs to this project; filters intersect and never grant access.                                                                                                 |
| `conversation_id` | query |          | Restrict accessible runs to this conversation; filters intersect and never grant access.                                                                                            |

## Responses

| Status | Description         |
| ------ | ------------------- |
| 200    | Run page            |
| 400    | Bad request         |
| 401    | Unauthorized        |
| 403    | Forbidden           |
| 404    | Not found           |
| 429    | Rate limit exceeded |
