Create an observability destination
Create a new observability destination. A maximum of 5 destinations per type is allowed. Defaults to the authenticated entity’s default workspace; use the workspace_id body field to scope to a different workspace. Management key required.
Authentication
AuthorizationBearer
API key as bearer token in Authorization header
Request
This endpoint expects an object.
config
Provider-specific configuration. The shape depends on type and is validated server-side.
name
Human-readable name for the destination.
type
The destination type. Only stable destination types are accepted.
api_key_hashes
Optional allowlist of OpenRouter API key hashes whose traffic is forwarded. null or omitted means all keys. Must contain at least one hash if provided.
enabled
Whether this destination should be enabled immediately.
filter_rules
Optional structured filter rules controlling which events are forwarded.
privacy_mode
When true, request/response bodies are not forwarded — only metadata.
sampling_rate
Sampling rate between 0 and 1 (1 = 100%).
workspace_id
Optional workspace ID. Defaults to the authenticated entity's default workspace.
Response
Destination created successfully
data
The newly created observability destination.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
500
Internal Server Error