Python SDKAPI ReferenceComponents
ObservabilityPosthogDestination - Python SDK
ObservabilityPosthogDestination - Python SDK
ObservabilityPosthogDestination method reference
The Python SDK and docs are currently in beta. Report issues on GitHub.
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
api_key_hashes | List[str] | ✔️ | Optional allowlist of OpenRouter API key hashes (api_keys.hash) whose traffic is forwarded to this destination. null means all keys. | <nil> |
config | components.ObservabilityPosthogDestinationConfig | ✔️ | N/A | |
created_at | str | ✔️ | ISO timestamp of when the destination was created. | 2025-08-24T10:30:00Z |
enabled | bool | ✔️ | Whether this destination is currently enabled. | true |
filter_rules | Nullable[components.ObservabilityFilterRulesConfig] | ✔️ | Optional structured filter rules controlling which events are forwarded. | <nil> |
id | str | ✔️ | Stable public identifier for this destination. | 99999999-aaaa-bbbb-cccc-dddddddddddd |
name | Nullable[str] | ✔️ | Human-readable name for the destination. | Production Langfuse |
privacy_mode | bool | ✔️ | When true, request/response bodies are not forwarded to this destination — only metadata. | false |
sampling_rate | float | ✔️ | Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%). | 1 |
type | components.ObservabilityPosthogDestinationType | ✔️ | N/A | |
updated_at | str | ✔️ | ISO timestamp of when the destination was last updated. | 2025-08-24T15:45:00Z |
workspace_id | str | ✔️ | ID of the workspace this destination belongs to. | 550e8400-e29b-41d4-a716-446655440000 |