Class: Anthropic::Models::Organization::AnalyticsConnectorChatMetrics

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/organization/analytics_connector_chat_metrics.rb,
sig/anthropic/models/organization/analytics_connector_chat_metrics.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

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(distinct_conversation_connector_used_count:) ⇒ AnalyticsConnectorChatMetrics

Claude.ai activity metrics for a single connector on a given day.

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

Parameters:

  • distinct_conversation_connector_used_count (Integer, nil) —

    Number of distinct conversations in which the connector was used. Approximate (H

  • distinct_conversation_connector_used_count: (Integer, nil)


# File 'lib/anthropic/models/organization/analytics_connector_chat_metrics.rb', line 15

Instance Attribute Details

#distinct_conversation_connector_used_count ⇒ Integer?

Number of distinct conversations in which the connector was used. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.

Parameters:

  • value (Integer, nil)

Returns:

  • (Integer, nil)


13
# File 'lib/anthropic/models/organization/analytics_connector_chat_metrics.rb', line 13

required :distinct_conversation_connector_used_count, Integer, nil?: true

Instance Method Details

#to_hash ⇒ { distinct_conversation_connector_used_count: Integer? }

Returns:

  • ({ distinct_conversation_connector_used_count: Integer? })


14
# File 'sig/anthropic/models/organization/analytics_connector_chat_metrics.rbs', line 14

def to_hash: -> { distinct_conversation_connector_used_count: Integer? }