Broadcast (Beta)
Webhook
Send raw OTLP JSON traces of your EUrouter LLM requests to any HTTPS endpoint you control, with the setup and the payload format.
The Webhook destination sends raw OTLP JSON payloads to any HTTPS endpoint you control. Use this when you want to build custom integrations or send traces to a platform that isn't directly supported.
Setup
Prepare your endpoint
Set up an HTTPS endpoint that accepts POST requests with a JSON body. The payload follows the OTLP JSON format.
Add the destination in EUrouter
- Go to Broadcast in your dashboard
- Click Add Destination next to Webhook
- Enter your Endpoint URL
- Add an API key if your endpoint requires authentication
- Add Custom headers if needed
- Click Test Connection to verify
- Click Create
Configuration
| Field | Required | Description |
|---|---|---|
| Endpoint | Yes | HTTPS URL that accepts POST requests |
| API key | No | Authentication key, sent as a bearer token |
| Custom headers | No | Additional HTTP headers (comma-separated key=value pairs) |
Payload format
Each request sends an OTLP JSON payload containing trace spans with:
- Span attributes for model, provider, token usage, cost, and timing
- Resource attributes identifying EUrouter as the source
- Input/output events with message content (only for API keys with prompt forwarding switched on)
Decision attributes
The span attributes in the OTLP JSON include the decision EUrouter made for the request.
| Attribute | Type | Description |
|---|---|---|
eurouter.decision | string | allowed, redacted, blocked or error |
eurouter.reason_codes | string[] | Reason codes, such as pii.blocked or plan.rate_limited |
eurouter.pii_counts.<type> | int | Detected PII per type, for example eurouter.pii_counts.email |
eurouter.processing_countries | string[] | ISO country codes where the request was processed |
http.response.status_code | int | HTTP status EUrouter returned |
error.type | string | Blocked and failed requests only: the first reason code, or the decision |
Blocked and rejected requests arrive too, with zero tokens, no cost and never a prompt. See the decision record for the values.