Rate Limits
List Workspace Rate Limits
List a workspace's rate limits.
Set Workspace Rate Limits
Set or clear rate-limit overrides for one rate-limit group in a workspace.
Models
BetaWorkspaceRateLimit object{ type: "workspace_rate_limit", group, limits, 3 more }
BetaWorkspaceRateLimitOrganizationSource object{ type: "organization" }
type: "organization"Always organization: no workspace-level override is stored, so the organization's value applies.
Always organization: no workspace-level override is stored, so the organization's value applies.
BetaWorkspaceRateLimitType = "fast_itpmca" or "fast_otpm" or "input_tokens_per_minute" or 6 moreRate limiter type. input_tokens_per_minute counts every input token, cache reads included. input_tokens_per_minute_cache_aware does not count cache reads, and on current models the organization's input-token limit usually has this type. A workspace limit of either type applies alongside the organization's limit, not in place of it. Because cache reads count toward an input_tokens_per_minute limit, it can reject requests that read mostly from the cache while the organization's limit still has room.
Rate limiter type. input_tokens_per_minute counts every input token, cache reads included. input_tokens_per_minute_cache_aware does not count cache reads, and on current models the organization's input-token limit usually has this type. A workspace limit of either type applies alongside the organization's limit, not in place of it. Because cache reads count toward an input_tokens_per_minute limit, it can reject requests that read mostly from the cache while the organization's limit still has room.
BetaWorkspaceRateLimitUpdateValue object{ type, value }
Rate limiter type. input_tokens_per_minute counts every input token, cache reads included. input_tokens_per_minute_cache_aware does not count cache reads, and on current models the organization's input-token limit usually has this type. A workspace limit of either type applies alongside the organization's limit, not in place of it. Because cache reads count toward an input_tokens_per_minute limit, it can reject requests that read mostly from the cache while the organization's limit still has room.
Rate limiter type. input_tokens_per_minute counts every input token, cache reads included. input_tokens_per_minute_cache_aware does not count cache reads, and on current models the organization's input-token limit usually has this type. A workspace limit of either type applies alongside the organization's limit, not in place of it. Because cache reads count toward an input_tokens_per_minute limit, it can reject requests that read mostly from the cache while the organization's limit still has room.
value: number or nullNew limit value. Set to null to clear the workspace override and fall back to the organization limit.
New limit value. Set to null to clear the workspace override and fall back to the organization limit.
BetaWorkspaceRateLimitValue object{ type, org_limit, source, value }
BetaWorkspaceRateLimitWorkspaceSource object{ type: "workspace" }
type: "workspace"Always workspace: a workspace-level override is stored.
Always workspace: a workspace-level override is stored.