List Failed Run Ids — GET /api/v1/runs/failed-ids
List Failed Run Ids
Return just the IDs of FAILED runs in the project + day window.
Endpoint: GET /api/v1/runs/failed-ids
Authentication: Send a signed-in user’s access token in Authorization: Bearer <access token>, or an API key in X-API-Key: <API key>.
Parameters
Section titled “Parameters”| Name | In | Required | Type | Default | Description |
|---|---|---|---|---|---|
project_id | query | no | string or null | ||
days | query | no | integer or null | 30 | Look back window in days (0 = all time) |
limit | query | no | integer | 1000 | Hard cap to prevent runaway fan-outs |
only_pending | query | no | boolean | false | When true, exclude runs that already have an active or recent agent pipeline (within the last 2h, matching the Celery dedup TTL) |
suite_name | query | no | string or null | Filter failed runs by suite name, case-insensitive | |
X-API-Key | header | no | string or null | API key, as an alternative to the access token (see Authentication). |
Request body
Section titled “Request body”No request body.
Responses
Section titled “Responses”| Status | Meaning | Body |
|---|---|---|
200 | Successful Response | Not documented (application/json) |
422 | Validation Error | HTTPValidationError (application/json) |
Response fields not documented. The API specification does not describe the body of every response this endpoint returns, so this page cannot list those fields. The body is not empty. To see it, call the endpoint on your own installation. All endpoints with undocumented responses.
It can also return 401 if your credential is missing or expired, 403 if your credential does not allow this request, and 404 if the item does not exist or you cannot see it. Your role, your project membership and the key’s scope decide what a credential allows. See Errors and retries.
More details
Section titled “More details”- Group: Test Runs
- Operation ID:
list_failed_run_ids_api_v1_runs_failed_ids_get - Source code:
backend/app/routers/runs.py, line 183 - Specification: OpenAPI JSON