Batas Laju
Daftar Batas Laju Workspace
client.Beta.Organization.Workspaces.RateLimits.List(ctx, workspaceID, query) (*PageCursor[BetaWorkspaceRateLimit], error)Models
type BetaWorkspaceRateLimit struct { Type: "workspace_rate_limit"; Group; GroupType; /* 4 more */ }
type BetaWorkspaceRateLimitOrganizationSource struct { Type: "organization" }
Type OrganizationAlways 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.
type BetaWorkspaceRateLimitValue struct { 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 BetaWorkspaceRateLimitValueSourceUnionWhere 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.
type BetaWorkspaceRateLimitWorkspaceSource struct { Type: "workspace" }
Type WorkspaceAlways workspace: a workspace-level override is stored.
Always workspace: a workspace-level override is stored.
type BetaWorkspaceRateLimitOrganizationSource struct { Type: "organization" }
Type OrganizationAlways 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.
The workspace's value for this limiter type: the workspace-level override when source.type is workspace, otherwise the organization's value.
type BetaWorkspaceRateLimitWorkspaceSource struct { Type: "workspace" }
Type WorkspaceAlways workspace: a workspace-level override is stored.
Always workspace: a workspace-level override is stored.