Class AnalyticsChatCoworkUnifiedSessionsMetrics

    • Constructor Detail

    • Method Detail

      • actionCount

         final Long actionCount()

        Same measure as cowork_metrics.action_count, for activity recorded while members had Chat and Cowork unified turned on.

      • artifactsCreatedCount

         final Long artifactsCreatedCount()

        Same measure as cowork_metrics.artifacts_created_count, for activity recorded while members had Chat and Cowork unified turned on. 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.

      • connectorsUsedCount

         final Long connectorsUsedCount()

        Same measure as cowork_metrics.connectors_used_count, for activity recorded while members had Chat and Cowork unified turned on.

      • dispatchTurnCount

         final Long dispatchTurnCount()

        Same measure as cowork_metrics.dispatch_turn_count, for activity recorded while members had Chat and Cowork unified turned on.

      • distinctConnectorsUsedCount

         final Optional<Long> distinctConnectorsUsedCount()

        Same measure as cowork_metrics.distinct_connectors_used_count, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.

      • distinctPluginsUsedCount

         final Optional<Long> distinctPluginsUsedCount()

        Same measure as cowork_metrics.distinct_plugins_used_count, for activity recorded while members had Chat and Cowork unified turned on. 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()

        Same measure as cowork_metrics.distinct_session_count, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.

      • distinctSkillsUsedCount

         final Optional<Long> distinctSkillsUsedCount()

        Same measure as cowork_metrics.distinct_skills_used_count, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.

      • editToolCount

         final Optional<Long> editToolCount()

        Same measure as cowork_metrics.edit_tool_count, for activity recorded while members had Chat and Cowork unified turned on.

      • fileEditCount

         final Optional<Long> fileEditCount()

        Same measure as cowork_metrics.file_edit_count, for activity recorded while members had Chat and Cowork unified turned on.

      • messageCount

         final Long messageCount()

        Same measure as cowork_metrics.message_count, for activity recorded while members had Chat and Cowork unified turned on.

      • multiEditToolCount

         final Optional<Long> multiEditToolCount()

        Same measure as cowork_metrics.multi_edit_tool_count, for activity recorded while members had Chat and Cowork unified turned on. Claude no longer has a multi-edit tool, so expect 0 when not null; each edit is now a separate Edit tool call, counted in edit_tool_count and file_edit_count.

      • notebookEditToolCount

         final Optional<Long> notebookEditToolCount()

        Same measure as cowork_metrics.notebook_edit_tool_count, for activity recorded while members had Chat and Cowork unified turned on.

      • pluginsUsedCount

         final Optional<Long> pluginsUsedCount()

        Same measure as cowork_metrics.plugins_used_count, for activity recorded while members had Chat and Cowork unified turned on.

      • sessionsWithFileEditsCount

         final Optional<Long> sessionsWithFileEditsCount()

        Same measure as cowork_metrics.sessions_with_file_edits_count, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.

      • skillsUsedCount

         final Long skillsUsedCount()

        Same measure as cowork_metrics.skills_used_count, for activity recorded while members had Chat and Cowork unified turned on.

      • writeToolCount

         final Optional<Long> writeToolCount()

        Same measure as cowork_metrics.write_tool_count, for activity recorded while members had Chat and Cowork unified turned on.

      • _actionCount

         final JsonField<Long> _actionCount()

        Returns the raw JSON value of actionCount.

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

      • _artifactsCreatedCount

         final JsonField<Long> _artifactsCreatedCount()

        Returns the raw JSON value of artifactsCreatedCount.

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

      • _connectorsUsedCount

         final JsonField<Long> _connectorsUsedCount()

        Returns the raw JSON value of connectorsUsedCount.

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

      • _dispatchTurnCount

         final JsonField<Long> _dispatchTurnCount()

        Returns the raw JSON value of dispatchTurnCount.

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

      • _distinctConnectorsUsedCount

         final JsonField<Long> _distinctConnectorsUsedCount()

        Returns the raw JSON value of distinctConnectorsUsedCount.

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

      • _distinctPluginsUsedCount

         final JsonField<Long> _distinctPluginsUsedCount()

        Returns the raw JSON value of distinctPluginsUsedCount.

        Unlike distinctPluginsUsedCount, 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.

      • _distinctSkillsUsedCount

         final JsonField<Long> _distinctSkillsUsedCount()

        Returns the raw JSON value of distinctSkillsUsedCount.

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

      • _editToolCount

         final JsonField<Long> _editToolCount()

        Returns the raw JSON value of editToolCount.

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

      • _fileEditCount

         final JsonField<Long> _fileEditCount()

        Returns the raw JSON value of fileEditCount.

        Unlike fileEditCount, 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.

      • _multiEditToolCount

         final JsonField<Long> _multiEditToolCount()

        Returns the raw JSON value of multiEditToolCount.

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

      • _notebookEditToolCount

         final JsonField<Long> _notebookEditToolCount()

        Returns the raw JSON value of notebookEditToolCount.

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

      • _pluginsUsedCount

         final JsonField<Long> _pluginsUsedCount()

        Returns the raw JSON value of pluginsUsedCount.

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

      • _sessionsWithFileEditsCount

         final JsonField<Long> _sessionsWithFileEditsCount()

        Returns the raw JSON value of sessionsWithFileEditsCount.

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

      • _skillsUsedCount

         final JsonField<Long> _skillsUsedCount()

        Returns the raw JSON value of skillsUsedCount.

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

      • _writeToolCount

         final JsonField<Long> _writeToolCount()

        Returns the raw JSON value of writeToolCount.

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

      • validate

         final AnalyticsChatCoworkUnifiedSessionsMetrics 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 AnalyticsChatCoworkUnifiedSessionsMetrics.Builder builder()

        Returns a mutable builder for constructing an instance of AnalyticsChatCoworkUnifiedSessionsMetrics.

        The following fields are required:

        .actionCount()
        .artifactsCreatedCount()
        .connectorsUsedCount()
        .dispatchTurnCount()
        .distinctConnectorsUsedCount()
        .distinctPluginsUsedCount()
        .distinctSessionCount()
        .distinctSkillsUsedCount()
        .editToolCount()
        .fileEditCount()
        .messageCount()
        .multiEditToolCount()
        .notebookEditToolCount()
        .pluginsUsedCount()
        .sessionsWithFileEditsCount()
        .skillsUsedCount()
        .writeToolCount()