GET /v1/deployments/{id}/runs
Retrieves all execution runs for a specific deployment with cursor pagination. Results are sorted by triggered time in descending order (newest first).
Path parameters
| Parameter | Type | Description |
|---|---|---|
id | string | Deployment ID with the dep_ prefix |
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer $QODER_PAT |
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | No | Maximum number of records to return. Default 20, max 1000. |
after_id | string | No | Cursor pagination: return records after this ID |
before_id | string | No | Cursor pagination: return records before this ID |
status | string | No | Filter by run status: pending, running, completed, failed, skipped |
triggered_after | string | No | Filter runs triggered after this timestamp (ISO 8601) |
triggered_before | string | No | Filter runs triggered before this timestamp (ISO 8601) |
Example request
Example response
HTTP 200 OKResponse fields
| Field | Type | Description |
|---|---|---|
data | array | List of Deployment Run objects |
first_id | string | ID of the first record on the current page |
last_id | string | ID of the last record on the current page |
has_more | boolean | Whether more records are available |
next_page | string or null | Cursor value for the next page (null when no more) |
Errors
| HTTP | Type | Trigger |
|---|---|---|
| 401 | authentication_error | PAT invalid or expired |
| 404 | not_found_error | Deployment does not exist |
Related
Get a deployment run
Inspect details of a single run.
Manually trigger a deployment
Kick off a deployment run immediately.
List all runs
Query run history across all deployments.
Get a deployment
Inspect deployment configuration and status.