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

Search NLP templates

GET/test_steps/nlp/{applicationType}/templates/{searchText}
Base URL https://app.testsigma.com/api/v2Region

Search NLP templates to use when creating test steps.

Authenticate with your API key as a Bearer token in the Authorization header. How to authenticate →
applicationTypeOne of: WebApplication, MobileWeb, IOSNative, AndroidNative, Rest, Salesforce.
searchTextKeywords used to search for templates.
idUnique identifier of the template.
keywordKeyword associated with the step (e.g. click).
grammarNLP grammar expression for the step.
actionAction executed by the step.
Request
curl -X GET \
  'https://app.testsigma.com/api/v2/test_steps/nlp/{applicationType}/templates/{searchText}' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json'
const response = await fetch('https://app.testsigma.com/api/v2/test_steps/nlp/{applicationType}/templates/{searchText}', {
  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/nlp/{applicationType}/templates/{searchText}',
  headers={
    'Authorization': 'Bearer <API_KEY>',
    'Content-Type': 'application/json'
  }
)
data = response.json()
Response200 OK
[
  {
    "id": 456,
    "keyword": "click",
    "grammar": "Click on the ${ui-identifier}",
    "action": "click"
  }
]

Was this page helpful?