Sign inGet Started

Workspace rate limits

Use workspace rate limits when one workspace, such as staging or a busy integration, should not be able to use up the request rate limits your whole organization shares.

Each of your organization's rate limits is shared by all its workspaces. A workspace limit adds a second limit on the same policy for one workspace: its requests are refused when either the workspace limit or the organization limit is reached. A workspace limit reserves no capacity for that workspace. When automatic allocation is off, other workspaces without a manual limit can use the whole organization limit.

Workspace rate limits do not change your workspace resource limits or raise your organization's rate limits.

Before you start

Open your organization in the dashboard and select Rate limits to manage a policy across all workspaces. To manage one workspace, select Workspaces, then Rate limits next to it. Viewing the organization overview requires organization settings read access and organization workspace read access. Workspace details require organization workspace read access. Changing them requires organization workspace write access, which organization owners and administrators have. Members who can read the organization's workspaces also see a workspace's limits under Workspace settings > Rate limits; other members of a workspace see that page only while their workspace has a manual limit or automatic allocation applies.

These controls appear when your organization has two or more active workspaces. Being allowed to create another workspace does not turn them on.

If you delete workspaces until one remains, saved workspace limits and enabled allocation stay in place and keep applying. The pages stay available so you can change or remove existing limits or turn allocation off. You cannot add a limit to another policy or enable a new allocation. An expired limit can only be removed. Once no manual limits or allocation remain, the pages disappear until you add another workspace.

Set a workspace limit

  1. Find the policy on the workspace's Rate limits page.
  2. Open the policy's actions menu and select Set limit, or Edit limit to change a saved one.
  3. Enter the workspace limit for the policy's window and a reason for the change. To end the limit automatically, choose when it expires; the dialog shows the time zone it uses.
  4. Select Save limit.

Requests already counted in the current window still count against the new limit. A limit below the workspace's current usage refuses its next requests until the window allows them.

Bird must have measured workspace usage for long enough before a workspace limit can be set or changed. Until then, the page tells people who can change limits when each policy will be ready. If workspace limits are not available in your organization's region yet, no ready time is shown and waiting will not help; contact support. Saved limits keep applying, and you can still remove them.

Set limits in bulk

  1. Open your organization's Rate limits page and select a policy.
  2. Search for workspace names if needed, then select the workspaces to change.
  3. Select Edit limits in the selection bar and enter a limit, reason, and optional expiry.
  4. Review the selected workspaces and save.

Every selected workspace gets the same manual limit. A bulk change either saves for every selected workspace or leaves them all unchanged. To remove several manual limits, select the workspaces and choose Clear limits.

Allocate limits automatically

Automatic allocation must be enabled for your organization before its controls appear. Contact support if you need access. If access is later disabled, saved allocation still applies; contact support to restore access or clear it.

Enabling allocation also requires several live workspaces and enough measured request usage in your region. Every policy must be ready before you can enable allocation for all policies. If access is enabled but allocation is not ready, wait for the page to update.

On a policy's page, turn on Automatic allocation to share the organization limit left after active manual limits equally between the other workspaces. Review the preview and confirm that automatic limits can decrease.

On your organization's Rate limits page, enable allocation for all policies to apply the same rule to current and future policies. This replaces individual policy settings. Turning the organization setting off leaves manual limits in place; it does not restore previous individual allocation settings.

Manual limits are subtracted in full, even when unused. Workspaces without an active manual limit share the remainder, including new workspaces. A workspace rejoins automatic allocation when its manual limit is cleared or expires. Each automatic limit is at least 1 per policy window, measured in that policy's unit, even when manual limits leave no capacity. The organization limit still caps the total, so these shares reserve no capacity and do not guarantee that a request will be accepted.

The preview shows the range when the remainder does not divide evenly. Adding workspaces, changing manual limits, or changing the organization limit recalculates the shares. The policy's workspace table labels these computed limits Automatic allocation; they are not saved as manual limits.

If the preview is unavailable, retry after the page updates. Existing settings keep applying, and you can still turn allocation off.

Remove a workspace limit

Open the policy's actions menu and select Clear limit. The workspace rejoins automatic allocation if it is enabled for that policy. Otherwise, it uses only the shared organization limit.

When a request is refused

A request refused by a rate-limit policy returns HTTP 429 with a Retry-After header, and the error's rate_limit object names the policy and the limit that refused it. Its scope is workspace when the workspace's own limit refused the request, or organization when the shared organization limit did. Raising a workspace limit does not help with an organization refusal.

Automate workspace limits

Use the bird organization workspaces rate-limits commands to list, set and clear a workspace's limits with an organization credential. A workspace API key can read its own limits through list workspace rate limits or bird workspace rate-limits list.

Next steps

  • Rate limits: how organization rate limits and retries work.
  • Workspaces: understand workspace scope and access.