Batch Runs
Create Batch Run
Changed onTriggers a new batch run by executing one test case the requested number of times 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
- Base URLhttps://api.sigmamind.ai
- AuthAPI key in header X-API-Key
Request body
Example request
{
"agentId": "agent_D5D0p7TUs66TTAEAx",
"testCaseId": "tc_xeeXG5hX9dl0VFNt",
"attempt": 5
}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.565905Z"
}Changes
- breaking
added the new required request property
- warning
removed the request property
- info
added the new optional request property
- breaking