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.
Authorizations
API key as bearer token in Authorization header
Body
Provider-specific configuration. The shape depends on type and is validated server-side.
{
"baseUrl": "https://us.cloud.langfuse.com",
"publicKey": "pk-l...EfGh",
"secretKey": "sk-l...AbCd"
}
Human-readable name for the destination.
"Production Langfuse"
The destination type. Only stable destination types are accepted.
arize, braintrust, clickhouse, datadog, grafana, langfuse, langsmith, newrelic, opik, otel-collector, posthog, ramp, s3, sentry, snowflake, weave, webhook "langfuse"
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.
1null
Whether this destination should be enabled immediately.
true
Optional structured filter rules controlling which events are forwarded.
null
When true, request/response bodies are not forwarded — only metadata.
false
Sampling rate between 0.0001 and 1 (1 = 100%).
1
Optional workspace ID. Defaults to the authenticated entity's default workspace.
"550e8400-e29b-41d4-a716-446655440000"
Response
Destination created successfully
The newly created observability destination.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
- Option 10
- Option 11
- Option 12
- Option 13
- Option 14
- Option 15
- Option 16
- Option 17
{
"api_key_hashes": null,
"config": {
"baseUrl": "https://us.cloud.langfuse.com",
"publicKey": "pk-l...EfGh",
"secretKey": "sk-l...AbCd"
},
"created_at": "2025-08-24T10:30:00Z",
"enabled": true,
"filter_rules": null,
"id": "99999999-aaaa-bbbb-cccc-dddddddddddd",
"name": "Production Langfuse",
"privacy_mode": false,
"sampling_rate": 1,
"type": "langfuse",
"updated_at": "2025-08-24T15:45:00Z",
"workspace_id": "550e8400-e29b-41d4-a716-446655440000"
}