Submit an asynchronous task for background processing. Returns a task ID for polling or webhook-based result retrieval.
taskId in the response that you can use to:
GET /v1/async/task/{taskId}webhook.url in the requestQUEUED. The scheduler processes tasks by priority first (higher numbers first), then in FIFO order within the same priority level.
priority from 1 (lowest, default) to 10 (highest). Tasks with higher priority are processed before lower-priority ones. If you don’t specify a priority, it defaults to 1.
Monitor your queue’s priority distribution using the async status endpoint.
idempotencyKey to prevent duplicate task creation. If you submit a request with an idempotency key that has already been used, the API returns a 409 Conflict error.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The 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.