Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

First request changedmanage-claude/claude-code-analytics-api

Nearest release: v2.1.305, published 2 hours after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+12added
Lines−2removed
From line 113 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits9to this page, all time

### Does this API include usage from Claude subscription plans?

The whole hunk

from line 113, old and new numbered
/
lines
from line 113
113113* **date:** Date in RFC 3339 format (UTC timestamp)
114114* **actor:** The user or API key that performed the Claude Code actions (either `user_actor` with `email_address` or `api_actor` with `api_key_name`)
115115* **organization\_id:** Organization UUID
116* **customer\_type:** Type of customer account (`api` for API customers, `subscription` for Pro/Team customers)
116* **customer\_type:** Type of customer account (`api` or `subscription`); records cover only usage authenticated against your Claude Console organization
117117* **terminal\_type:** Type of terminal or environment where Claude Code was used (for example, `vscode`, `iTerm.app`, `tmux`)
118118 
119119#### Core metrics
from line 244
244244* **`user_actor`:** Contains `email_address` for users who authenticate through OAuth (most common)
245245* **`api_actor`:** Contains `api_key_name` for users who authenticate with an API key
246246 
247The `customer_type` field indicates whether the usage is from `api` customers (pay-as-you-go API) or `subscription` customers (Pro/Team plans).
247The `customer_type` field is either `api` or `subscription`. Every record, whichever value it has, describes usage authenticated against your Claude Console organization.
248 
249### Does this API include usage from Claude subscription plans?
250 
251No. When someone signs in to Claude Code with a Claude subscription plan, such as Pro, Max, Team, or Enterprise, their usage is attributed to their claude.ai organization, and this API doesn't return it.
252 
253To track that usage, use one of these options:
254 
255* **Claude Enterprise Analytics API:** Reports Claude Code activity for Claude Enterprise organizations and isn't available on other plans. See [Analytics APIs](https://platform.claude.com/docs/en/manage-claude/analytics-api).
256* **Analytics dashboard in claude.ai:** Available on Team and Enterprise plans. See [Track team usage with analytics](https://code.claude.com/docs/en/analytics).
257* **OpenTelemetry export:** Works on any plan. See [Monitoring usage with OpenTelemetry](https://code.claude.com/docs/en/monitoring-usage).
248258 
249259### What's the data retention period?
250260 
Feedback