Get Cost Report changedapi/beta/organization/cost_report/retrieve
Nearest release: v2.1.333, published 2 hours before 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+17added
Lines−1removed
From line
160
where the diff opens
First seen
10 Sep 2026
this site's first read of the page
Recorded edits22to this page, all time
## Errors
The whole hunk
from line 160, old and new numbered
/
from line 160
160160
161161 - `"efs-2026-10-01"`
162162
163 - `"google-managed-data-controls-2026-09-01"`
164
163165 - `"user-profiles-billing-2026-10-01"`
164166
165167 - `"message-batches-2024-09-24"`
from line 317
315317
316318 Opaque cursor for the next page, or `null` when `has_more` is false. Pass it as the `page` parameter in the next request.
317319
320## Errors
321
322Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
323
324Each code below is the value of `error.details.error_code` in the response body.
325
326- `report_page_too_large` (HTTP status 400)
327
328 The requested page of the report has more usage than one page can hold. Send a lower `limit` and page through the rest.
329
330- `too_many_report_groups` (HTTP status 400)
331
332 A day in the report has usage in more groups than the report can return. The error message names the endpoint to use instead.
333
318334## Example
319335
320336```bash
from line 358
342358 "service_tier": "standard",
343359 "speed": "standard",
344360 "token_type": "cache_creation.ephemeral_1h_input_tokens",
345 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ"
361 "workspace_id": "wrkspc_01AbCdEfGhJkLmNpQrStUvWx"
346362 }
347363 ],
348364 "starting_at": "2025-08-01T00:00:00Z"
No line in this hunk matches that.