Class BetaAnalyticsSkillChatMetrics
-
- All Implemented Interfaces:
public final class BetaAnalyticsSkillChatMetricsClaude.ai activity metrics for a single skill on a given day.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaAnalyticsSkillChatMetrics.BuilderA builder for BetaAnalyticsSkillChatMetrics.
-
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 BetaAnalyticsSkillChatMetrics.BuildertoBuilder()final BetaAnalyticsSkillChatMetricsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaAnalyticsSkillChatMetrics.Builderbuilder()Returns a mutable builder for constructing an instance of BetaAnalyticsSkillChatMetrics. final static BetaAnalyticsSkillChatMetricsof(Long distinctConversationSkillUsedCount)Returns an immutable instance of BetaAnalyticsSkillChatMetrics with the required distinctConversationSkillUsedCount set to the given value. final static BetaAnalyticsSkillChatMetricsof(Long distinctConversationSkillUsedCount)Alias for of. final static BetaAnalyticsSkillChatMetricsof(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 BetaAnalyticsSkillChatMetrics.Builder toBuilder()
-
validate
final BetaAnalyticsSkillChatMetrics 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 BetaAnalyticsSkillChatMetrics.Builder builder()
Returns a mutable builder for constructing an instance of BetaAnalyticsSkillChatMetrics.
The following fields are required:
.distinctConversationSkillUsedCount()
-
of
final static BetaAnalyticsSkillChatMetrics of(Long distinctConversationSkillUsedCount)
Returns an immutable instance of BetaAnalyticsSkillChatMetrics with the required distinctConversationSkillUsedCount set to the given value.
-
of
final static BetaAnalyticsSkillChatMetrics of(Long distinctConversationSkillUsedCount)
Alias for of.
This unboxed primitive overload exists for backwards compatibility.
-
of
final static BetaAnalyticsSkillChatMetrics of(Optional<Long> distinctConversationSkillUsedCount)
Alias for calling of with
distinctConversationSkillUsedCount.orElse(null).
-
-
-
-