ObservabilityWebhookDestination - Go SDK

ObservabilityWebhookDestination type definition

The Go SDK and docs are currently in beta. Report issues on GitHub.

Fields

FieldTypeRequiredDescriptionExample
APIKeyHashes[]string✔️Optional allowlist of OpenRouter API key hashes (api_keys.hash) whose traffic is forwarded to this destination. null means all keys.<nil>
Configcomponents.ObservabilityWebhookDestinationConfig✔️N/A
CreatedAtstring✔️ISO timestamp of when the destination was created.2025-08-24T10:30:00Z
Enabledbool✔️Whether this destination is currently enabled.true
FilterRules*components.ObservabilityFilterRulesConfig✔️Optional structured filter rules controlling which events are forwarded.<nil>
IDstring✔️Stable public identifier for this destination.99999999-aaaa-bbbb-cccc-dddddddddddd
Name*string✔️Human-readable name for the destination.Production Langfuse
PrivacyModebool✔️When true, request/response bodies are not forwarded to this destination — only metadata.false
SamplingRatefloat64✔️Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%).1
Typecomponents.ObservabilityWebhookDestinationType✔️N/A
UpdatedAtstring✔️ISO timestamp of when the destination was last updated.2025-08-24T15:45:00Z
WorkspaceIDstring✔️ID of the workspace this destination belongs to.550e8400-e29b-41d4-a716-446655440000