UpdateObservabilityDestinationRequest - TypeScript SDK

UpdateObservabilityDestinationRequest type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

1import { UpdateObservabilityDestinationRequest } from "@openrouter/sdk/models";
2
3let value: UpdateObservabilityDestinationRequest = {};

Fields

FieldTypeRequiredDescriptionExample
apiKeyHashesstring[]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*>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"}
enabledbooleanWhether the destination is enabled.true
filterRulesmodels.ObservabilityFilterRulesConfigN/A<nil>
namestringHuman-readable name for the destination.Production Langfuse
privacyModebooleanWhen true, request/response bodies are not forwarded — only metadata.false
samplingRatenumberSampling rate between 0 and 1 (1 = 100%).1