Analytics API changedgovernment/org-admin/analytics-api
Nearest release: v2.1.323, published 2 hours before 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 12 Nov 2026 22:40 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 12 Nov 2026 22:44 UTC.
Upstream edited
Recorded here
Lines+3added
Lines−3removed
From line
1
where the diff opens
First seen
10 Nov 2026
this site's first read of the page
Recorded edits7to this page, all time
The whole hunk
from line 1, old and new numbered
/
from line 1
11# Analytics API
22
3> The Analytics API returns your organization's token usage and estimated cost by day, hour, member, product, or model. A Primary Owner creates the key.
3> The Analytics API returns your organization's token usage and estimated cost by day, hour, member, product, or model.
44
55> **Who this is for:** Organization owners and the teams who need their organization's usage and estimated cost in their own tools.
66
from line 10
1010
1111The API is off by default. To start using it:
1212
131. As an Owner or a Primary Owner, go to **Settings > Config** in the [organization admin portal](https://claude.com/docs/government/org-admin/overview.md#who-can-access-it), expand **Analytics API** under **Admin Console**, turn on its switch, and click **Save changes**.
142. As a [Primary Owner](https://claude.com/docs/government/org-admin/users.md#understanding-roles), [create an admin API key](https://claude.com/docs/government/org-admin/admin-api-keys.md#create-a-key) with **Usage and cost reports** selected.
131. Go to **Settings > Config** in the [organization admin portal](https://claude.com/docs/government/org-admin/overview.md#who-can-access-it), expand **Analytics API** under **Admin Console**, turn on its switch, and click **Save changes**.
142. [Create an admin API key](https://claude.com/docs/government/org-admin/admin-api-keys.md#create-a-key) with **Usage and cost reports** selected.
1515
1616A key reads only its own organization, so to cover several organizations, create a key in each. Keys from the tenant admin portal don't read usage.
1717
No line in this hunk matches that.