Overview
Webhooks allow you to receive real-time HTTP notifications when security events occur. Use them to integrate Bloom with your alerting systems (Slack, PagerDuty, etc.).Supported Events
| Event | Description |
|---|---|
injection_blocked | Prompt injection attack was detected and blocked |
agent_killed | An agent was terminated via kill switch |
anomaly_detected | Unusual agent behavior was detected |
permission_denied | Agent attempted unauthorized action |
rate_limit_exceeded | Agent exceeded rate limits |
mcp_tool_blocked | MCP tool call was blocked by permissions |
Creating a Webhook
Dashboard
- Go to Activity > Webhooks tab
- Click Add Webhook
- Configure:
- Name: Descriptive name
- URL: Your HTTPS endpoint
- Secret: Optional HMAC signing secret
- Events: Select which events to receive
API
Webhook Payload
All webhooks include:Event-Specific Data
- injection_blocked
- agent_killed
- anomaly_detected
- permission_denied
Signature Verification
If you provide a secret, Bloom signs each webhook with HMAC-SHA256:Verification Example (Python)
Verification Example (Node.js)
Retry Policy
Failed webhook deliveries are retried:| Attempt | Delay |
|---|---|
| 1 | Immediate |
| 2 | 1 minute |
| 3 | 5 minutes |
| 4 | 30 minutes |
| 5 | 2 hours |
Testing Webhooks
From Dashboard
- Go to Activity > Webhooks
- Find your webhook
- Click the Test button (paper plane icon)
Test Payload
Integration Examples
Slack
PagerDuty
Managing Webhooks
List Webhooks
Delete Webhook
View Webhook Stats
In the dashboard, each webhook shows:- Success/failure counts
- Last triggered time
- Recent delivery attempts