Claude Platform Docs

Limiti di velocità

Elenca i limiti di velocità del workspace
RateLimitListPage Organization.Workspaces.RateLimits.List(parameters, cancellationToken = default)
GET/v1/organizations/workspaces/{workspace_id}/rate_limits

Elenca i "rate limit" (limiti di velocità) di un workspace.

Imposta i limiti di velocità del workspace
WorkspaceRateLimit Organization.Workspaces.RateLimits.Update(parameters, cancellationToken = default)
POST/v1/organizations/workspaces/{workspace_id}/rate_limits/{rate_limit_id}

Imposta o rimuovi gli override dei limiti di velocità per un gruppo di limiti di velocità in un workspace.

Models
class WorkspaceRateLimit { Type = "workspace_rate_limit"; Group; Limits; /* 3 more */ }
class WorkspaceRateLimitOrganizationSource { Type = "organization"; }
JsonElement Type = "organization"

Always organization: no workspace-level override is stored, so the organization's value applies.

enum WorkspaceRateLimitType

Rate limiter type.

FastItpmca("fast_itpmca")
FastOtpm("fast_otpm")
InputTokensPerMinute("input_tokens_per_minute")
InputTokensPerMinuteCacheAware("input_tokens_per_minute_cache_aware")
OutputTokensPerMinute("output_tokens_per_minute")
RequestsPerMinute("requests_per_minute")
TokensPerDay("tokens_per_day")
TokensPerMinute("tokens_per_minute")
ToolUsesPerSecond("tool_uses_per_second")
class WorkspaceRateLimitUpdateValue { Type; Value; }
required WorkspaceRateLimitType Type

Rate limiter type.

One of the following:
FastItpmca("fast_itpmca")
FastOtpm("fast_otpm")
InputTokensPerMinute("input_tokens_per_minute")
InputTokensPerMinuteCacheAware("input_tokens_per_minute_cache_aware")
OutputTokensPerMinute("output_tokens_per_minute")
RequestsPerMinute("requests_per_minute")
TokensPerDay("tokens_per_day")
TokensPerMinute("tokens_per_minute")
ToolUsesPerSecond("tool_uses_per_second")
required long? Value

New limit value. Set to null to clear the workspace override and fall back to the organization limit.

minimum0
maximum9007199254740991
class WorkspaceRateLimitValue { Type; OrgLimit; Source; Value; }
required string Type

The limiter type (for example, requests_per_minute or input_tokens_per_minute).

required long? OrgLimit

The organization-level value for the same limiter type, for reference. null when the organization has no limit configured for this limiter type.

required Source Source

Where value comes from. organization values are listed only when include_inherited is true, and then value equals org_limit.

One of the following:
class WorkspaceRateLimitWorkspaceSource { Type = "workspace"; }
JsonElement Type = "workspace"

Always workspace: a workspace-level override is stored.

class WorkspaceRateLimitOrganizationSource { Type = "organization"; }
JsonElement Type = "organization"

Always organization: no workspace-level override is stored, so the organization's value applies.

required long Value

The workspace's value for this limiter type: the workspace-level override when source.type is workspace, otherwise the organization's value.

class WorkspaceRateLimitWorkspaceSource { Type = "workspace"; }
JsonElement Type = "workspace"

Always workspace: a workspace-level override is stored.