List test plans
GET
/test_plans
Base URL
https://app.testsigma.com/api/v1
Get the details of all test plans using the REST API.
Authenticate with your API key as a
Bearer token in the
Authorization header. Generate a key →QUERY PARAMETERS
query | Filter expression, e.g. applicationVersionId:<versionid>. The ID of the application version where the test plan is scheduled. |
RESPONSE ATTRIBUTES
content | Array of test plan objects. |
id | Unique test plan identifier. |
applicationVersionId | ID of the application version the test plan belongs to. |
name | Name of the test plan. |
REQUEST
curl -X GET \
'https://app.testsigma.com/api/v1/test_plans' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json'const response = await fetch('https://app.testsigma.com/api/v1/test_plans', {
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/v1/test_plans',
headers={
'Authorization': 'Bearer <API_KEY>',
'Content-Type': 'application/json'
}
)
data = response.json()RESPONSE200OK
{
"content": [
{
"id": 185,
"applicationVersionId": 52,
"name": "TP 1"
}
]
}