subjectId, so one
customer cannot consume another customer’s allowance.
Both resources use 60-second windows. A request containing multiple session
events consumes one message point per event.
These per-subject limits are separate from the organization API key’s request
ceiling. Newly created organization keys allow up to 1,000 authenticated API
requests per minute across all endpoints. Existing keys retain the limit stored
when they were created.
Configure limits when creating an agent
SetrateLimits in POST /v1/agents:
Update limits
Subject identity
subjectId is your stable identifier for the person, team, organization, or
workspace using an agent. Reuse the same value for the same subject across
sessions. Do not generate a new subjectId to bypass limits.
The same subjectId can have separate allowances on different agents. Subjects
in different Herm organizations are also isolated.
Response headers
Rate-limited operations include these headers after checking an allowance:
A rejected request also includes
Retry-After with the number of seconds to
wait before retrying.
Rate-limit errors
When an allowance is exhausted, the API returns429 rate_limited:
Retry-After before retrying. Events
rejected by the message limit are not persisted, queued, or executed. A session
rejected by the conversation limit is not created.
If the allowance cannot be verified, the API returns a retryable
503 server_error.
