Follow Discord
Sweep 08 Oct 2026 · 18:53Z Build v2.1.295 516 read Stable v2.1.286 Latest v2.1.295 Next v2.1.295 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.292 ·

SDK errors can now say your own plan usage limit was reached

SDK error messages gain a usage_limit_reached kind for refusals caused by your plan limit or usage-credit spend cap, with which limit and when it resets

Use it now Improvements
JSON All of v2.1.292
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SDKArea: what it touches
ImprovementsKind: in v2.1.292,
What probably matters to youSection of the release
What

The Agent SDK lets programs run Claude Code. The kinds of error its messages can report in api_error now include usage_limit_reached. It means the request was refused because of your account's own limit:

  • a plan limit, whether per session, per week or per model
  • a spend cap on usage credits

When this happens, api_error_params.rate_limit_info says which limit was hit and when it resets.

If the SDK receives an error kind it does not recognise, it now treats the field as empty instead of failing to read the message.

Why

Programs using the SDK can tell that a plan limit was hit, rather than a rule set by an organization, the server slowing requests down, or a rate limit on an API key, without having to read the error text. An unfamiliar error kind no longer breaks reading the whole message.

Read from
Names in the bundleusage_limit_reachedapi_error

See this entry in the whole of v2.1.292 →

Feedback