Batches

Batch management

Update project batches

post

Updates batch definitions for a project

Authorizations
Path parameters
projectIdstringRequired

Project ID

Body
Responses
200

Batches updated successfully

application/json
post
POST /v2/batches/{projectId} HTTP/1.1
Host: imeritapi.ango.ai
apikey: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 68

{
  "batches": [
    {
      "name": "text",
      "description": "text",
      "color": "#FF5733"
    }
  ]
}
200

Batches updated successfully

{
  "status": "success",
  "data": {
    "project": {
      "_id": "text",
      "name": "text",
      "description": "text",
      "type": "ango",
      "owner": "text",
      "organization": "text",
      "categorySchema": {
        "tools": [
          {}
        ],
        "classifications": [
          {}
        ],
        "relations": [
          {}
        ]
      },
      "stages": [
        {
          "id": "text",
          "name": "text",
          "type": "Label",
          "next": [
            "text"
          ]
        }
      ],
      "assignedTo": [
        {
          "assignee": "text",
          "role": "Manager"
        }
      ],
      "batches": [
        {
          "name": "text",
          "description": "text",
          "color": "#FF5733"
        }
      ],
      "queueVersion": 2,
      "assetCount": 1,
      "benchmarkEnabled": true,
      "benchmarkRatio": 1,
      "instructions": "text",
      "ocrLanguage": "text",
      "idleTimeout": 1,
      "projectPlugins": {},
      "pluginPresets": [
        {}
      ],
      "errorCodesEnabled": true,
      "errorSchema": {},
      "exportStorageId": "text",
      "exportStorageBucket": "text",
      "exportStoragePath": "text",
      "exportStorageEnabled": true,
      "taskSkipEnabled": true,
      "unassignSkippedTask": true,
      "gcSyncEnabled": true,
      "deleted": true,
      "createdAt": "2025-10-07T12:40:37.043Z",
      "updatedAt": "2025-10-07T12:40:37.043Z"
    }
  }
}