Skip to main content
POST
Run a suite

Authorizations

Authorization
string
header
required

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

Body

application/json

Run every case of a suite on every variant, each as many times as trials.

cases
maxItems(100) · object[]
required

an array of at most 100 item(s)

Required array length: 1 - 100 elements
suite
object
required

The suite the cases belong to, and the prompt they share.

trials
integer
required

a number between 1 and 10

Required range: 1 <= x <= 10
variants
maxItems(20) · object[]
required

an array of at most 20 item(s)

Required array length: 1 - 20 elements
local
boolean
trigger
object | null

What started this run. Client-reported context, not authorization.

Response

The batch started, and the run it holds for each case and variant.

The batch started, and the run it holds for each case and variant.

id
string
required
runs
object[]
required