Analytics API changedgovernment/org-admin/analytics-api
Nearest release: v2.1.323, published under an hour 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 20:56 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 21:07 UTC.
Upstream edited
Recorded here
Lines+2added
Lines−1removed
From line
194
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 194, old and new numbered
/
from line 194
194194| 400 | `query_too_large` | Use a shorter range. |
195195| 401 | `x-api-key header is required` | Send the key in the `x-api-key` header. A key sent as `Authorization: Bearer` isn't read, so set the header yourself if your client or SDK sends only that. |
196196| 401 | `invalid or revoked admin API key` | Check the key, or [create a new one](https://claude.com/docs/government/org-admin/admin-api-keys.md#create-a-key). |
197| 403 | `missing_scope` | Use a key from the organization's **Admin API keys** page that was created with **Usage and cost reports**. |
197| 403 | `missing_scope` for `read:analytics` | Use a key from the organization's **Admin API keys** page that was created with **Usage and cost reports**. |
198| 403 or 404 | `missing_scope` for `read:compliance_activities`, or `no such Compliance API endpoint` | The request went to the Compliance API's address, so a new key won't help. Send it to the [Analytics API's address](#send-a-request-to-the-analytics-api). |
198199| 403 | `tenant_restriction_violation` | See [Tenant restrictions](https://claude.com/docs/government/tenant-admin/tenant-restrictions.md). |
199200| 404 | `no such Analytics API endpoint` | Use a path that ends in `/usage` or `/cost`. |
200201| 414 | `Request URL is over 8 KiB or has more than 256 query parameters` | Send fewer values, in several requests. |
No line in this hunk matches that.