Get Messages Usage Report changedapi/beta/organization/usage_report/retrieve_messages
Recorded here
Lines+3added
Lines−3removed
From line
279
where the diff opens
First seen
10 Sep 2026
this site's first read of the page
Recorded edits16to this page, all time
The whole hunk
from line 279, old and new numbered
/
from line 279
279279
280280 - `account_id: string or null`
281281
282 ID of the user account that made the request. `null` if not grouping by account or for non-OAuth requests.
282 ID of the user account that made the request. `null` if not grouping by account or if no user account made the request.
283283
284284 - `api_key_id: string or null`
285285
286 ID of the API key used. `null` if not grouping by API key or for usage in the Anthropic Console.
286 ID of the API key used. `null` if not grouping by API key or if the request did not use an API key, as with usage in the Claude Console or from most Claude Managed Agents sessions.
287287
288288 - `cache_creation: BetaCacheCreation`
289289
from line 342
342342
343343 - `service_account_id: string or null`
344344
345 ID of the service account that made the request. `null` if not grouping by service account or for non-OIDC-federation requests.
345 ID of the service account that made the request. `null` if not grouping by service account or if no service account made the request. This can be the ID of an Anthropic-managed service account, such as one that runs Claude Managed Agents sessions, which the Service Accounts endpoints do not return.
346346
347347 - `service_tier: BetaAnalyticsServiceTier or null`
348348
No line in this hunk matches that.