Skip to main content
POST
Create Test Case

Authorizations

x-api-key
string
header
required

API key for authentication. Generate API keys from the RevRing dashboard.

Path Parameters

id
string<uuid>
required

Test suite ID

Body

application/json
name
string
required

Test case name

Maximum string length: 128
script
string
required

Conversation script the tester follows

Maximum string length: 10000
scoringRubric
string
required

Criteria for evaluating the agent's responses

Maximum string length: 5000
attemptsPerRun
integer
default:1

Number of attempts per test run

Required range: 1 <= x <= 10
variables
object | null

Test case specific variables (override suite defaults)

Response

Test case created

data
object

A test case within a test suite