Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

import { UpdateObservabilityDestinationRequest } from "@openrouter/sdk/models";

let value: UpdateObservabilityDestinationRequest = {};

Fields

FieldTypeRequiredDescriptionExample
apiKeyHashesstring[]: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.<nil>
configRecord<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"}
enabledboolean:heavy_minus_sign:Whether the destination is enabled.true
filterRulesmodels.ObservabilityFilterRulesConfig:heavy_minus_sign:N/A<nil>
namestring:heavy_minus_sign:Human-readable name for the destination.Production Langfuse
privacyModeboolean:heavy_minus_sign:When true, request/response bodies are not forwarded — only metadata.false
samplingRatenumber:heavy_minus_sign:Sampling rate between 0.0001 and 1 (1 = 100%).1