Skip to main content
POST
/
v1
/
batch-runs
Create Batch Run
curl --request POST \
  --url https://api.sigmamind.ai/v1/batch-runs \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "agentId": "D5D0p7TUs66TTAEAx",
  "testCases": [
    "tc_xeeXG5hX9dl0VFNt",
    "tc_aQqGZoMIPbU5MXHV"
  ]
}
'
{
  "error": "Bad Request",
  "message": "Invalid request parameters",
  "path": "/v1/batch-runs",
  "status": 400,
  "timestamp": "2026-04-17T08:21:07.338Z"
}

Authorizations

X-API-Key
string
header
required

API Key is required in header. You can find it in the settings

Body

application/json
agentId
string
required

The unique identifier of the Agent assigned to handle the chat simulation.

Example:

"D5D0p7TUs66TTAEAx"

testCases
string[]
required

The list of the Test Cases to be run in a batch simulation.

The list of the Test Cases to be run in a batch simulation.

Example:
[
  "tc_xeeXG5hX9dl0VFNt",
  "tc_aQqGZoMIPbU5MXHV"
]

Response

OK