Cloro Incorporation Ltd. · Schema
BatchTaskResponse
CompanySearchArtificial IntelligenceWeb ScrapingSERPGenerative Engine OptimizationSEOBrand MonitoringMarket ResearchData ExtractionMCP
Properties
| Name | Type | Description |
|---|---|---|
| success | boolean | Always true for a successfully processed batch (individual tasks may still fail). |
| summary | object | Aggregate counts for the batch. |
| results | array | Per-task results preserving the original input order by index. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/cloro-dev/json-schema/cloro-dev-batch-task-response-schema.json",
"title": "BatchTaskResponse",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/cloro-dev-async-api-openapi.yml#/components/schemas/BatchTaskResponse",
"type": "object",
"required": [
"success",
"summary",
"results"
],
"properties": {
"success": {
"type": "boolean",
"description": "Always true for a successfully processed batch (individual tasks may still fail)."
},
"summary": {
"type": "object",
"required": [
"total",
"succeeded",
"failed"
],
"description": "Aggregate counts for the batch.",
"properties": {
"total": {
"type": "integer",
"description": "Total number of tasks submitted in the batch."
},
"succeeded": {
"type": "integer",
"description": "Number of tasks successfully created."
},
"failed": {
"type": "integer",
"description": "Number of tasks that failed validation or processing."
}
}
},
"results": {
"type": "array",
"description": "Per-task results preserving the original input order by index.",
"items": {
"oneOf": [
{
"$ref": "#/$defs/BatchTaskSuccessResult"
},
{
"$ref": "#/$defs/BatchTaskFailureResult"
}
]
}
}
},
"$defs": {
"AsyncTaskCredits": {
"type": "object",
"required": [
"creditsToCharge",
"creditsCharged"
],
"description": "Credit information for an async task.",
"properties": {
"creditsToCharge": {
"type": "number",
"description": "Estimated cost, computed when the task is submitted. Nothing is reserved or deducted then; credits are deducted only when the task completes."
},
"creditsCharged": {
"type": [
"number",
"null"
],
"description": "Credits actually charged: null until the task finishes, then the amount billed for `COMPLETED`, or `0` for `FAILED` (failed tasks are never charged). Equals `creditsToCharge`, except that AI Mode with `include.expandProducts` adds +1 credit per product cluster returned."
}
}
},
"AsyncTaskSummary": {
"type": "object",
"required": [
"id",
"taskType",
"status",
"priority",
"createdAt"
],
"description": "Common task summary fields shared across async task responses.",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "Unique task identifier."
},
"taskType": {
"type": "string",
"enum": [
"AIMODE",
"GOOGLE",
"GOOGLE_NEWS",
"GEMINI",
"CHATGPT",
"COPILOT",
"PERPLEXITY",
"GROK"
],
"description": "The AI provider for this task."
},
"status": {
"type": "string",
"enum": [
"QUEUED",
"PROCESSING",
"COMPLETED",
"FAILED"
],
"description": "Current task status."
},
"priority": {
"type": "integer",
"description": "Task priority level (1-10). Higher numbers are processed first. Defaults to 1.",
"minimum": 1,
"maximum": 10
},
"createdAt": {
"type": "string",
"format": "date-time",
"description": "Timestamp when the task was created."
},
"latencyMs": {
"type": [
"integer",
"null"
],
"description": "Processing time in milliseconds, from first pickup to the final outcome. Excludes the initial queue wait, but on a retried task covers every attempt including the backoff between them. Null while the task is `QUEUED` or `PROCESSING`, and on a task that failed before processing started."
},
"idempotencyKey": {
"type": [
"string",
"null"
],
"description": "The idempotency key if one was provided."
}
}
},
"BatchTaskFailureResult": {
"type": "object",
"required": [
"success",
"index",
"error"
],
"properties": {
"success": {
"type": "boolean",
"enum": [
false
],
"description": "Indicates this task failed."
},
"index": {
"type": "integer",
"description": "The zero-based position of this task in the original request array."
},
"error": {
"type": "object",
"required": [
"code",
"message",
"timestamp"
],
"properties": {
"code": {
"type": "string",
"description": "Error code identifying the failure reason.",
"enum": [
"VALIDATION_ERROR",
"RESOURCE_ALREADY_EXISTS",
"INSUFFICIENT_CREDITS"
]
},
"message": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"type": "object",
"description": "Additional context about the error, such as field-level validation failures."
},
"timestamp": {
"type": "string",
"format": "date-time",
"description": "Timestamp when the error occurred."
}
}
}
}
},
"BatchTaskSuccessResult": {
"type": "object",
"required": [
"success",
"index",
"task",
"credits"
],
"properties": {
"success": {
"type": "boolean",
"enum": [
true
],
"description": "Indicates this task was created successfully."
},
"index": {
"type": "integer",
"description": "The zero-based position of this task in the original request array."
},
"task": {
"allOf": [
{
"$ref": "#/$defs/AsyncTaskSummary"
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"QUEUED"
],
"description": "Initial status of a newly created task."
}
}
}
]
},
"credits": {
"$ref": "#/$defs/AsyncTaskCredits"
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cloro-dev-batch-task-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.