Skip to content
Testsigma DOCS

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 →
messageStatus message for the request; may be empty.
data.statuses[].idUnique identifier for the status.
data.statuses[].nameName of the status.
data.statuses[].orderOrder in which the status appears.
data.statuses[].icon_urlURL pointing to an icon representing the status.
data.statuses[].aliasAlternative name or identifier for the status.
page_info.page_sizeNumber of items returned per page.
page_info.total_countTotal number of statuses available.
page_info.nextURL for the next page of results, if applicable.
page_info.prevURL 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": ""
  }
}