Class: Anthropic::Models::Organization::AnalyticsDesignMetrics
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Organization::AnalyticsDesignMetrics
- Defined in:
- lib/anthropic/models/organization/analytics_design_metrics.rb,
sig/anthropic/models/organization/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:) ⇒ AnalyticsDesignMetrics
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:) ⇒ AnalyticsDesignMetrics
Claude Design activity metrics for a single user on a given day.
Some parameter documentations has been truncated, see Anthropic::Models::Organization::AnalyticsDesignMetrics for more details.
|
|
# File 'lib/anthropic/models/organization/analytics_design_metrics.rb', line 37
|
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.
13 |
# File 'lib/anthropic/models/organization/analytics_design_metrics.rb', line 13 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.
21 |
# File 'lib/anthropic/models/organization/analytics_design_metrics.rb', line 21 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.
29 |
# File 'lib/anthropic/models/organization/analytics_design_metrics.rb', line 29 required :distinct_session_count, Integer, nil?: true |
#message_count ⇒ Integer
Number of messages sent in Claude Design sessions
35 |
# File 'lib/anthropic/models/organization/analytics_design_metrics.rb', line 35 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 }
28 29 30 31 32 33 |
# File 'sig/anthropic/models/organization/analytics_design_metrics.rbs', line 28
def to_hash: -> {
distinct_projects_created_count: Integer,
distinct_projects_used_count: Integer?,
distinct_session_count: Integer?,
message_count: Integer
}
|