--- url: "https://platform.claude.com/docs/en/api/admin/analytics" titulek: "Analytics - Claude API Reference" h1: "Analytics" popis: "API reference for Analytics endpoints" jazyk: "en" kanonicka: "https://platform.claude.com/docs/en/api/beta/organization/analytics" drobecky: [] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-15 10:58:53" znaku: 6977 slov: 760 kodovani: "iso-8859-2" sha256: "72f7db35c586d90b95a53288fb0819cb79fc398c3b7d7215c6e160536d66ba15" --- # Analytics ##### [Get Activity Summaries](/docs/en/api/http/beta/organization/analytics/retrieve_summaries) GET /v1/organizations/analytics/summaries Get organization-wide activity summaries for a date range. ##### Models BetaActivitySummary object{ summaries }Response for GET /v1/organizations/analytics/summaries. BetaAnalyticsUser object{ type, id, email_address }A user in the organization, identified by tagged id and email address.type: "user"Object type. Always `user`.defaultuserid: stringTagged user identifier (e.g. `user_...`)email_address: stringEmail address of the user BetaAnalyticsUserActor object{ type, deleted, email, 2 more }type: "user_actor"Actor type. Always `"user_actor"`.deleted: booleanTrue 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` 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.email: string or nullThe 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`).name: string or nullThe 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"` for usage by Anthropic's security-patching service) or null.user_id: stringTagged user ID. BetaConnectorOfficeProductMetrics object{ distinct_session_connector_used_count }Office Agent activity metrics for a single connector on a given day within one Office product.distinct_session_connector_used_count: number or nullNumber 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. BetaOfficeProductMetrics object{ connectors_used_count, distinct_connectors_used_count, distinct_session_count, 3 more }Office Agent activity metrics for a single user on a given day within one Office product.connectors_used_count: numberNumber of MCP connector invocationsdistinct_connectors_used_count: number or nullNumber 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.distinct_session_count: number or nullNumber 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.distinct_skills_used_count: number or nullNumber of distinct skills used. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.message_count: numberNumber of messages sentskills_used_count: numberNumber of skill invocations BetaSkillOfficeProductMetrics object{ distinct_session_skill_used_count }Office Agent activity metrics for a single skill on a given day within one Office product.distinct_session_skill_used_count: number or nullNumber 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. BetaToolActionCounts object{ accepted_count, rejected_count }Accepted/rejected counts for a single Claude Code tool type.accepted_count: numberNumber of tool proposals acceptedrejected_count: numberNumber of tool proposals rejected #### Analytics[Usage](/docs/en/api/http/beta/organization/analytics/usage) ##### [Get Token Usage Over Time](/docs/en/api/http/beta/organization/analytics/usage/list) GET /v1/organizations/analytics/usage_report Get token usage over time across a date range. ##### [Get Per-User Token Usage](/docs/en/api/http/beta/organization/analytics/usage/list_by_user) GET /v1/organizations/analytics/user_usage_report Get per-user token usage across a date range. #### Analytics[Cost](/docs/en/api/http/beta/organization/analytics/cost) ##### [Get Cost Over Time](/docs/en/api/http/beta/organization/analytics/cost/list) GET /v1/organizations/analytics/cost_report Get cost in USD over time across a date range. ##### [Get Per-User Cost](/docs/en/api/http/beta/organization/analytics/cost/list_by_user) GET /v1/organizations/analytics/user_cost_report Get per-user cost in USD across a date range. #### Analytics[Users](/docs/en/api/http/beta/organization/analytics/users) ##### [List User Activity](/docs/en/api/http/beta/organization/analytics/users/list) GET /v1/organizations/analytics/users Get per-user activity for a given day, with cursor-based pagination. #### Analytics[Skills](/docs/en/api/http/beta/organization/analytics/skills) ##### [Get Skill Usage](/docs/en/api/http/beta/organization/analytics/skills/list) GET /v1/organizations/analytics/skills Get per-skill usage for a given day, with cursor-based pagination. #### Analytics[Connectors](/docs/en/api/http/beta/organization/analytics/connectors) ##### [Get Connector Usage](/docs/en/api/http/beta/organization/analytics/connectors/list) GET /v1/organizations/analytics/connectors Get per-connector usage for a given day, with cursor-based pagination. #### Analytics[Chat Projects](/docs/en/api/http/beta/organization/analytics/chat_projects) ##### [Get Chat Project Usage](/docs/en/api/http/beta/organization/analytics/chat_projects/list) GET /v1/organizations/analytics/apps/chat/projects Get per-project activity for a given day, with cursor-based pagination. #### Analytics[Plugins](/docs/en/api/http/beta/organization/analytics/plugins) ##### [Get Plugin Usage](/docs/en/api/http/beta/organization/analytics/plugins/list) GET /v1/organizations/analytics/plugins Get per-plugin install + invocation usage for a given day, with pagination. #### Analytics[Artifacts](/docs/en/api/http/beta/organization/analytics/artifacts) ##### [Get Artifact Activity](/docs/en/api/http/beta/organization/analytics/artifacts/list) GET /v1/organizations/analytics/artifacts Get artifact-creation activity for a given day, broken out by MIME type.