UpdateObservabilityDestinationRequest - TypeScript SDK
UpdateObservabilityDestinationRequest - TypeScript SDK
UpdateObservabilityDestinationRequest type definition
UpdateObservabilityDestinationRequest - TypeScript SDK
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
1 import { UpdateObservabilityDestinationRequest } from "@openrouter/sdk/models"; 2 3 let value: UpdateObservabilityDestinationRequest = {};
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
apiKeyHashes | string[] | ➖ | 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 | Record<string, *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 | boolean | ➖ | Whether the destination is enabled. | true |
filterRules | models.ObservabilityFilterRulesConfig | ➖ | N/A | <nil> |
name | string | ➖ | Human-readable name for the destination. | Production Langfuse |
privacyMode | boolean | ➖ | When true, request/response bodies are not forwarded — only metadata. | false |
samplingRate | number | ➖ | Sampling rate between 0 and 1 (1 = 100%). | 1 |