ObservabilityLangsmithDestination - Python SDK

ObservabilityLangsmithDestination method reference

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

Fields

FieldTypeRequiredDescriptionExample
api_key_hashesList[str]✔️Optional allowlist of OpenRouter API key hashes (api_keys.hash) whose traffic is forwarded to this destination. null means all keys.<nil>
configcomponents.ObservabilityLangsmithDestinationConfig✔️N/A
created_atstr✔️ISO timestamp of when the destination was created.2025-08-24T10:30:00Z
enabledbool✔️Whether this destination is currently enabled.true
filter_rulesNullable[components.ObservabilityFilterRulesConfig]✔️Optional structured filter rules controlling which events are forwarded.<nil>
idstr✔️Stable public identifier for this destination.99999999-aaaa-bbbb-cccc-dddddddddddd
nameNullable[str]✔️Human-readable name for the destination.Production Langfuse
privacy_modebool✔️When true, request/response bodies are not forwarded to this destination — only metadata.false
sampling_ratefloat✔️Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%).1
typecomponents.ObservabilityLangsmithDestinationType✔️N/A
updated_atstr✔️ISO timestamp of when the destination was last updated.2025-08-24T15:45:00Z
workspace_idstr✔️ID of the workspace this destination belongs to.550e8400-e29b-41d4-a716-446655440000