The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { ObservabilityOtelCollectorDestinationConfig } from "@openrouter/sdk/models";
let value: ObservabilityOtelCollectorDestinationConfig = {
endpoint: "<value>",
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
endpoint | string | :heavy_check_mark: | N/A |
headers | Record<string, *string*> | :heavy_minus_sign: | Custom HTTP headers as a JSON object. For Axiom, use {"Authorization": "Bearer xaat-xxx", "X-Axiom-Dataset": "your-dataset"} |