Class: Anthropic::Models::Beta::Organization::BetaAnalyticsDesignMetrics
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::BetaAnalyticsDesignMetrics
- Defined in:
- lib/anthropic/models/beta/organization/beta_analytics_design_metrics.rb,
sig/anthropic/models/beta/organization/beta_analytics_design_metrics.rbs
Instance Attribute Summary collapse
-
#distinct_projects_created_count ⇒ Integer
Number of distinct Claude Design projects created.
-
#distinct_projects_used_count ⇒ Integer?
Number of distinct Claude Design projects the user worked in.
-
#distinct_session_count ⇒ Integer?
Number of distinct Claude Design sessions.
-
#message_count ⇒ Integer
Number of messages sent in Claude Design sessions.
Instance Method Summary collapse
-
#initialize(distinct_projects_created_count:, distinct_projects_used_count:, distinct_session_count:, message_count:) ⇒ BetaAnalyticsDesignMetrics
constructor
Claude Design activity metrics for a single user on a given day.
- #to_hash ⇒ { distinct_projects_created_count: Integer, distinct_projects_used_count: Integer?, distinct_session_count: Integer?, message_count: Integer }
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_projects_created_count:, distinct_projects_used_count:, distinct_session_count:, message_count:) ⇒ BetaAnalyticsDesignMetrics
Claude Design activity metrics for a single user on a given day.
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::BetaAnalyticsDesignMetrics for more details.
|
|
# File 'lib/anthropic/models/beta/organization/beta_analytics_design_metrics.rb', line 38
|
Instance Attribute Details
#distinct_projects_created_count ⇒ Integer
Number of distinct Claude Design projects created. Exact in date-range mode: a creation belongs to exactly one day, so the per-day counts never overlap and their sum over the window is the exact count of distinct creations in it.
14 |
# File 'lib/anthropic/models/beta/organization/beta_analytics_design_metrics.rb', line 14 required :distinct_projects_created_count, Integer |
#distinct_projects_used_count ⇒ Integer?
Number of distinct Claude Design projects the user worked in. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
22 |
# File 'lib/anthropic/models/beta/organization/beta_analytics_design_metrics.rb', line 22 required :distinct_projects_used_count, Integer, nil?: true |
#distinct_session_count ⇒ Integer?
Number of distinct Claude Design sessions. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
30 |
# File 'lib/anthropic/models/beta/organization/beta_analytics_design_metrics.rb', line 30 required :distinct_session_count, Integer, nil?: true |
#message_count ⇒ Integer
Number of messages sent in Claude Design sessions
36 |
# File 'lib/anthropic/models/beta/organization/beta_analytics_design_metrics.rb', line 36 required :message_count, Integer |
Instance Method Details
#to_hash ⇒ { distinct_projects_created_count: Integer, distinct_projects_used_count: Integer?, distinct_session_count: Integer?, message_count: Integer }
29 30 31 32 33 34 |
# File 'sig/anthropic/models/beta/organization/beta_analytics_design_metrics.rbs', line 29
def to_hash: -> {
distinct_projects_created_count: Integer,
distinct_projects_used_count: Integer?,
distinct_session_count: Integer?,
message_count: Integer
}
|