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 →PATH PARAMETERS
test_case_id | The ID of the test case whose steps you want to retrieve. |
RESPONSE ATTRIBUTES
id | Unique step identifier. |
testCaseId | ID of the parent test case. |
position | Order of the step within the test case (1-indexed). |
action | NLP or custom action string that defines what the step does. |
type | Step type — ACTION, VERIFY, etc. |
disabled | Whether this step is currently disabled. |
createdById | ID 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
}
]