Análises
Models
type BetaAnalyticsActor = ...
type BetaAnalyticsActorType = Literal["api_actor", "federated_actor", "service_account_actor", "user_actor"]Kind of identity a row's usage is attributed to.
Kind of identity a row's usage is attributed to.
class BetaAnalyticsAPIActor: type: "api_actor"; api_key_id
Tagged API key ID.
class BetaAnalyticsArtifactActivity: artifact_type; artifacts_created_count; distinct_user_count; ... # 6 moreArtifact-creation activity for one (artifact_type, is_shared) bucket
on a given day.
Artifact-creation activity for one (artifact_type, is_shared) bucket
on a given day.
Artifacts form a small finite cube — the canonical MIME type (8 values incl.
other) crossed with shared-vs-private — so the response is the full set of
non-empty buckets, not a ranked/paginated list. Claude Code and Cowork
artifacts report under text/html and are counted from 2026-08-17
onward; earlier days contain claude.ai chat artifacts only. With
group_by[]=product / user_id / rbac_group_id each row is further
split by the flat group keys and counts are scoped to that cut.
type BetaAnalyticsArtifactGroupBy = Literal["product", "rbac_group_id", "user_id"]A dimension to group artifact activity by.
A dimension to group artifact activity by.
class BetaAnalyticsChatCoworkUnifiedChatMetrics: connectors_used_count; distinct_artifacts_created_count; distinct_connectors_used_count; ... # 9 moreChat activity recorded while members had Chat and Cowork unified turned
on.
Chat activity recorded while members had Chat and Cowork unified turned on.
class BetaAnalyticsChatCoworkUnifiedMetrics: chat; sessionsActivity in Chat and Cowork unified for one user on one day: chat holds
chat activity and sessions holds Cowork session activity.
Activity in Chat and Cowork unified for one user on one day: chat holds
chat activity and sessions holds Cowork session activity.
Chat activity recorded while members had Chat and Cowork unified turned
on.
Chat activity recorded while members had Chat and Cowork unified turned on.
Cowork session activity recorded while members had Chat and Cowork
unified turned on.
Cowork session activity recorded while members had Chat and Cowork unified turned on.
class BetaAnalyticsChatCoworkUnifiedSessionsMetrics: action_count; artifacts_created_count; connectors_used_count; ... # 14 moreCowork session activity recorded while members had Chat and Cowork
unified turned on.
Cowork session activity recorded while members had Chat and Cowork unified turned on.
class BetaAnalyticsChatMetrics: connectors_used_count; distinct_artifacts_created_count; distinct_connectors_used_count; ... # 9 moreClaude.ai activity metrics for a single user on a given day.
Claude.ai activity metrics for a single user on a given day.
class BetaAnalyticsClaudeCodeMetrics: core_metrics; tool_actionsClaude Code activity metrics for a single user on a given day.
Claude Code activity metrics for a single user on a given day.
core_metrics: BetaAnalyticsCoreCodeMetricsCore Claude Code activity metrics for a single user on a given day.
Core Claude Code activity metrics for a single user on a given day.
Number of artifacts created in Claude Code sessions: an artifact counts once, on the day a session first saves it. Counted from 2026-08-17; 0 on earlier days. 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.
Number of commits made via Claude Code
Number of distinct Claude Code sessions. On aggregated rows and in date-range mode: summed per-day distinct counts. A session essentially never spans a UTC day, so the sum is in practice the true distinct count.
lines_of_code: BetaAnalyticsLinesOfCodeLines of code added and removed via Claude Code.
Lines of code added and removed via Claude Code.
Lines of code added
Lines of code removed
Number of pull requests created via Claude Code
tool_actions: BetaAnalyticsToolActionsPer-tool accepted/rejected counts for Claude Code file modification tools.
Per-tool accepted/rejected counts for Claude Code file modification tools.
type BetaAnalyticsClaudeTagCategory = Literal["dm", "engaged", "monitoring", 2 more]
class BetaAnalyticsClaudeTagMetrics: active_day_count; active_message_countClaude Tag activity metrics for a single linked user on a given day.
Claude Tag activity metrics for a single linked user on a given day.
1 on a day the user was active in Claude Tag in Slack, otherwise 0. Summed over the window in date-range mode, so it is the number of active days; on grouped rows, the total of each member's active days. Null when Claude Tag data cannot be read for the request. Otherwise, 0 on a row filtered by project, and null on any other row when no covered day was measured.
Number of the user's Slack messages that made them active: @-mentions, direct messages, group direct message asks, and thread posts Claude answered. Other messages are not counted. Null when Claude Tag data cannot be read for the request. Otherwise, 0 on a row filtered by project, and null on any other row when no covered day was measured.
class BetaAnalyticsConnectorActivity: chat_metrics; claude_code_metrics; connector_display_name; ... # 14 morePer-connector activity data for a given day.
Per-connector activity data for a given day.
class BetaAnalyticsConnectorChatCoworkUnifiedChatMetrics: distinct_conversation_connector_used_countA connector's use in chat conversations recorded while members had
Chat and Cowork unified turned on.
A connector's use in chat conversations recorded while members had Chat and Cowork unified turned on.
Same measure as chat_metrics.distinct_conversation_connector_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.
class BetaAnalyticsConnectorChatCoworkUnifiedMetrics: chat; sessionsA connector's use in Chat and Cowork unified on one day: chat holds its
use in chat conversations and sessions its use in Cowork sessions.
A connector's use in Chat and Cowork unified on one day: chat holds its
use in chat conversations and sessions its use in Cowork sessions.
A connector's use in chat conversations recorded while members had
Chat and Cowork unified turned on.
A connector's use in chat conversations recorded while members had Chat and Cowork unified turned on.
Same measure as chat_metrics.distinct_conversation_connector_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.
A connector's use in Cowork sessions recorded while members had
Chat and Cowork unified turned on.
A connector's use in Cowork sessions recorded while members had Chat and Cowork unified turned on.
Same measure as cowork_metrics.distinct_session_connector_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.
class BetaAnalyticsConnectorChatCoworkUnifiedSessionsMetrics: distinct_session_connector_used_countA connector's use in Cowork sessions recorded while members had
Chat and Cowork unified turned on.
A connector's use in Cowork sessions recorded while members had Chat and Cowork unified turned on.
Same measure as cowork_metrics.distinct_session_connector_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.
class BetaAnalyticsConnectorChatMetrics: distinct_conversation_connector_used_countClaude.ai activity metrics for a single connector on a given day.
Claude.ai activity metrics for a single connector on a given day.
Number of distinct conversations in which the connector was used. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
class BetaAnalyticsConnectorClaudeCodeMetrics: distinct_session_connector_used_countClaude Code activity metrics for a single connector on a given day.
Claude Code activity metrics for a single connector on a given day.
Number of distinct Claude Code sessions in which the connector was used. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
class BetaAnalyticsConnectorCoworkMetrics: distinct_session_connector_used_countCowork activity metrics for a single connector on a given day.
Cowork activity metrics for a single connector on a given day.
Number of distinct Cowork sessions in which the connector was used. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
type BetaAnalyticsConnectorGroupBy = Literal["product", "rbac_group_id", "user_id"]A dimension to group connector activity by.
A dimension to group connector activity by.
class BetaAnalyticsConnectorOfficeMetrics: excel; outlook; powerpoint; wordOffice Agent activity metrics for a single connector on a given day, broken out by Office product.
Office Agent activity metrics for a single connector on a given day, broken out by Office product.
class BetaAnalyticsConnectorOfficeProductMetrics: distinct_session_connector_used_countOffice Agent activity metrics for a single connector on a given day within one Office product.
Office Agent activity metrics for a single connector on a given day within one Office product.
Number of distinct Office Agent sessions in which the connector was used. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
type BetaAnalyticsContextWindow = Literal["0-200k", "200k-1M"]
class BetaAnalyticsCoreCodeMetrics: artifacts_created_count; commit_count; distinct_session_count; ... # 2 moreCore Claude Code activity metrics for a single user on a given day.
Core Claude Code activity metrics for a single user on a given day.
Number of artifacts created in Claude Code sessions: an artifact counts once, on the day a session first saves it. Counted from 2026-08-17; 0 on earlier days. 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.
Number of commits made via Claude Code
Number of distinct Claude Code sessions. On aggregated rows and in date-range mode: summed per-day distinct counts. A session essentially never spans a UTC day, so the sum is in practice the true distinct count.
lines_of_code: BetaAnalyticsLinesOfCodeLines of code added and removed via Claude Code.
Lines of code added and removed via Claude Code.
Lines of code added
Lines of code removed
Number of pull requests created via Claude Code
class BetaAnalyticsCostBucketedResult: amount; claude_tag_category; claude_tag_user_id; ... # 12 more
class BetaAnalyticsCostReportTimeBucket: ending_at; results; starting_at
type BetaAnalyticsCostType = Literal["code_execution", "tokens", "web_search"]
class BetaAnalyticsCostUsersItem: actor; amount; claude_tag_category; ... # 15 more
class BetaAnalyticsCoworkMetrics: action_count; artifacts_created_count; connectors_used_count; ... # 14 moreCowork activity metrics for a single user on a given day.
Cowork activity metrics for a single user on a given day.
class BetaAnalyticsDesignMetrics: distinct_projects_created_count; distinct_projects_used_count; distinct_session_count; message_countClaude Design activity metrics for a single user on a given day.
Claude Design activity metrics for a single user on a given day.
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.
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.
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.
Number of messages sent in Claude Design sessions
class BetaAnalyticsFederatedActor: type: "federated_actor"; provider; subject
provider: BetaAnalyticsFederatedActorProviderThe trusted provider that asserted the caller's identity.
The trusted provider that asserted the caller's identity.
The provider's identifier for the caller: on aws, the IAM principal ARN (one role is one actor across its sessions); on gcp, the caller's IAM principal identifier as Google Cloud reports it, such as serviceAccount:<email>, user:<email>, or a principal://... URI.
class BetaAnalyticsFederatedActorAWSProvider: type: "aws"; account_id; signed_principal
The AWS account the organization is bound to.
The AWS-signed ARN of the IAM principal that made the requests.
class BetaAnalyticsFederatedActorAzureProvider: type: "azure"; subscription_id
The Azure subscription the organization is bound to.
class BetaAnalyticsFederatedActorGCPProvider: type: "gcp"; project_number
The Google Cloud project the organization is bound to.
class BetaAnalyticsFederatedActorOIDCProvider: type: "oidc"; issuer
The federation issuer's URL.
type BetaAnalyticsFederatedActorProvider = ...
type BetaAnalyticsGroupedCostType = Literal["code_execution", "session_usage", "tokens", "web_search"]
type BetaAnalyticsInferenceGeoFilter = Literal["global", "not_available", "us"]
class BetaAnalyticsLinesOfCode: added_count; removed_countLines of code added and removed via Claude Code.
Lines of code added and removed via Claude Code.
Lines of code added
Lines of code removed
class BetaAnalyticsOfficeMetrics: excel; outlook; powerpoint; wordOffice Agent activity metrics for a single user on a given day, broken out by Office product.
Office Agent activity metrics for a single user on a given day, broken out by Office product.
class BetaAnalyticsOfficeProductMetrics: connectors_used_count; distinct_connectors_used_count; distinct_session_count; ... # 3 moreOffice Agent activity metrics for a single user on a given day within one Office product.
Office Agent activity metrics for a single user on a given day within one Office product.
Number of MCP connector invocations
Number of distinct MCP connectors used. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
Number of distinct Office Agent sessions. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
Number of distinct skills used. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
Number of messages sent
Number of skill invocations
type BetaAnalyticsOrder = Literal["asc", "desc"]Sort direction: asc or desc. Defaults to asc for the endpoint's sort column and to desc when order_by names a metric (a top-N ranking). Applies to order_by, or to the endpoint's default sort field when order_by is omitted.
Sort direction: asc or desc. Defaults to asc for the endpoint's sort column and to desc when order_by names a metric (a top-N ranking). Applies to order_by, or to the endpoint's default sort field when order_by is omitted.
class BetaAnalyticsPluginActivity: claude_code_metrics; cowork_metrics; distinct_user_count; ... # 9 morePer-plugin install + invocation activity for a given day.
Per-plugin install + invocation activity for a given day.
With group_by[]=user_id / rbac_group_id / product (cowork,
claude_code and chat_cowork_unified only on this endpoint) each row is
one (plugin, user), (plugin, group), or (plugin, product) cut: the flat
user_id / rbac_group_id / product keys carry the cut and the counts
are scoped to it.
class BetaAnalyticsPluginChatCoworkUnifiedMetrics: distinct_session_plugin_used_countA plugin's use in Cowork sessions recorded while members had Chat
and Cowork unified turned on.
A plugin's use in Cowork sessions recorded while members had Chat and Cowork unified turned on.
Same measure as cowork_metrics.distinct_session_plugin_used_count, for activity recorded while members had Chat and Cowork unified turned on. Null on aggregated rows where a distinct count cannot be computed.
class BetaAnalyticsPluginClaudeCodeMetrics: distinct_session_plugin_used_countClaude Code activity metrics for a single plugin on a given day.
Claude Code activity metrics for a single plugin on a given day.
Number of distinct Claude Code sessions in which the plugin was invoked. Null on aggregated rows where a distinct count cannot be computed.
class BetaAnalyticsPluginCoworkMetrics: distinct_session_plugin_used_countCowork activity metrics for a single plugin on a given day.
Cowork activity metrics for a single plugin on a given day.
Number of distinct Cowork sessions in which the plugin was invoked. Null on aggregated rows where a distinct count cannot be computed.
type BetaAnalyticsPluginGroupBy = Literal["product", "rbac_group_id", "user_id"]A dimension to group plugin activity by.
A dimension to group plugin activity by.
type BetaAnalyticsProductFilter = Literal["chat", "chat_cowork_unified", "claude-tag", 5 more]Publicly documented product surfaces. claude-tag is Claude Tag, the Claude product in Slack. chat_cowork_unified is Chat and Cowork unified, Cowork's features inside claude.ai chat: chat and Cowork usage by a member who has it turned on is reported under this value instead of chat or cowork. It is accepted as a filter only where Chat and Cowork unified is available.
Publicly documented product surfaces. claude-tag is Claude Tag, the Claude product in Slack. chat_cowork_unified is Chat and Cowork unified, Cowork's features inside claude.ai chat: chat and Cowork usage by a member who has it turned on is reported under this value instead of chat or cowork. It is accepted as a filter only where Chat and Cowork unified is available.
class BetaAnalyticsProjectActivity: created_at; created_by; distinct_conversation_count; ... # 7 morePer-project activity data for a given day.
Per-project activity data for a given day.
type BetaAnalyticsProjectGroupBy = Literal["rbac_group_id", "user_id"]A dimension to group chat project activity by.
A dimension to group chat project activity by.
class BetaAnalyticsReportUserActor: type: "user_actor"; deleted; email_address; ... # 2 more
Actor type. Always "user_actor".
True when the account has been deleted, or when the user is no longer a member of the organization or its associated organizations (for example, their membership was removed or they were deprovisioned via your identity provider). email_address stays populated for removed users and is null when the account has been deleted. name follows the rules described on that field. The user_id is still populated for reconciliation.
The user's current email address, including for users who are no longer members of the organization. Null when the account has been deleted and for system-minted service accounts.
The user's current full name. Null when the user has not set one. "Deleted User" when the account has been deleted, or when the user is no longer a member and the organization hides removed users' names.
Tagged user ID.
class BetaAnalyticsScienceMetrics: delegation_count; distinct_session_count; message_count; ... # 2 moreClaude Science activity metrics for a single user on a given day.
Claude Science activity metrics for a single user on a given day.
Number of delegations (handoffs to a specialized agent) in Claude Science sessions
Number of distinct Claude Science sessions. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
Number of messages sent in Claude Science sessions
Number of remote compute jobs launched from Claude Science sessions
Total number of skill invocations in Claude Science sessions
class BetaAnalyticsServerToolUse: web_search_requests
The number of web search requests made.
class BetaAnalyticsServiceAccountActor: type: "service_account_actor"; service_account_id
Tagged service account ID.
type BetaAnalyticsServiceTier = Literal["batch", "flex", "flex_discount", 3 more]
class BetaAnalyticsSingleDayActivitySummary: assigned_seat_count; cowork_daily_active_user_count; cowork_monthly_active_user_count; ... # 32 morePer-day entry in the /summaries response.
Per-day entry in the /summaries response.
class BetaAnalyticsSkillActivity: attributed_list_price; chat_metrics; claude_code_metrics; ... # 15 morePer-skill activity data for a given day.
Per-skill activity data for a given day.
class BetaAnalyticsSkillChatCoworkUnifiedChatMetrics: distinct_conversation_skill_used_countA skill's use in chat conversations recorded while members had
Chat and Cowork unified turned on.
A skill's use in chat conversations recorded while members had Chat and Cowork unified turned on.
Same measure as chat_metrics.distinct_conversation_skill_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.
class BetaAnalyticsSkillChatCoworkUnifiedMetrics: chat; sessionsA skill's use in Chat and Cowork unified on one day: chat holds its use
in chat conversations and sessions its use in Cowork sessions.
A skill's use in Chat and Cowork unified on one day: chat holds its use
in chat conversations and sessions its use in Cowork sessions.
A skill's use in chat conversations recorded while members had
Chat and Cowork unified turned on.
A skill's use in chat conversations recorded while members had Chat and Cowork unified turned on.
Same measure as chat_metrics.distinct_conversation_skill_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.
A skill's use in Cowork sessions recorded while members had Chat
and Cowork unified turned on.
A skill's use in Cowork sessions recorded while members had Chat and Cowork unified turned on.
Same measure as cowork_metrics.distinct_session_skill_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.
class BetaAnalyticsSkillChatCoworkUnifiedSessionsMetrics: distinct_session_skill_used_countA skill's use in Cowork sessions recorded while members had Chat
and Cowork unified turned on.
A skill's use in Cowork sessions recorded while members had Chat and Cowork unified turned on.
Same measure as cowork_metrics.distinct_session_skill_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.
class BetaAnalyticsSkillChatMetrics: distinct_conversation_skill_used_countClaude.ai activity metrics for a single skill on a given day.
Claude.ai activity metrics for a single skill on a given day.
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.
class BetaAnalyticsSkillClaudeCodeMetrics: distinct_session_skill_used_countClaude Code activity metrics for a single skill on a given day.
Claude Code activity metrics for a single skill on a given day.
Number of distinct Claude Code sessions 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.
class BetaAnalyticsSkillCoworkMetrics: distinct_session_skill_used_countCowork activity metrics for a single skill on a given day.
Cowork activity metrics for a single skill on a given day.
Number of distinct Cowork sessions 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.
type BetaAnalyticsSkillGroupBy = Literal["product", "rbac_group_id", "user_id"]A dimension to group skill activity by.
A dimension to group skill activity by.
class BetaAnalyticsSkillOfficeMetrics: excel; outlook; powerpoint; wordOffice Agent activity metrics for a single skill on a given day, broken out by Office product.
Office Agent activity metrics for a single skill on a given day, broken out by Office product.
class BetaAnalyticsSkillOfficeProductMetrics: distinct_session_skill_used_countOffice Agent activity metrics for a single skill on a given day within one Office product.
Office Agent activity metrics for a single skill on a given day within one Office product.
Number of distinct Office Agent sessions 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.
type BetaAnalyticsSpeed = Literal["fast", "standard"]
type BetaAnalyticsTimeBucketWidth = Literal["1d", "1h", "1m"]
type BetaAnalyticsTokenType = Literal["cache_creation.ephemeral_1h_input_tokens", "cache_creation.ephemeral_5m_input_tokens", "cache_read_input_tokens", 2 more]
class BetaAnalyticsToolActionCounts: accepted_count; rejected_countAccepted/rejected counts for a single Claude Code tool type.
Accepted/rejected counts for a single Claude Code tool type.
Number of tool proposals accepted
Number of tool proposals rejected
class BetaAnalyticsToolActions: edit_tool; multi_edit_tool; notebook_edit_tool; write_toolPer-tool accepted/rejected counts for Claude Code file modification tools.
Per-tool accepted/rejected counts for Claude Code file modification tools.
class BetaAnalyticsUsageBucketedResult: cache_creation; cache_read_input_tokens; claude_tag_category; ... # 12 more
type BetaAnalyticsUsageCostInferenceGeo = Literal["global", "us"]
type BetaAnalyticsUsageCostProductFilter = Literal["chat", "chat_cowork_unified", "claude_code", 9 more]Publicly documented product surfaces. claude_tag is Claude Tag, the Claude product in Slack. chat_cowork_unified is Chat and Cowork unified, Cowork's features inside claude.ai chat: chat and Cowork usage by a member who has it turned on is reported under this value instead of chat or cowork. It is accepted as a filter only where Chat and Cowork unified is available.
Publicly documented product surfaces. claude_tag is Claude Tag, the Claude product in Slack. chat_cowork_unified is Chat and Cowork unified, Cowork's features inside claude.ai chat: chat and Cowork usage by a member who has it turned on is reported under this value instead of chat or cowork. It is accepted as a filter only where Chat and Cowork unified is available.
type BetaAnalyticsUsageCostSortOrder = Literal["asc", "desc"]
class BetaAnalyticsUsageReportTimeBucket: ending_at; results; starting_at
class BetaAnalyticsUsageUsersItem: actor; cache_creation; cache_read_input_tokens; ... # 16 more
class BetaAnalyticsUser: type: "user"; id; email_addressA user in the organization, identified by tagged id and email address.
A user in the organization, identified by tagged id and email address.
type: Literal["user"]Object type. Always user.
Object type. Always user.
Tagged user identifier (e.g. user_...)
Email address of the user
class BetaAnalyticsUserActivity: chat_metrics; claude_code_metrics; cowork_metrics; ... # 11 morePer-user activity data for a given day.
Per-user activity data for a given day.
class BetaAnalyticsUserActor: type: "user_actor"; deleted; email_address; ... # 2 more
Actor type. Always "user_actor".
True when the account has been deleted, or when the user is no longer a member of the organization or its associated organizations (for example, their membership was removed or they were deprovisioned via your identity provider). email_address stays populated for removed users and is null when the account has been deleted. name follows the rules described on that field. The user_id is still populated for reconciliation.
The user's email address, including for users who are no longer members of the organization or its associated organizations. Null when the account has been deleted (check deleted) and for system-minted service accounts, which have no person's mailbox behind them (check name).
The user's full name. Null when the user has not set a name. Returns "Deleted User" when the account itself has been deleted, or when the user is no longer a member of the organization or its associated organizations and the organization has chosen to hide the names of removed users. Otherwise, the name stays populated for removed users. Rows for system-minted service accounts render the service name (for example, "Claude Security") or null.
Tagged user ID.
A dimension to group user activity by.
AnálisesResumos
Obter resumos de atividade
beta.organization.analytics.summaries.list(**kwargs) -> SyncPageCursor[BetaAnalyticsSingleDayActivitySummary]Obtenha resumos de atividade de toda a organização para um intervalo de datas.
AnálisesUsuários
Listar atividade de usuários
beta.organization.analytics.users.list(**kwargs) -> SyncPageCursor[BetaAnalyticsUserActivity]Obtém a atividade por usuário em um determinado dia, com paginação baseada em cursor.
AnálisesAplicativosChatProjetos
Obter uso de projetos de chat
beta.organization.analytics.apps.chat.projects.list(**kwargs) -> SyncPageCursor[BetaAnalyticsProjectActivity]Obtém a atividade por projeto para um determinado dia, com paginação baseada em cursor.
AnálisesConectores
Obter uso de conectores
beta.organization.analytics.connectors.list(**kwargs) -> SyncPageCursor[BetaAnalyticsConnectorActivity]Obtém o uso por conector em um determinado dia, com paginação baseada em cursor.
AnálisesPlugins
Obter uso de plugins
beta.organization.analytics.plugins.list(**kwargs) -> SyncPageCursor[BetaAnalyticsPluginActivity]Obtém o uso de instalação + invocação por plugin em um determinado dia, com paginação.
AnálisesSkills
Obter uso de skills
beta.organization.analytics.skills.list(**kwargs) -> SyncPageCursor[BetaAnalyticsSkillActivity]Obtém o uso por skill em um determinado dia, com paginação baseada em cursor.
AnálisesArtifacts
Obter atividade de artifacts
beta.organization.analytics.artifacts.list(**kwargs) -> SyncPageCursor[BetaAnalyticsArtifactActivity]Obtém a atividade de criação de artifacts em um determinado dia, detalhada por tipo MIME.
AnálisesUso
Obter uso de tokens por dimensão
beta.organization.analytics.usage.list(**kwargs) -> SyncReportPageCursor[BetaAnalyticsUsageItem]anthropic-beta: analytics-usage-cost-2026-08-24. Learn how to send beta headers.Get token usage across a date range, broken out by dimension.
AnálisesCusto
Obter custo por dimensão
beta.organization.analytics.cost.list(**kwargs) -> SyncReportPageCursor[BetaAnalyticsCostItem]anthropic-beta: analytics-usage-cost-2026-08-24. Learn how to send beta headers.Get cost in USD across a date range, broken out by dimension.
AnálisesRelatório de uso
Obter uso de tokens ao longo do tempo
beta.organization.analytics.usage_report.list(**kwargs) -> SyncReportPageCursor[BetaAnalyticsUsageReportTimeBucket][Legado] Obtém o uso de tokens ao longo do tempo em um intervalo de datas.
AnálisesRelatório de uso por usuário
Obter uso de tokens por usuário
beta.organization.analytics.user_usage_report.list(**kwargs) -> SyncReportPageCursor[BetaAnalyticsUsageUsersItem][Legacy] Get per-user token usage across a date range.
AnálisesRelatório de custos
Obter custo ao longo do tempo
beta.organization.analytics.cost_report.list(**kwargs) -> SyncReportPageCursor[BetaAnalyticsCostReportTimeBucket][Legado] Obtém o custo em USD ao longo do tempo em um intervalo de datas.
AnálisesRelatório de custos por usuário
Obter custo por usuário
beta.organization.analytics.user_cost_report.list(**kwargs) -> SyncReportPageCursor[BetaAnalyticsCostUsersItem][Legacy] Get per-user cost in USD across a date range.