import * as z from "zod/v4"; import { OpenEnum } from "../types/enums.js"; import { ObservabilityFilterRulesConfig, ObservabilityFilterRulesConfig$Outbound } from "./observabilityfilterrulesconfig.js"; /** * The destination type. Only stable destination types are accepted. */ export declare const CreateObservabilityDestinationRequestType: { readonly Arize: "arize"; readonly Braintrust: "braintrust"; readonly Clickhouse: "clickhouse"; readonly Datadog: "datadog"; readonly Grafana: "grafana"; readonly Langfuse: "langfuse"; readonly Langsmith: "langsmith"; readonly Newrelic: "newrelic"; readonly Opik: "opik"; readonly OtelCollector: "otel-collector"; readonly Posthog: "posthog"; readonly Ramp: "ramp"; readonly S3: "s3"; readonly Sentry: "sentry"; readonly Snowflake: "snowflake"; readonly Weave: "weave"; readonly Webhook: "webhook"; }; /** * The destination type. Only stable destination types are accepted. */ export type CreateObservabilityDestinationRequestType = OpenEnum; export type CreateObservabilityDestinationRequest = { /** * 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. */ apiKeyHashes?: Array | null | undefined; /** * Provider-specific configuration. The shape depends on `type` and is validated server-side. */ config: { [k: string]: any | null; }; /** * Whether this destination should be enabled immediately. */ enabled?: boolean | undefined; /** * Optional structured filter rules controlling which events are forwarded. */ filterRules?: ObservabilityFilterRulesConfig | null | undefined; /** * Human-readable name for the destination. */ name: string; /** * When true, request/response bodies are not forwarded — only metadata. */ privacyMode?: boolean | undefined; /** * Sampling rate between 0 and 1 (1 = 100%). */ samplingRate?: number | undefined; /** * The destination type. Only stable destination types are accepted. */ type: CreateObservabilityDestinationRequestType; /** * Optional workspace ID. Defaults to the authenticated entity's default workspace. */ workspaceId?: string | undefined; }; /** @internal */ export declare const CreateObservabilityDestinationRequestType$outboundSchema: z.ZodType; /** @internal */ export type CreateObservabilityDestinationRequest$Outbound = { api_key_hashes?: Array | null | undefined; config: { [k: string]: any | null; }; enabled: boolean; filter_rules?: ObservabilityFilterRulesConfig$Outbound | null | undefined; name: string; privacy_mode: boolean; sampling_rate?: number | undefined; type: string; workspace_id?: string | undefined; }; /** @internal */ export declare const CreateObservabilityDestinationRequest$outboundSchema: z.ZodType; export declare function createObservabilityDestinationRequestToJSON(createObservabilityDestinationRequest: CreateObservabilityDestinationRequest): string; //# sourceMappingURL=createobservabilitydestinationrequest.d.ts.map