NAME

Claude::Agent::Message::RateLimitEvent - Rate limit status event

DESCRIPTION

Emitted when the CLI learns the account's rate limit status from an API response.

ATTRIBUTES

type

Always rate_limit_event.

rate_limit_info

The status hash as the CLI sent it, with its camelCase keys.

uuid, session_id, parent_tool_use_id, agent_id, raw

See Claude::Agent::Message::Base.

METHODS

new

Takes a flat list of name/value pairs. Unknown names are ignored.

status

allowed, allowed_warning, rejected or whatever the CLI reports.

resets_at

Unix time at which the limit resets.

rate_limit_type

Which limit the event is about.

utilization

Fraction of the limit used.

overage_status

The overage state, when the CLI reports one.

AUTHOR

LNATION, <email at lnation.org>

LICENSE

This software is Copyright (c) 2026 by LNATION.

This is free software, licensed under The Artistic License 2.0 (GPL Compatible).