Class AnalyticsSkillChatMetrics
-
- All Implemented Interfaces:
public final class AnalyticsSkillChatMetricsClaude.ai activity metrics for a single skill on a given day.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAnalyticsSkillChatMetrics.BuilderA builder for AnalyticsSkillChatMetrics.
-
Method Summary
Modifier and Type Method Description final Optional<Long>distinctConversationSkillUsedCount()Number of distinct conversations in which the skill was used. final JsonField<Long>_distinctConversationSkillUsedCount()Returns the raw JSON value of distinctConversationSkillUsedCount. final Map<String, JsonValue>_additionalProperties()final AnalyticsSkillChatMetrics.BuildertoBuilder()final AnalyticsSkillChatMetricsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AnalyticsSkillChatMetrics.Builderbuilder()Returns a mutable builder for constructing an instance of AnalyticsSkillChatMetrics. final static AnalyticsSkillChatMetricsof(Long distinctConversationSkillUsedCount)Returns an immutable instance of AnalyticsSkillChatMetrics with the required distinctConversationSkillUsedCount set to the given value. final static AnalyticsSkillChatMetricsof(Long distinctConversationSkillUsedCount)Alias for of. final static AnalyticsSkillChatMetricsof(Optional<Long> distinctConversationSkillUsedCount)Alias for calling of with distinctConversationSkillUsedCount.orElse(null).-
-
Method Detail
-
distinctConversationSkillUsedCount
final Optional<Long> distinctConversationSkillUsedCount()
Number of distinct conversations in which the skill was used. A skill counts as used only when it is explicitly activated — the model (or the user, via the skill's slash command) invokes it, reading its instructions into context as part of that activation. Skills that are merely installed or listed as available, or whose content reaches the context without an activation (preloaded, hook-injected, or read as a plain file), are not counted. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
-
_distinctConversationSkillUsedCount
final JsonField<Long> _distinctConversationSkillUsedCount()
Returns the raw JSON value of distinctConversationSkillUsedCount.
Unlike distinctConversationSkillUsedCount, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final AnalyticsSkillChatMetrics.Builder toBuilder()
-
validate
final AnalyticsSkillChatMetrics validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static AnalyticsSkillChatMetrics.Builder builder()
Returns a mutable builder for constructing an instance of AnalyticsSkillChatMetrics.
The following fields are required:
.distinctConversationSkillUsedCount()
-
of
final static AnalyticsSkillChatMetrics of(Long distinctConversationSkillUsedCount)
Returns an immutable instance of AnalyticsSkillChatMetrics with the required distinctConversationSkillUsedCount set to the given value.
-
of
final static AnalyticsSkillChatMetrics of(Long distinctConversationSkillUsedCount)
Alias for of.
This unboxed primitive overload exists for backwards compatibility.
-
of
final static AnalyticsSkillChatMetrics of(Optional<Long> distinctConversationSkillUsedCount)
Alias for calling of with
distinctConversationSkillUsedCount.orElse(null).
-
-
-
-