Skip to main content
GET
/
tests
/
types
Get test types used by the organization
curl --request GET \
  --url https://api.galtea.ai/tests/types \
  --header 'Authorization: Bearer <token>'
{
  "types": [
    "QUALITY",
    "RED_TEAMING",
    "SCENARIOS"
  ]
}

Authorizations

Authorization
string
header
required

API key authorization. Pass your API key in the Authorization header as a Bearer token. Both new (gsk_*) and legacy (gsk-) API keys are accepted, e.g. Authorization: Bearer gsk_... or Authorization: Bearer gsk-....

Query Parameters

productIds
string[]

Filter by product IDs

Response

Test types retrieved successfully

types
string[]
Example:
["QUALITY", "RED_TEAMING", "SCENARIOS"]