List execution runs for a specific deployment.
GET /api/v1/cloud/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_ACCESS_TOKEN |
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | No | Maximum number of records to return. Default 20, range 1-100. Values above 100 return 400 invalid_request_error. |
page | string | No | Cursor value returned by next_page. Do not combine with before_id or after_id. |
after_id | string | No | Cursor pagination: return records after this ID |
before_id | string | No | Cursor pagination: return records before this ID |
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 OK
Response 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) |
next_page as the page parameter to retrieve the next page.
See Run a deployment for Deployment Run field descriptions.
Errors
| HTTP | Type | Trigger |
|---|---|---|
| 401 | authentication_error | PAT or SAT invalid or expired |
| 404 | not_found_error | Deployment does not exist |