Skip to content
Testsigma DOCS

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 →
project_idUnique identifier of the project whose test runs are listed.
page_sizeNumber of test runs to return per page.
messageStatus message for the request; may be empty.
data.test_runs[].idUnique identifier of the test run.
data.test_runs[].nameName of the test run.
data.test_runs[].statusCurrent status of the test run.
data.test_runs[].created_atUnix timestamp of when the test run was created.
data.test_runs[].updated_atUnix timestamp of the last update to the test run.
page_info.page_sizeNumber of items returned per page.
page_info.total_countTotal number of test runs available.
page_info.nextURL to the next page of results, if any.
page_info.prevURL 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
  }
}