Skip to main content
POST
Create unified test run

Authorizations

X-Maitai-Api-Key
string
header
required

Your Maitai API key from the Portal.

Body

application/json
test_set_id
integer
required
consumer_type
enum<string>
required
Available options:
MODEL,
WORKFLOW,
AGENT
consumer_id
integer

Optional; workflow_id / agent_id for WORKFLOW / AGENT runs.

consumer_config
object

Consumer-specific config; validated against the variant matching consumer_type.

description
string
meta
object

Response

200 - application/json

Create unified test run.

data
any