List Test Cases — GET /api/v1/test-management/cases
List Test Cases
Endpoint: GET /api/v1/test-management/cases
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 (uuid) or null | ||
status | query | no | array of TestCaseLifecycleState or null | ||
test_type | query | no | array of string or null | ||
priority | query | no | array of string or null | ||
feature_area | query | no | string or null | ||
ai_generated | query | no | boolean or null | ||
search | query | no | string or null | ||
suite_name | query | no | string or null | ||
owner | query | no | string or null | ||
automation | query | no | string or null | ||
requirement | query | no | string or null | ||
include_automation | query | no | boolean | false | When true, merge synthesised rows derived from per-run test_cases into the response so the Test Management page can surface automation-ingested tests alongside authored ones. Deduped by test_fingerprint — any fingerprint already linked to a managed_test_cases row is skipped. |
include_archived | query | no | boolean | false | Include archived authored cases when no exact status filter is set. |
page | query | no | integer | 1 | |
size | query | no | integer | 25 | |
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 | ManagedTestCaseListResponse (application/json) |
422 | Validation Error | HTTPValidationError (application/json) |
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 Management
- Operation ID:
list_test_cases_api_v1_test_management_cases_get - Source code:
backend/app/routers/test_management_cases.py, line 229 - Specification: OpenAPI JSON