Get list of tests with pagination and filtering options. See Tests.
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-....
Filter by test IDs
Filter by product IDs
Filter by test case IDs
Filter by version IDs
Filter by test names (exact match, multiple)
Filter by test name (partial match)
Filter by test types
Filter by specification IDs
Filter tests that have evaluations
Filter tests that have inference results
Sort instructions (field and direction pairs)
Maximum number of results
Number of results to skip
Filter tests created at or after this timestamp (ISO 8601 format)
Filter tests created at or before this timestamp (ISO 8601 format)
Tests retrieved successfully
"test_123"
"prod_123"
"user_123"
"Quality Test"
QUALITY, RED_TEAMING, SCENARIOS "QUALITY"
"https://example.com/ground-truth.csv"
"https://example.com/test.csv"
PENDING, SUCCESS, FAILED, AUGMENTING "SUCCESS"
Optional few-shot examples (input/output pairs) used to guide test-case generation for QUALITY tests.
"Example few-shot learning data"
"en"
Test variants. QUALITY: rag, entity_extraction, summarization, classification, translation, correction, other. RED_TEAMING: data_leakage, financial_attacks, illegal_activities, misuse, toxicity, custom.
["rag", "summarization"]"Custom variant description"
Generation strategies. "original" is the default for RED_TEAMING. At least one strategy is required for SCENARIOS tests.
["original"]"Business analyst"
100
["gpt-4", "claude-3"]"https://example.com/data-catalog.json"
{ "key": "value" }"spec_123"