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
WorkspaceRateLimit object{ type: "workspace_rate_limit", group, limits, 3 more }
WorkspaceRateLimitOrganizationSource 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.
WorkspaceRateLimitType = "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.
WorkspaceRateLimitUpdateValue object{ type, value }
type: WorkspaceRateLimitTypeRate 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.
WorkspaceRateLimitValue object{ type, org_limit, source, value }
WorkspaceRateLimitWorkspaceSource object{ type: "workspace" }
type: "workspace"Always workspace: a workspace-level override is stored.
Always workspace: a workspace-level override is stored.