Skip to content
You're viewing the v2 docs. Looking for v1?Go to v1 docs
Docs
Testsigma
Popular questions
↑↓ to navigate↵ to selectesc to close
Book a demo

Retrieve a test step

GET/test_steps/{id}
Base URL https://app.testsigma.com/api/v2Region

Fetch 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 →
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
}

Was this page helpful?