Skip to content
Testsigma DOCS

List step groups

GET/projects/:project_id/step_groups

Base URL  https://test-management.testsigma.com/api/v1

Retrieves a paginated list of step groups 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 step groups are listed.
page_sizeNumber of step groups to return per page.
messageStatus message for the request; may be empty.
data.step_groups[].idUnique identifier of the step group.
data.step_groups[].titleTitle of the step group.
data.step_groups[].descriptionDescription of the step group.
data.step_groups[].human_idHuman-readable identifier for the step group.
data.step_groups[].project_idIdentifier of the project the step group belongs to.
data.step_groups[].created_atUnix timestamp of when the step group was created.
data.step_groups[].updated_atUnix timestamp of the last update to the step group.
page_info.page_sizeNumber of items returned per page.
page_info.total_countTotal number of step groups available for the project.
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/step_groups' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json'
const response = await fetch('https://test-management.testsigma.com/api/v1/projects/:project_id/step_groups', {
  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/step_groups',
  headers={
    'Authorization': 'Bearer <API_KEY>',
    'Content-Type': 'application/json'
  }
)
data = response.json()
RESPONSE200OK
{
  "message": "",
  "data": {
    "step_groups": [
      {
        "id": "b3d9f1a2-6c84-4e57-9a01-2f7c5d8e1b40",
        "title": "Regression Test Step Group - 5",
        "description": "Step group for regression test cases",
        "human_id": "DEMO-SG-1",
        "project_id": "c47ade67-0543-4582-a4a5-b7de447c94f5",
        "created_at": 1710675200,
        "updated_at": 1710675200
      },
      {
        "id": "e5f6a7b8-9c0d-4e1f-8a2b-3c4d5e6f7a8b",
        "title": "Smoke Test Step Group - 2",
        "description": "Step group for smoke test cases",
        "human_id": "DEMO-SG-2",
        "project_id": "c47ade67-0543-4582-a4a5-b7de447c94f5",
        "created_at": 1709452800,
        "updated_at": 1712131200
      }
    ]
  },
  "page_info": {
    "page_size": 2,
    "total_count": 9,
    "next": "https://test-management.testsigma.com/api/v1/projects/c47ade67-0543-4582-a4a5-b7de447c94f5/step_groups?page_size=2&page=2",
    "prev": ""
  }
}