List test runs
GET
/projects/:project_id/test_runs
Base URL
https://test-management.testsigma.com/api/v1
Retrieves a paginated list of test runs for a project.
Authenticate with your API key as a
Bearer token in the
Authorization header. Generate a key →PATH PARAMETERS
project_id | Unique identifier of the project whose test runs are listed. |
QUERY PARAMETERS
page_size | Number of test runs to return per page. |
RESPONSE ATTRIBUTES
message | Status message for the request; may be empty. |
data.test_runs[].id | Unique identifier of the test run. |
data.test_runs[].name | Name of the test run. |
data.test_runs[].status | Current status of the test run. |
data.test_runs[].created_at | Unix timestamp of when the test run was created. |
data.test_runs[].updated_at | Unix timestamp of the last update to the test run. |
page_info.page_size | Number of items returned per page. |
page_info.total_count | Total number of test runs available. |
page_info.next | URL to the next page of results, if any. |
page_info.prev | URL to the previous page of results, if any. |
REQUEST
curl -X GET \
'https://test-management.testsigma.com/api/v1/projects/:project_id/test_runs' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json'const response = await fetch('https://test-management.testsigma.com/api/v1/projects/:project_id/test_runs', {
method: 'GET',
headers: {
'Authorization': 'Bearer <API_KEY>',
'Content-Type': 'application/json'
}
});
const data = await response.json();import requests
response = requests.get(
'https://test-management.testsigma.com/api/v1/projects/:project_id/test_runs',
headers={
'Authorization': 'Bearer <API_KEY>',
'Content-Type': 'application/json'
}
)
data = response.json()RESPONSE200OK
{
"message": "",
"data": {
"test_runs": [
{
"id": "7b2f9c14-58a1-4d2e-9f3a-6c1e8d40a2b9",
"name": "Regression suite — patient portal",
"status": "IN_PROGRESS",
"created_at": 1710675200,
"updated_at": 1710761600
},
{
"id": "e3d18a52-9f47-4c6b-b21d-77ac0e5b3f10",
"name": "Smoke suite — release 2.4",
"status": "PASSED",
"created_at": 1709452800,
"updated_at": 1709539200
}
]
},
"page_info": {
"page_size": 25,
"total_count": 2,
"next": null,
"prev": null
}
}