Update an existing test case. 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-....
Test case ID
"tc_123"
"test_123"
"user_123"
Structured input data. For plain text input, format is { user_message: "..." }
{
"user_message": "What is the capital of France?"
}"Paris"
["search", "calculator"]Structured context data. For plain text context, format is { value: "..." }
{ "value": "Geography question" }"manual"
0.95
"High quality data"
"VARIANT_1"
"STRATEGY_1"
"en"
"Student"
"Educational quiz"
"Test geographical knowledge"
["MAX_ITERATIONS", "GOAL_ACHIEVED"]10
false
"user_456"
5
"Accurate and complete"
1
Test case updated successfully
"tc_123"
"test_123"
"user_123"
Structured input data. For plain text input, format is { user_message: "..." }
{
"user_message": "What is the capital of France?"
}"Paris"
["search", "calculator"]Structured context data. For plain text context, format is { value: "..." }
{ "value": "Geography question" }"manual"
0.95
"High quality data"
"VARIANT_1"
"STRATEGY_1"
"en"
"Student"
"Educational quiz"
"Test geographical knowledge"
["MAX_ITERATIONS", "GOAL_ACHIEVED"]10
false
"user_456"
5
"Accurate and complete"
1