Skip to main content
POST
Run a multi-model comparison (async)

Authorizations

Authorization
string
header
required

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

Body

application/json
prompt
string
required
Maximum string length: 4000
models
string[]
required
Required array length: 2 - 12 elements
params_shared
object

Response

Comparison queued. Poll /v1/comparisons/{id} or subscribe via webhook.

id
string
object
enum<string>
Available options:
comparison
status
enum<string>
Available options:
queued,
running,
succeeded,
partial,
failed
prompt
string
params_shared
object
reserved_credits
integer
created_at
string<date-time>
finished_at
string<date-time> | null
generations
object[]