Skip to main content
The Python SDK and docs are currently in beta. Report issues on GitHub.

Fields

FieldTypeRequiredDescriptionExample
api_key_hashesList[str]:heavy_minus_sign: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.<nil>
configDict[str, Nullable[Any]]:heavy_check_mark: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"}
enabledOptional[bool]:heavy_minus_sign:Whether this destination should be enabled immediately.true
filter_rulesOptionalNullable[components.ObservabilityFilterRulesConfig]:heavy_minus_sign:Optional structured filter rules controlling which events are forwarded.<nil>
namestr:heavy_check_mark:Human-readable name for the destination.Production Langfuse
privacy_modeOptional[bool]:heavy_minus_sign:When true, request/response bodies are not forwarded — only metadata.false
sampling_rateOptional[float]:heavy_minus_sign:Sampling rate between 0.0001 and 1 (1 = 100%).1
typecomponents.CreateObservabilityDestinationRequestType:heavy_check_mark:The destination type. Only stable destination types are accepted.langfuse
workspace_idOptional[str]:heavy_minus_sign:Optional workspace ID. Defaults to the authenticated entity’s default workspace.550e8400-e29b-41d4-a716-446655440000