速率限制
列出工作區速率限制
RateLimitListPage beta().organization().workspaces().rateLimits().list(params = RateLimitListParams.none(), requestOptions = RequestOptions.none())列出工作區的速率限制。
Models
class BetaWorkspaceRateLimit { type = "workspace_rate_limit"; group; groupType; /* 4 more */ }
class BetaWorkspaceRateLimitOrganizationSource { type = "organization"; }
Always organization: no workspace-level override is stored, so the organization's value applies.
class BetaWorkspaceRateLimitValue { type; orgLimit; source; value; }
The limiter type (for example, requests_per_minute or input_tokens_per_minute).
The organization-level value for the same limiter type, for reference. null when the organization has no limit configured for this limiter type.
Source sourceWhere value comes from. organization values are listed only when include_inherited is true, and then value equals org_limit.
Where value comes from. organization values are listed only when include_inherited is true, and then value equals org_limit.
class BetaWorkspaceRateLimitWorkspaceSource { type = "workspace"; }
Always workspace: a workspace-level override is stored.
class BetaWorkspaceRateLimitOrganizationSource { type = "organization"; }
Always organization: no workspace-level override is stored, so the organization's value applies.
The workspace's value for this limiter type: the workspace-level override when source.type is workspace, otherwise the organization's value.
class BetaWorkspaceRateLimitWorkspaceSource { type = "workspace"; }
Always workspace: a workspace-level override is stored.