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

Example Usage

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

let value: ObservabilityLangsmithDestinationConfig = {
  apiKey: "<value>",
};

Fields

FieldTypeRequiredDescription
apiKeystring:heavy_check_mark:N/A
endpointstring:heavy_minus_sign:N/A
headersRecord<string, *string*>:heavy_minus_sign:Custom HTTP headers to include in requests to this destination.
projectstring:heavy_minus_sign:The name for this project, such as pr-openrouter-demo. Defaults to “main” if not set.
workspaceIdstring:heavy_minus_sign:Required for org-scoped API keys. Find this in your LangSmith workspace settings.