Class: Anthropic::Models::Beta::Organization::TelemetryDestinationCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::TelemetryDestinationCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/anthropic/models/beta/organization/telemetry_destination_create_params.rb,
sig/anthropic/models/beta/organization/telemetry_destination_create_params.rbs
Overview
Instance Attribute Summary collapse
-
#betas ⇒ Array<Symbol, String, Anthropic::Models::AnthropicBeta>?
This endpoint is in beta: requests must send
telemetry-destinations-2026-08-11in this header. -
#display_name ⇒ String?
Human-readable name for the destination.
-
#endpoint_url ⇒ String
The base URL of your collector's OTLP/HTTP endpoint, for example
https://gateway.example.com. -
#headers ⇒ Hash{Symbol=>String}?
Request headers that the API sends with every delivery, typically your collector's authentication header (for example
authorization). -
#traces ⇒ Anthropic::Models::Beta::Organization::BetaTelemetryDestinationTracesParams?
The settings for the traces that the destination receives.
-
#workspaces ⇒ Anthropic::Models::Beta::Organization::BetaTelemetryDestinationWorkspacesAllParams, ...
Which of the organization's workspaces the destination covers.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(endpoint_url:, workspaces:, display_name: nil, headers: nil, traces: nil, betas: nil, request_options: {}) ⇒ TelemetryDestinationCreateParams
constructor
Some parameter documentations has been truncated, see TelemetryDestinationCreateParams for more details.
- #to_hash ⇒ { endpoint_url: String, workspaces: Anthropic::Models::Beta::Organization::beta_telemetry_destination_workspaces_params, display_name: String?, headers: ::Hash[Symbol, String], traces: Anthropic::Beta::Organization::BetaTelemetryDestinationTracesParams, betas: ::Array[Anthropic::Models::anthropic_beta], request_options: Anthropic::RequestOptions }
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(endpoint_url:, workspaces:, display_name: nil, headers: nil, traces: nil, betas: nil, request_options: {}) ⇒ TelemetryDestinationCreateParams
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::TelemetryDestinationCreateParams for more details.
|
|
# File 'lib/anthropic/models/beta/organization/telemetry_destination_create_params.rb', line 71
|
Instance Attribute Details
#betas ⇒ Array<Symbol, String, Anthropic::Models::AnthropicBeta>?
This endpoint is in beta: requests must send telemetry-destinations-2026-08-11
in this header.
69 |
# File 'lib/anthropic/models/beta/organization/telemetry_destination_create_params.rb', line 69 optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] } |
#display_name ⇒ String?
Human-readable name for the destination. Optional. 1 to 255 characters.
38 |
# File 'lib/anthropic/models/beta/organization/telemetry_destination_create_params.rb', line 38 optional :display_name, String, nil?: true |
#endpoint_url ⇒ String
The base URL of your collector's OTLP/HTTP endpoint, for example
https://gateway.example.com.
The URL must use https and a hostname, not an IP address. The port, if given,
must be 443. The URL must not contain a query string, a fragment, or a username
and password. At most 2,048 characters.
A path prefix, such as /otlp, is allowed. Don't include the per-signal path
(/v1/traces), because the API appends it on delivery. If your collector takes
traces on another path, also set traces.endpoint_url.
25 |
# File 'lib/anthropic/models/beta/organization/telemetry_destination_create_params.rb', line 25 required :endpoint_url, String |
#headers ⇒ Hash{Symbol=>String}?
Request headers that the API sends with every delivery, typically your
collector's authentication header (for example authorization).
The API never returns the values. Reads show only header_names.
At most 20 headers. Names are at most 128 characters. Two names can't differ only in case. Values are printable ASCII, at most 4,096 characters, and can't begin or end with a space. Names and values together are at most 16,384 bytes.
Reserved names are rejected, for example host, cookie, user-agent, and
names that start with content-, proxy-, x-forwarded-, or anthropic-. For
this check, _ in a name counts as -.
55 |
# File 'lib/anthropic/models/beta/organization/telemetry_destination_create_params.rb', line 55 optional :headers, Anthropic::Internal::Type::HashOf[String] |
#traces ⇒ Anthropic::Models::Beta::Organization::BetaTelemetryDestinationTracesParams?
The settings for the traces that the destination receives. If you leave it out, every setting takes its default.
62 |
# File 'lib/anthropic/models/beta/organization/telemetry_destination_create_params.rb', line 62 optional :traces, -> { Anthropic::Beta::Organization::BetaTelemetryDestinationTracesParams } |
#workspaces ⇒ Anthropic::Models::Beta::Organization::BetaTelemetryDestinationWorkspacesAllParams, ...
Which of the organization's workspaces the destination covers.
31 32 |
# File 'lib/anthropic/models/beta/organization/telemetry_destination_create_params.rb', line 31 required :workspaces, union: -> { Anthropic::Beta::Organization::BetaTelemetryDestinationWorkspacesParams } |
Instance Method Details
#to_hash ⇒ { endpoint_url: String, workspaces: Anthropic::Models::Beta::Organization::beta_telemetry_destination_workspaces_params, display_name: String?, headers: ::Hash[Symbol, String], traces: Anthropic::Beta::Organization::BetaTelemetryDestinationTracesParams, betas: ::Array[Anthropic::Models::anthropic_beta], request_options: Anthropic::RequestOptions }
52 53 54 55 56 57 58 59 60 |
# File 'sig/anthropic/models/beta/organization/telemetry_destination_create_params.rbs', line 52
def to_hash: -> {
endpoint_url: String,
workspaces: Anthropic::Models::Beta::Organization::beta_telemetry_destination_workspaces_params,
display_name: String?,
headers: ::Hash[Symbol, String],
traces: Anthropic::Beta::Organization::BetaTelemetryDestinationTracesParams,
betas: ::Array[Anthropic::Models::anthropic_beta],
request_options: Anthropic::RequestOptions
}
|