Skip to main content
POST
Run a test case

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Test case id.

Body

application/json
promptVersionId
string<uuid>
required

Version to run the test case against.

Response

Execution started, or refused because one is already running.

executionId
string
required

Background job id.

testCaseIds
string<uuid>[]
required
generationId
string<uuid>
required

Id of the generation created for this run; use it to poll status or read the result.