UpdateObservabilityDestinationRequest - Python SDK
UpdateObservabilityDestinationRequest - Python SDK
UpdateObservabilityDestinationRequest method reference
UpdateObservabilityDestinationRequest - Python SDK
The Python SDK and docs are currently in beta. Report issues on GitHub.
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
api_key_hashes | List[str] | ➖ | Optional allowlist of OpenRouter API key hashes. null clears the filter (all keys). Omitting leaves the current value. Must contain at least one hash if provided. | <nil> |
config | Dict[str, Nullable[Any]] | ➖ | Provider-specific configuration fields to update. Masked values are ignored; unset fields keep their current value. | {"baseUrl": "https://us.cloud.langfuse.com","publicKey": "pk-l...EfGh","secretKey": "sk-l...AbCd"} |
enabled | Optional[bool] | ➖ | Whether the destination is enabled. | true |
filter_rules | OptionalNullable[components.ObservabilityFilterRulesConfig] | ➖ | N/A | <nil> |
name | Optional[str] | ➖ | Human-readable name for the destination. | Production Langfuse |
privacy_mode | Optional[bool] | ➖ | When true, request/response bodies are not forwarded — only metadata. | false |
sampling_rate | Optional[float] | ➖ | Sampling rate between 0.0001 and 1 (1 = 100%). | 1 |