Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Set Spend Limit changedapi/beta/organization/spend_limits/set

Nearest release: v2.1.328, published under an hour 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+14added
Lines−0removed
From line 343 where the diff opens
First seen 1 Oct 2026 this site's first read of the page
Recorded edits16to this page, all time

## Errors

The whole hunk

from line 343, old and new numbered
/
lines
from line 343
343343 
344344 format: date-time
345345 
346## Errors
347 
348Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
349 
350Each code below is the value of `error.details.error_code` in the response body.
351 
352- `sandbox_egress_restricted` (HTTP status 403)
353 
354 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
355 
356- `spend_limits_admin_api_writes_not_enabled` (HTTP status 403)
357 
358 The organization cannot retrieve, set or delete spend limits with an Admin API credential.
359 
346360## Example
347361 
348362```bash
Feedback