Skip to main content
POST
/
workflow-test-runs
Create workflow test run
curl --request POST \
  --url https://api.trymaitai.ai/api/v1/workflow-test-runs \
  --header 'Content-Type: application/json' \
  --header 'X-Maitai-Api-Key: <api-key>' \
  --data '
{
  "test_set_id": 25,
  "workflow_id": 42,
  "workflow_tag": "prod",
  "description": "Run prod workflow against holdout set",
  "concurrency": 10
}
'
{
  "data": "<unknown>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.trymaitai.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Maitai-Api-Key
string
header
required

Your Maitai API key from the Portal.

Body

application/json
test_set_id
integer
required
workflow_id
integer
workflow_tag
string
description
string
evaluation_criteria_ids
integer[]
meta
object
config
object
concurrency
integer

Response

201 - application/json

Create workflow test run.

data
any