v1
latestOpenAPI 3.0.12026-07-226992320.0 KBBatch Runs
Create Batch Run
Triggers a new batch run by executing the specified test cases in parallel against the selected agent. Returns the created batch including its batchId, which is required for subsequent get and list test-run calls.
post/v1/batch-runs
Request body
Example request
{
"agentId": "D5D0p7TUs66TTAEAx",
"testCases": [
"tc_xeeXG5hX9dl0VFNt",
"tc_aQqGZoMIPbU5MXHV"
]
}Response
Created
Example response
{
"batchId": "batch_s0OJu2JWR8R45Fai",
"workspaceId": "org_V6eZ2zg8ziDx5pft",
"agent": {
"name": "New AI Agent",
"agentId": "agent_D5D0p7TUs66TTAEAx",
"status": "Live"
},
"createdDate": "2026-03-26T10:52:45.565Z"
}