Skip to content
Testsigma DOCS

Get test steps

GET/test_cases/:test_case_id/test_steps

Base URL  https://app.testsigma.com/api/v1

Retrieve all steps for a specific test case.

Authenticate with your API key as a Bearer token in the Authorization header. Generate a key →
test_case_idThe ID of the test case whose steps you want to retrieve.
idUnique step identifier.
testCaseIdID of the parent test case.
positionOrder of the step within the test case (1-indexed).
actionNLP or custom action string that defines what the step does.
typeStep type — ACTION, VERIFY, etc.
disabledWhether this step is currently disabled.
createdByIdID of the user who created the step.
REQUEST
curl -X GET \
  'https://app.testsigma.com/api/v1/test_cases/:test_case_id/test_steps' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json'
const response = await fetch('https://app.testsigma.com/api/v1/test_cases/:test_case_id/test_steps', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer <API_KEY>',
    'Content-Type': 'application/json'
  }
});
const data = await response.json();
import requests

response = requests.get(
  'https://app.testsigma.com/api/v1/test_cases/:test_case_id/test_steps',
  headers={
    'Authorization': 'Bearer <API_KEY>',
    'Content-Type': 'application/json'
  }
)
data = response.json()
RESPONSE200OK
[
  {
    "id": 501,
    "testCaseId": 200,
    "position": 1,
    "action": "Navigate to https://app.testsigma.com",
    "type": "ACTION",
    "disabled": false,
    "createdById": 9
  },
  {
    "id": 502,
    "testCaseId": 200,
    "position": 2,
    "action": "Enter test data in the email field",
    "type": "ACTION",
    "disabled": false,
    "createdById": 9
  },
  {
    "id": 503,
    "testCaseId": 200,
    "position": 3,
    "action": "Verify that the page title is Login",
    "type": "VERIFY",
    "disabled": false,
    "createdById": 9
  }
]