Class: Anthropic::Models::Beta::Organization::TelemetryDestinationListParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/anthropic/models/beta/organization/telemetry_destination_list_params.rb,
sig/anthropic/models/beta/organization/telemetry_destination_list_params.rbs

Overview

See Also:

  • Anthropic::Resources::Beta::Organization::TelemetryDestinations#list

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(limit: nil, page: nil, workspace_ids: nil, betas: nil, request_options: {}) ⇒ TelemetryDestinationListParams

Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::TelemetryDestinationListParams for more details.

Parameters:

  • limit (Integer) (defaults to: nil) —

    Number of destinations to return per page, between 1 and 1,000. Defaults to 20.

  • page (String) (defaults to: nil) —

    Opaque cursor from a previous response's next_page. Leave it out to get the fi

  • workspace_ids (Array<String>) (defaults to: nil) —

    Return only the destinations that cover at least one of these workspaces (

  • betas (Array<Symbol, String, Anthropic::Models::AnthropicBeta>) (defaults to: nil) —

    This endpoint is in beta: requests must send telemetry-destinations-2026-08-11

  • request_options (Anthropic::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})
  • limit: (Integer) (defaults to: nil)
  • page: (String) (defaults to: nil)
  • workspace_ids: (::Array[String]) (defaults to: nil)
  • betas: (::Array[Anthropic::Models::anthropic_beta]) (defaults to: nil)
  • request_options: (Anthropic::request_opts) (defaults to: {})


# File 'lib/anthropic/models/beta/organization/telemetry_destination_list_params.rb', line 45

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.

Parameters:

  • (::Array[Anthropic::Models::anthropic_beta])

Returns:



43
# File 'lib/anthropic/models/beta/organization/telemetry_destination_list_params.rb', line 43

optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }

#limit ⇒ Integer?

Number of destinations to return per page, between 1 and 1,000. Defaults to 20.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


16
# File 'lib/anthropic/models/beta/organization/telemetry_destination_list_params.rb', line 16

optional :limit, Integer

#page ⇒ String?

Opaque cursor from a previous response's next_page. Leave it out to get the first page.

Parameters:

  • (String)

Returns:

  • (String, nil)


23
# File 'lib/anthropic/models/beta/organization/telemetry_destination_list_params.rb', line 23

optional :page, String

#workspace_ids ⇒ Array<String>?

Return only the destinations that cover at least one of these workspaces (wrkspc_...).

Send at most 100 IDs, as workspace_ids[]. A destination covers a workspace when its workspaces.type is all, when its include list has the workspace, or when its exclude list doesn't have it. Destinations in either state can match. An ID that isn't the ID of one of the organization's workspaces doesn't match any destination, not even one whose type is all.

Parameters:

  • (::Array[String])

Returns:

  • (Array<String>, nil)


36
# File 'lib/anthropic/models/beta/organization/telemetry_destination_list_params.rb', line 36

optional :workspace_ids, Anthropic::Internal::Type::ArrayOf[String]

Instance Method Details

#to_hash ⇒ { limit: Integer, page: String, workspace_ids: ::Array[String], betas: ::Array[Anthropic::Models::anthropic_beta], request_options: Anthropic::RequestOptions }

Returns:

  • ({ limit: Integer, page: String, workspace_ids: ::Array[String], betas: ::Array[Anthropic::Models::anthropic_beta], request_options: Anthropic::RequestOptions })


44
45
46
47
48
49
50
# File 'sig/anthropic/models/beta/organization/telemetry_destination_list_params.rbs', line 44

def to_hash: -> {
  limit: Integer,
  page: String,
  workspace_ids: ::Array[String],
  betas: ::Array[Anthropic::Models::anthropic_beta],
  request_options: Anthropic::RequestOptions
}