Skip to content
TestsigmaDOCS

Search NLP templates

GET/test_steps/nlp/{applicationType}/templates/{searchText}

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

Search NLP templates to use when creating test steps.

Authenticate with your API key as a Bearer token in theAuthorization header. Generate a key →
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"
  }
]