ObservabilityNewrelicDestination - TypeScript SDK

ObservabilityNewrelicDestination type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

1import { ObservabilityNewrelicDestination } from "@openrouter/sdk/models";
2
3let value: ObservabilityNewrelicDestination = {
4 apiKeyHashes: null,
5 config: {
6 licenseKey: "<value>",
7 },
8 createdAt: "2025-08-24T10:30:00Z",
9 enabled: true,
10 filterRules: null,
11 id: "99999999-aaaa-bbbb-cccc-dddddddddddd",
12 name: "Production Langfuse",
13 privacyMode: false,
14 samplingRate: 1,
15 type: "newrelic",
16 updatedAt: "2025-08-24T15:45:00Z",
17 workspaceId: "550e8400-e29b-41d4-a716-446655440000",
18};

Fields

FieldTypeRequiredDescriptionExample
apiKeyHashesstring[]✔️Optional allowlist of OpenRouter API key hashes (api_keys.hash) whose traffic is forwarded to this destination. null means all keys.<nil>
configmodels.ObservabilityNewrelicDestinationConfig✔️N/A
createdAtstring✔️ISO timestamp of when the destination was created.2025-08-24T10:30:00Z
enabledboolean✔️Whether this destination is currently enabled.true
filterRulesmodels.ObservabilityFilterRulesConfig✔️Optional structured filter rules controlling which events are forwarded.<nil>
idstring✔️Stable public identifier for this destination.99999999-aaaa-bbbb-cccc-dddddddddddd
namestring✔️Human-readable name for the destination.Production Langfuse
privacyModeboolean✔️When true, request/response bodies are not forwarded to this destination — only metadata.false
samplingRatenumber✔️Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%).1
type”newrelic”✔️N/A
updatedAtstring✔️ISO timestamp of when the destination was last updated.2025-08-24T15:45:00Z
workspaceIdstring✔️ID of the workspace this destination belongs to.550e8400-e29b-41d4-a716-446655440000