Get test run statuses
GET
/test_runs/statuses
Base URL
https://test-management.testsigma.com/api/v1
Retrieves the list of statuses that can be associated with test runs.
Authenticate with your API key as a
Bearer token in the
Authorization header. Generate a key →RESPONSE ATTRIBUTES
message | Status message for the request; may be empty. |
data.statuses[].id | Unique identifier for the status. |
data.statuses[].name | Name of the status. |
data.statuses[].order | Order in which the status appears. |
data.statuses[].icon_url | URL pointing to an icon representing the status. |
data.statuses[].alias | Alternative name or identifier for the status. |
page_info.page_size | Number of items returned per page. |
page_info.total_count | Total number of statuses available. |
page_info.next | URL for the next page of results, if applicable. |
page_info.prev | URL for the previous page of results, if applicable. |
REQUEST
curl -X GET \
'https://test-management.testsigma.com/api/v1/test_runs/statuses' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json'const response = await fetch('https://test-management.testsigma.com/api/v1/test_runs/statuses', {
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/test_runs/statuses',
headers={
'Authorization': 'Bearer <API_KEY>',
'Content-Type': 'application/json'
}
)
data = response.json()RESPONSE200OK
{
"message": "",
"data": {
"statuses": [
{
"id": "3d7e6094-2c57-4f30-9b84-5e1a0c3d2f61",
"name": "Running",
"order": 1,
"icon_url": "https://assets.testsigma.com/icons/run-statuses/running.svg",
"alias": "running"
},
{
"id": "4e8f71a5-3d68-4051-8c95-6f2b1d4e3072",
"name": "Completed",
"order": 2,
"icon_url": "https://assets.testsigma.com/icons/run-statuses/completed.svg",
"alias": "completed"
}
]
},
"page_info": {
"page_size": 25,
"total_count": 2,
"next": "",
"prev": ""
}
}