Skip to content
TestsigmaDOCS

Retrieve a test step

GET/test_steps/{id}

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

Fetch a specific test step by its ID.

Authenticate with your API key as a Bearer token in theAuthorization header. Generate a key →
idIdentifier of the test step.
idStep ID.
actionAction description.
typeStep type.
stepOrderExecution order in the test case.
testCaseIdParent test case ID.
templateIdAssociated 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
}