> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# CreateObservabilityDestinationRequest

## Fields

| Field                               | Type                                                                                                                                                        | Required             | Description                                                                                                                                               | Example                                                                                                                                                      |
| ----------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `APIKeyHashes`                      | optionalnullable.OptionalNullable\[\[]`string`]                                                                                                             | :heavy\_minus\_sign: | Optional allowlist of OpenRouter API key hashes whose traffic is forwarded. `null` or omitted means all keys. Must contain at least one hash if provided. | null                                                                                                                                                         |
| `BroadcastGenerationCost`           | `*bool`                                                                                                                                                     | :heavy\_minus\_sign: | When true, include cost and billing generation metadata.                                                                                                  | false                                                                                                                                                        |
| `BroadcastGenerationIdentity`       | `*bool`                                                                                                                                                     | :heavy\_minus\_sign: | When true, include identity generation metadata.                                                                                                          | false                                                                                                                                                        |
| `BroadcastGenerationRequestContext` | `*bool`                                                                                                                                                     | :heavy\_minus\_sign: | When true, include request-context generation metadata.                                                                                                   | false                                                                                                                                                        |
| `Config`                            | map\[string]`any`                                                                                                                                           | :heavy\_check\_mark: | Provider-specific configuration. The shape depends on `type` and is validated server-side.                                                                | \{<br />"baseUrl": "[https://us.cloud.langfuse.com](https://us.cloud.langfuse.com)",<br />"publicKey": "pk-l...EfGh",<br />"secretKey": "sk-l...AbCd"<br />} |
| `Enabled`                           | `*bool`                                                                                                                                                     | :heavy\_minus\_sign: | Whether this destination should be enabled immediately.                                                                                                   | true                                                                                                                                                         |
| `FilterRules`                       | optionalnullable.OptionalNullable\[[components.ObservabilityFilterRulesConfigNullable](../../models/components/observabilityfilterrulesconfignullable.mdx)] | :heavy\_minus\_sign: | Optional structured filter rules controlling which events are forwarded.                                                                                  | null                                                                                                                                                         |
| `Name`                              | `string`                                                                                                                                                    | :heavy\_check\_mark: | Human-readable name for the destination.                                                                                                                  | Production Langfuse                                                                                                                                          |
| `PrivacyMode`                       | `*bool`                                                                                                                                                     | :heavy\_minus\_sign: | When true, request/response bodies are not forwarded — only metadata.                                                                                     | false                                                                                                                                                        |
| `SamplingRate`                      | `*float64`                                                                                                                                                  | :heavy\_minus\_sign: | Sampling rate between 0.0001 and 1 (1 = 100%).                                                                                                            | 1                                                                                                                                                            |
| `Type`                              | [components.CreateObservabilityDestinationRequestType](../../models/components/createobservabilitydestinationrequesttype.mdx)                               | :heavy\_check\_mark: | The destination type. Only stable destination types are accepted.                                                                                         | langfuse                                                                                                                                                     |
| `WorkspaceID`                       | `*string`                                                                                                                                                   | :heavy\_minus\_sign: | Optional workspace ID. Defaults to the authenticated entity's default workspace.                                                                          | 550e8400-e29b-41d4-a716-446655440000                                                                                                                         |
