For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
ModelsChatRankingsDocs
DocsAPI ReferenceClient SDKsAgent SDKCookbookChangelog
DocsAPI ReferenceClient SDKsAgent SDKCookbookChangelog
    • Overview
    • Usage for Agents
  • TypeScript SDK
    • Overview
      • Analytics
      • APIKeys
      • Byok
      • Chat
      • Credits
      • Embeddings
      • Endpoints
      • Generations
      • Guardrails
        • Models
        • UpdateObservabilityDestinationRequest
      • OAuth
      • Observability
      • Organization
      • Presets
      • Providers
      • Rerank
      • Beta.Responses
      • Transcriptions
      • Speech
      • VideoGeneration
      • Workspaces
  • Python SDK
    • Overview
  • Go SDK
  • DevTools
    • Overview
    • Migrating to @openrouter/agent
LogoLogo
ModelsChatRankingsDocs
On this page
  • Example Usage
  • Fields
TypeScript SDKAPI ReferenceModels

UpdateObservabilityDestinationRequest - TypeScript SDK

UpdateObservabilityDestinationRequest type definition
Was this page helpful?
Previous

OAuth - TypeScript SDK

OAuth method reference
Next
Built with

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