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

Example Usage

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

let value: UpdateObservabilityDestinationResponse = {
  data: {
    apiKeyHashes: null,
    config: {
      baseUrl: "https://us.cloud.langfuse.com",
      publicKey: "pk-l...EfGh",
      secretKey: "sk-l...AbCd",
    },
    createdAt: "2025-08-24T10:30:00Z",
    enabled: true,
    filterRules: null,
    id: "99999999-aaaa-bbbb-cccc-dddddddddddd",
    name: "Production Langfuse",
    privacyMode: false,
    samplingRate: 1,
    type: "langfuse",
    updatedAt: "2025-08-24T15:45:00Z",
    workspaceId: "550e8400-e29b-41d4-a716-446655440000",
  },
};

Fields

FieldTypeRequiredDescriptionExample
datamodels.ObservabilityDestination:heavy_check_mark:N/A{"api_key_hashes": null,"config": {"baseUrl": "https://us.cloud.langfuse.com","publicKey": "pk-l...EfGh","secretKey": "sk-l...AbCd"},
“created_at”: “2025-08-24T10:30:00Z”,
“enabled”: true,
“filter_rules”: null,
“id”: “99999999-aaaa-bbbb-cccc-dddddddddddd”,
“name”: “Production Langfuse”,
“privacy_mode”: false,
“sampling_rate”: 1,
“type”: “langfuse”,
“updated_at”: “2025-08-24T15:45:00Z”,
“workspace_id”: “550e8400-e29b-41d4-a716-446655440000”
}