hal_quota: Claude 5-hour window quota status

View source: R/quota.R

hal_quotaR Documentation

Claude 5-hour window quota status

Description

Returns the most recent rate_limit_event payload observed on the Claude backend during this session. Only populated after at least one hal(), hal_ask(), or hal_do() call – the event is embedded in the prompt response stream.

Usage

hal_quota()

Value

A hal_quota object (list) with fields type, status, resets_at (POSIXct), overage_status, overage_disabled_reason, backend. Returns NULL invisibly if no rate-limit info has been observed, or if the active backend is Copilot.

Examples

## Not run: 
hal("hello")
hal_quota()

## End(Not run)


hal documentation built on Oct. 6, 2026, 5:07 p.m.