list_webhooks
Audit active webhook subscriptions on the relay, viewing URLs, events, filters, and secret presence—without exposing raw 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. |