Class AnalyticsDesignMetrics

  • All Implemented Interfaces:

    
    public final class AnalyticsDesignMetrics
    
                        

    Claude Design activity metrics for a single user on a given day.

    • Constructor Detail

    • Method Detail

      • distinctProjectsCreatedCount

         final Long distinctProjectsCreatedCount()

        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.

      • distinctProjectsUsedCount

         final Optional<Long> distinctProjectsUsedCount()

        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.

      • distinctSessionCount

         final Optional<Long> distinctSessionCount()

        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.

      • messageCount

         final Long messageCount()

        Number of messages sent in Claude Design sessions

      • _distinctProjectsCreatedCount

         final JsonField<Long> _distinctProjectsCreatedCount()

        Returns the raw JSON value of distinctProjectsCreatedCount.

        Unlike distinctProjectsCreatedCount, this method doesn't throw if the JSON field has an unexpected type.

      • _distinctProjectsUsedCount

         final JsonField<Long> _distinctProjectsUsedCount()

        Returns the raw JSON value of distinctProjectsUsedCount.

        Unlike distinctProjectsUsedCount, this method doesn't throw if the JSON field has an unexpected type.

      • _distinctSessionCount

         final JsonField<Long> _distinctSessionCount()

        Returns the raw JSON value of distinctSessionCount.

        Unlike distinctSessionCount, this method doesn't throw if the JSON field has an unexpected type.

      • _messageCount

         final JsonField<Long> _messageCount()

        Returns the raw JSON value of messageCount.

        Unlike messageCount, this method doesn't throw if the JSON field has an unexpected type.

      • validate

         final AnalyticsDesignMetrics 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.