Update a rate limit
Authorizations
JWT obtained through Barndoor's authentication flow. Pass the token
verbatim in Authorization: Bearer <token>. Use the Barndoor SDK's
loginInteractive() helper to obtain a token in scripts and notebooks.
Path Parameters
Body
Send null for requests_per_minute or tokens_per_minute to clear
that metric (the other must remain set). At least one metric must
always be enforced.
Who the rate limit applies to
org, team, user, role, group, api_key, mcp_server, agent, project, llm_provider, model, model_alias Whether the policy applies to LLM, MCP, or both kinds of traffic
all, llm, mcp Response
The updated policy
"Engineering RPM cap"
Who the rate limit applies to
org, team, user, role, group, api_key, mcp_server, agent, project, llm_provider, model, model_alias Whether the policy applies to LLM, MCP, or both kinds of traffic
all, llm, mcp UUID for scopes that reference an entity (user, agent, api_key, etc.)
String for name-based scopes (group name, role name, model alias, etc.)
