Endpoints
| Method | Path | Description |
|---|---|---|
GET | /v1/webhooks | List all webhooks |
POST | /v1/webhooks | Create a webhook |
DELETE | /v1/webhooks/{id} | Delete a webhook |
Create a webhook
Request body
The HTTPS endpoint that will receive POST requests.
Event patterns to subscribe to. Supports wildcards.Examples:
["*"]— all events["task:*"]— all task events["task:created", "task:transition"]— specific events["mission:*", "agent:*"]— multiple patterns
Response
List webhooks
Response
Delete a webhook
Event payload
When an event matches your subscription, Polpo sends a POST request to your URL with this payload:event field matches the same event names used in SSE events.
Available event patterns
| Pattern | Description |
|---|---|
* | All events |
task:* | Task created, transition, updated, retry, killed |
mission:* | Mission executed, completed, aborted, saved |
agent:* | Agent spawned, output, completed |
assessment:* | Assessment started, completed, score |
approval:* | Approval requested, resolved, timeout |
schedule:* | Schedule triggered, created, completed |
Delivery behavior
- Webhooks are delivered at most once (fire-and-forget)
- Failed deliveries are not retried
- Delivery order follows event emission order
- Maximum 10 webhooks per project
- Endpoint must respond within 10 seconds