Get test case types
GET
/test_cases/types
Base URL
https://test-management.testsigma.com/api/v1
Retrieves the available test case types that can be used in test planning and execution.
Authenticate with your API key as a
Bearer token in the
Authorization header. Generate a key →RESPONSE ATTRIBUTES
message | Status message for the request; may be empty. |
data.types[].id | Unique identifier for the test case type. |
data.types[].name | Name of the test case type. |
data.types[].order | Order in which the test case type appears. |
data.types[].alias | Alternative name or identifier for the test case type. |
data.types[].icon_url | URL pointing to an icon representing the test case type. |
page_info.page_size | Number of items returned per page. |
page_info.total_count | Total number of test case types available. |
page_info.next | URL for the next page of results, if applicable. |
page_info.prev | URL for the previous page of results, if applicable. |
REQUEST
curl -X GET \
'https://test-management.testsigma.com/api/v1/test_cases/types' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json'const response = await fetch('https://test-management.testsigma.com/api/v1/test_cases/types', {
method: 'GET',
headers: {
'Authorization': 'Bearer <API_KEY>',
'Content-Type': 'application/json'
}
});
const data = await response.json();import requests
response = requests.get(
'https://test-management.testsigma.com/api/v1/test_cases/types',
headers={
'Authorization': 'Bearer <API_KEY>',
'Content-Type': 'application/json'
}
)
data = response.json()RESPONSE200OK
{
"message": "",
"data": {
"types": [
{
"id": "c47ade67-0543-4582-a4a5-b7de447c94f5",
"name": "Functional",
"order": 1,
"alias": "functional",
"icon_url": "https://assets.testsigma.com/icons/types/functional.svg"
},
{
"id": "d91be238-7a16-4c50-bf83-1e6d2a9f0c47",
"name": "Regression",
"order": 2,
"alias": "regression",
"icon_url": "https://assets.testsigma.com/icons/types/regression.svg"
}
]
},
"page_info": {
"page_size": 25,
"total_count": 2,
"next": "",
"prev": ""
}
}