Submit up to 500 async tasks in a single request. Each task is validated independently, and results include per-task success or failure details.
Documentation Index
Fetch the complete documentation index at: https://docs.cloro.dev/llms.txt
Use this file to discover all available pages before exploring further.
results array with success or failure details for each task, preserving the original input order by index.429 error.taskType, payload, and optionally priority, idempotencyKey, and webhook.
| Constraint | Value |
|---|---|
| Minimum tasks per request | 1 |
| Maximum tasks per request | 500 |
| Queue capacity check | All-or-nothing. The batch is rejected if it would exceed your organization’s 100,000 task queue limit |
422 Unprocessable Entity error before any task-level processing begins.| Code | Description |
|---|---|
VALIDATION_ERROR | The task failed schema validation. details includes field-level errors. |
RESOURCE_ALREADY_EXISTS | The idempotencyKey was already used (either in a previous request or earlier in the same batch). |
INSUFFICIENT_CREDITS | Not enough credits remaining for this task. Credits are tracked per task within the batch. |
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
1 - 500 elementsThe AI provider to use for this task.
AIMODE, GOOGLE, GOOGLE_NEWS, GEMINI, CHATGPT, COPILOT, PERPLEXITY, GROK "CHATGPT"
Provider-specific request payload. Must include at least prompt (or query for Google Search).
{
"prompt": "What do you know about Acme Corp?",
"country": "US"
}Task priority level (1-10). Higher numbers are processed first. Defaults to 1.
1 <= x <= 105
Unique string to prevent duplicate task creation. Must be unique across your account.
"batch-chatgpt-001"
Webhook configuration for task completion notification.
Batch processed. Check the summary and individual results for per-task success or failure.