Example Usage
import { UpdateObservabilityDestinationRequest } from "@openrouter/sdk/models";
let value: UpdateObservabilityDestinationRequest = {};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
apiKeyHashes | string[] | :heavy_minus_sign: | 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. | null |
config | Record<string, any> | :heavy_minus_sign: | 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 | :heavy_minus_sign: | Whether the destination is enabled. | true |
filterRules | models.ObservabilityFilterRulesConfigNullable | :heavy_minus_sign: | N/A | null |
name | string | :heavy_minus_sign: | Human-readable name for the destination. | Production Langfuse |
privacyMode | boolean | :heavy_minus_sign: | When true, request/response bodies are not forwarded — only metadata. | false |
samplingRate | number | :heavy_minus_sign: | Sampling rate between 0.0001 and 1 (1 = 100%). | 1 |