Lifecycle
Task statuses:| Status | Meaning |
|---|---|
pending | Task was created and queued. |
processing | Worker started provider execution or polling. |
completed | Output, cost, and usage have been recorded. |
failed | The task ended with an error message. |
Create a Task
Poll a Task
List Tasks
data.pagination.
Webhooks
Passwebhook_url when creating a task:
| Header | Description |
|---|---|
X-EggAPI-Timestamp | Unix timestamp used in the signature payload. |
X-EggAPI-Signature | sha256= plus HMAC-SHA256 of {timestamp}.{raw_body} using your webhook secret. |