Retrieve a test step
GET
/test_steps/{id}Base URL
https://app.testsigma.com/api/v2RegionFetch a specific test step by its ID, including its action, NLP template, and step order.
Authenticate with your API key as a
Bearer token in the Authorization header. How to authenticate →Path parameters
id | Identifier of the test step. |
Response attributes
id | Step ID. |
action | Action description. |
type | Step type. |
stepOrder | Execution order in the test case. |
testCaseId | Parent test case ID. |
templateId | Associated NLP template ID. |
Request
curl -X GET \
'https://app.testsigma.com/api/v2/test_steps/{id}' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json'const response = await fetch('https://app.testsigma.com/api/v2/test_steps/{id}', {
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/v2/test_steps/{id}',
headers={
'Authorization': 'Bearer <API_KEY>',
'Content-Type': 'application/json'
}
)
data = response.json()Response200 OK
{
"id": 12345,
"action": "Click on the login button",
"type": "NLP_TEXT",
"stepOrder": 1,
"testCaseId": 123,
"templateId": 456
}Was this page helpful?
Thanks for the feedback.