list_webhooks
List all registered webhook subscriptions to audit integrations, verify Slack notifiers, or prepare for cleanup. Returns webhook IDs, URLs, events, filters, and secret status without exposing HMAC secrets.
Instructions
List every webhook subscription registered on the relay.
When to use: sanity-checking integrations ('is the Slack notifier still wired up?'), pre-cleanup audits, or building an admin UI. To narrow by event you currently filter client-side from this list.
Behavior: pure read. The raw HMAC secret is NEVER returned, each row exposes has_secret: boolean only. Auth: any registered agent (subscriptions are observable so admins can audit them, but secrets stay write-only).
Returns: { webhooks: { id, url, event, filter, has_secret, created_at }[], count }.
Errors: AUTH_FAILED, RATE_LIMITED.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_token | No | Your agent token (from register_agent response). Optional here — also resolvable from RELAY_AGENT_TOKEN env or X-Agent-Token header. |