v6

latestOpenAPI 3.1.0raw.githubusercontent.com2025-06-241833312.7 KB
Tasks Events

Task Failed

This event is triggered when a task is failed in the system.

postWebhooktask.failed

Payload

idstring required

The id of the event

timestampstring required

The timestamp of the moment when the event was created in ISO 8601 format

type'task.failed' required

The type of the event

Example payload

{
  "id": "event_euyrvozb9302uwhq",
  "type": "task.failed",
  "data": {
    "id": "task_euyrvozb9302uwhq",
    "operation": "apply-effect",
    "result": {
      "error": "Task execution failed",
      "details": {
        "reason": "Network error",
        "code": 500
      }
    }
  },
  "timestamp": "2023-10-01T12:00:00Z"
}

Response

Webhook received successfully