Documentation Index
Fetch the complete documentation index at: https://docs.parallel.ai/llms.txt
Use this file to discover all available pages before exploring further.
For AI agents: a documentation index is available at https://docs.parallel.ai/llms.txt. The full text of all docs is at https://docs.parallel.ai/llms-full.txt. You may also fetch any page as Markdown by appending
.md to its URL or sending Accept: text/markdown.This feature is currently in beta and requires the
parallel-beta: webhook-2025-08-12 header when using the Task API.Prerequisites: Before implementing Task API webhooks, read Webhook Setup & Verification for critical information on:
- Recording your webhook secret
- Verifying HMAC signatures
- Security best practices
- Retry policies
Overview
Webhooks allow you to receive real-time notifications when your task runs complete, eliminating the need for constant polling—especially useful for long-running or research-intensive tasks.Setup
To register a webhook for a task run, include awebhook parameter in your task run creation request:
Webhook Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
url | string | Yes | Your webhook endpoint URL. Can be any domain. |
event_types | array[string] | Yes | Currently only ["task_run.status"] is supported. |
Event Types
Task API currently supports the following webhook event type:| Event Type | Description |
|---|---|
task_run.status | Emitted when a task run completes (success or failure) |
Webhook Payload Structure
Each webhook payload contains:timestamp: ISO 8601 timestamp of when the event occurredtype: Event typedata: Event-specific payload. For the ‘task_run.status’ event, it is the complete Task Run object
Example Payloads
Success
Failure