Command Reference
Webhooks
Create, list, test, and delete async inference webhooks.
Manage the webhooks that receive async inference results for your team. The commands call the Webhooks Management API, so the same access rules apply.
Commands
Run inf webhook <verb> --help for each verb's options.
| Verb | Description |
|---|---|
create | Create a webhook (--url, optional --name) |
list | List the team's webhooks (--limit, --offset) |
get | Get a webhook (--webhook-id) |
update | Change a webhook's --name, --url, or --is-disabled |
test | Send a test delivery to a webhook (--webhook-id, optional --event-type) |
delete | Delete a webhook (--webhook-id). Asks for confirmation; pass --yes in scripts |
Examples
inf webhook create --name "Production receiver" --url https://example.com/webhooks/inference
inf webhook list
inf webhook test --webhook-id <id> --event-type generation.completed
inf webhook delete --webhook-id <id> --yesThe identifier field in the output is the value to send as metadata.webhook_id on generations.