The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { ListObservabilityDestinationsResponse } from "@openrouter/sdk/models";
let value: ListObservabilityDestinationsResponse = {
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",
},
],
totalCount: 1,
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
data | models.ObservabilityDestination[] | :heavy_check_mark: | List of observability destinations. | |
totalCount | number | :heavy_check_mark: | Total number of destinations matching the filters. | 1 |