Claude Platform Docs

Analytics

Get Activity Summaries
GET/v1/organizations/analytics/summaries
Models
ActivitySummary object{ summaries }

Response for GET /v1/organizations/analytics/summaries.

AnalyticsUser object{ id, email_address, type }

User identifier.

id: string

Tagged user identifier (e.g. user_...)

email_address: string

Email address of the user

type: optional "user"

Object type. Always user.

defaultuser
AnalyticsUserActor object{ deleted, email, name, 2 more }
deleted: boolean

True when the user is no longer a member of the organization or its associated organizations: either their membership was removed (for example, deprovisioned via your identity provider) or the account itself has been deleted. The flag reflects organization membership, not account status. name and email stay populated for removed members; name is "Deleted User" and email null when the account has been deleted. The user_id is still populated for reconciliation.

email: string or null

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).

name: string or null

The user's current name, including for users who are no longer members of the organization or its associated organizations. Null when the user has not set a name. Returns "Deleted User" when the account itself has been deleted. Rows for system-minted service accounts render the service name (for example, "Claude Security" for usage by Anthropic's security-patching service) or null.

type: "user_actor"

Actor type. Always "user_actor".

user_id: string

Tagged user ID.

ConnectorOfficeProductMetrics 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 null

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.

OfficeProductMetrics 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: number

Number of MCP connector invocations

distinct_connectors_used_count: number or null

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.

distinct_session_count: number or null

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.

distinct_skills_used_count: number or null

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.

message_count: number

Number of messages sent

skills_used_count: number

Number of skill invocations

SkillOfficeProductMetrics 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 null

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.

ToolActionCounts object{ accepted_count, rejected_count }

Accepted/rejected counts for a single Claude Code tool type.

accepted_count: number

Number of tool proposals accepted

rejected_count: number

Number of tool proposals rejected

AnalyticsUsage

Get Token Usage Over Time
GET/v1/organizations/analytics/usage_report
Get Per-User Token Usage
GET/v1/organizations/analytics/user_usage_report

AnalyticsCost

Get Cost Over Time
GET/v1/organizations/analytics/cost_report
Get Per-User Cost
GET/v1/organizations/analytics/user_cost_report

AnalyticsUsers

List User Activity
GET/v1/organizations/analytics/users

AnalyticsSkills

Get Skill Usage
GET/v1/organizations/analytics/skills

AnalyticsConnectors

Get Connector Usage
GET/v1/organizations/analytics/connectors

AnalyticsChat Projects

Get Chat Project Usage
GET/v1/organizations/analytics/apps/chat/projects

AnalyticsPlugins

Get Plugin Usage
GET/v1/organizations/analytics/plugins

AnalyticsArtifacts

Get Artifact Activity
GET/v1/organizations/analytics/artifacts