The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { ListObservabilityDestinationsResponse } from "@openrouter/sdk/models/operations";
let value: ListObservabilityDestinationsResponse = {
result: {
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 |
|---|---|---|---|---|
result | models.ListObservabilityDestinationsResponse | :heavy_check_mark: | N/A | {"data": [{"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” } ], “total_count”: 1<br/>} |