Skip to main content
GET
Get test case by ID

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-....

Path Parameters

id
string
required

Test case ID

Response

Test case retrieved successfully

id
string
Example:

"tc_123"

testId
string
Example:

"test_123"

userId
string | null
Example:

"user_123"

input
object | null

Structured input data. For plain text input, format is { user_message: "..." }

Example:
expectedOutput
string | null
Example:

"Paris"

expectedTools
string[]
Example:
context
object | null

Structured context data. For plain text context, format is { value: "..." }

Example:
source
string | null
Example:

"manual"

sourceFile
string | null
confidence
number | null
Example:

0.95

confidenceReason
string | null
Example:

"High quality data"

variant
string | null
Example:

"VARIANT_1"

strategy
string | null
Example:

"STRATEGY_1"

languageCode
string | null

BCP-47 language tag (e.g. en, es-MX). The region subtag selects the regional variety in simulated user messages and voice synthesis; generated test text keeps the base language. The value is stored as the full tag.

Example:

"es-MX"

gender
enum<string> | null

Persona-derived gender ("MALE"/"FEMALE") for the male/female synthesized caller voice in phone (voice) evaluations. Stored only for now (not consumed yet). Ignored by text evaluations.

Available options:
MALE,
FEMALE
Example:

"FEMALE"

backgroundNoiseProfile
enum<string> | null

Background noise mixed into the simulated caller audio during a voice test. Clip-backed (office, street, car) or synthetic (white, pink). Null means off; set together with backgroundNoiseLevel.

Available options:
office,
street,
car,
white,
pink
Example:

"street"

backgroundNoiseLevel
enum<string> | null

How loud the background noise is relative to the caller speech. Null means off; set together with backgroundNoiseProfile.

Available options:
light,
medium,
heavy
Example:

"medium"

userPersona
string | null
Example:

"Student"

scenario
string | null
Example:

"Educational quiz"

goal
string | null
Example:

"Test geographical knowledge"

archetype
string | null
Example:

"data_grounded"

specRelevance
string | null
Example:

"direct"

stoppingCriterias
string[]
Example:
maxIterations
integer | null
Example:

10

isAugmented
boolean
Example:

false

reviewedById
string | null
Example:

"user_456"

userScore
integer | null
Example:

5

userScoreReason
string | null
Example:

"Accurate and complete"

creditsUsed
integer | null
Example:

1

sourceTestCaseId
string | null
testCaseGroupId
string | null

Revision family key shared by every revision of this test case.

Example:

"testCaseGroup_123"

parentTestCaseId
string | null

The revision this row was forked from; null for a family root.

legacyAt
string<date-time> | null

Set when this revision was superseded by a newer one; null for the active head.

createdAt
string<date-time>
deletedAt
string<date-time> | null