Skip to main content
POST
Create Test Case

Request

Path Parameters

string
required
The project ID

Headers

string
required
Bearer token using your developer key

Body

string
required
Name of the test case
string
required
The system prompt used to simulate the user in the test
integer
required
Maximum number of conversation turns (minimum 1)
object
Key-value pairs of variables to inject into the test
array
Array of acceptance criteria descriptions (strings)

Response

Returns the created test case with status 201.

Example