Track team usage with analytics changedanalytics
Nearest release: v2.1.317, published an hour after upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 2 Nov 2026 22:15 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 2 Nov 2026 22:37 UTC.
Upstream edited
Recorded here
Lines+14added
Lines−14removed
From line
73
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits9to this page, all time
The whole hunk
from line 73, old and new numbered
/
from line 73
7373* **Lines of code with CC**: total lines of code across all merged PRs that were written with Claude Code assistance. Only "effective lines" are counted: lines with more than 3 characters after normalization, excluding empty lines and lines with only brackets or trivial punctuation.
7474* **PRs with Claude Code (%)**: percentage of all merged PRs that contain Claude Code-assisted code
7575* **Suggestion accept rate**: percentage of times users accept Claude Code's code editing suggestions, including Edit, Write, and NotebookEdit tool usage
76* **Lines of code accepted**: total lines of code written by Claude Code that users have accepted in their sessions. This excludes rejected suggestions and does not track subsequent deletions.
76* **Lines of code accepted**: total lines of code that Claude Code's Edit and Write tools added or removed in accepted edits. This excludes rejected suggestions, and lines deleted later don't reduce the total.
7777
7878### Explore the charts
7979
from line 188
188188
189189## Access analytics for API customers
190190
191API customers using the Claude Console can access analytics at [platform.claude.com/claude-code](https://platform.claude.com/claude-code). You need the UsageView permission to access the dashboard, which is granted to Developer, Billing, Admin, Owner, and Primary Owner roles. To pull the same daily per-user metrics programmatically, use the [Claude Code Analytics API](https://platform.claude.com/docs/en/build-with-claude/claude-code-analytics-api) with an Admin API key.
191API customers using the Claude Console can access analytics at [platform.claude.com/claude-code](https://platform.claude.com/claude-code). You need the UsageView permission to access the dashboard. The Developer, Billing, Admin, Owner, and Primary Owner roles have this permission. To pull daily per-user metrics programmatically, use the [Claude Code Analytics API](https://platform.claude.com/docs/en/build-with-claude/claude-code-analytics-api) with an Admin API key.
192192
193193> [!NOTE]
194194>
from line 196
196196
197197The Console dashboard displays:
198198
199* **Lines of code accepted**: total lines of code written by Claude Code that users have accepted in their sessions. This excludes rejected suggestions and does not track subsequent deletions.
199* **Lines of code accepted**: total lines of code that Claude Code's Edit and Write tools added or removed in accepted edits. This excludes rejected suggestions, and lines deleted later don't reduce the total.
200200* **Suggestion accept rate**: percentage of times users accept code editing tool usage, including Edit, Write, and NotebookEdit tools.
201* **Activity**: daily active users and sessions shown on a chart.
202* **Spend**: daily API costs in dollars alongside user count.
201* **Active users** and **Sessions**: daily counts of active users and Claude Code sessions.
202* **Spend**: daily API costs in dollars.
203203
204204### View team insights
205205
206The team insights table shows per-user metrics:
206The team insights table shows these per-user columns for the date range you select at the top of the dashboard, by default the last 30 days:
207207
208* **Members**: all users who have authenticated to Claude Code. API key users display by key identifier, OAuth users display by email address.
209* **Spend this month**: per-user total API costs for the current month.
210* **Lines this month**: per-user total of accepted code lines for the current month.
208* **Members**: users and API keys with reported Claude Code usage in that range. API key users display by key name, and OAuth users by email address.
209* **Spend**: per-user total API costs.
210* **Lines accepted**: per-user total of lines that the Edit and Write tools added or removed in accepted edits.
211211
212212> [!NOTE]
213213>
214> Spend figures in the Console dashboard are estimates for analytics purposes. For actual costs, refer to your billing page.
214> Spend figures in the Console dashboard are estimates for analytics purposes. For actual costs, refer to the [Cost page](https://platform.claude.com/cost).
215215
216216## Related resources
217217
No line in this hunk matches that.