Organization changedapi/organization
Nearest release: v2.1.306, published under an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+273added
Lines−1removed
From line
7,310
where the diff opens
First seen
30 Sep 2026
this site's first read of the page
Recorded edits9to this page, all time
### Set Workspace Rate Limits
The whole hunk
from line 7310, old and new numbered
/
from line 7310
73107310}
73117311```
73127312
7313### Set Workspace Rate Limits
7314
7315**POST** `/v1/organizations/workspaces/{workspace_id}/rate_limits/{rate_limit_id}`
7316
7317Set or clear rate-limit overrides for one rate-limit group in a workspace.
7318
7319Only the limiter types named in `limits` change: an integer `value` sets
7320that type's override and `null` clears it. Types not named keep their
7321current value. A value above the organization's own limit is stored, but
7322the organization limit still applies, so the lower of the two is
7323enforced.
7324
7325Returns the targeted group's entry with this request applied, in the shape
7326`GET /v1/organizations/workspaces/{workspace_id}/rate_limits` returns.
7327Changes take effect within about an hour.
7328
7329#### Path parameters
7330
7331- `workspace_id: string`
7332
7333 The ID of the workspace.
7334
7335- `rate_limit_id: string`
7336
7337 The `id` of the organization's rate-limit entry to set overrides for.
7338
7339#### Headers
7340
7341- `"anthropic-version": optional string`
7342
7343 The version of the Claude API you want to use.
7344
7345 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
7346
7347#### Body parameters
7348
7349- `limits: array of WorkspaceRateLimitUpdateValue`
7350
7351 Limits to set or clear. Unspecified limit types are unchanged.
7352
7353 minItems: 1, maxItems: 16
7354
7355 - `type: WorkspaceRateLimitType`
7356
7357 Rate limiter type.
7358
7359 - `"fast_itpmca"`
7360
7361 - `"fast_otpm"`
7362
7363 - `"input_tokens_per_minute"`
7364
7365 - `"input_tokens_per_minute_cache_aware"`
7366
7367 - `"output_tokens_per_minute"`
7368
7369 - `"requests_per_minute"`
7370
7371 - `"tokens_per_day"`
7372
7373 - `"tokens_per_minute"`
7374
7375 - `"tool_uses_per_second"`
7376
7377 - `value: number or null`
7378
7379 New limit value. Set to null to clear the workspace override and fall back to the organization limit.
7380
7381 minimum: 0, maximum: 9007199254740991
7382
7383#### Returns
7384
7385- `WorkspaceRateLimit object`
7386
7387 - `type: "workspace_rate_limit"`
7388
7389 Object type. Always `workspace_rate_limit` for workspace rate-limit entries.
7390
7391 default: workspace_rate_limit
7392
7393 - `group: OrganizationRateLimitModelGroup or OrganizationRateLimitBatchGroup or OrganizationRateLimitTokenCountGroup or 3 more`
7394
7395 The rate-limit group this entry's limits apply to. Its `type` equals `group_type`.
7396
7397 - `OrganizationRateLimitModelGroup object`
7398
7399 - `type: "model_group"`
7400
7401 Always `model_group`: a family of models.
7402
7403 default: model_group
7404
7405 - `id: string`
7406
7407 Opaque identifier of the rate-limit group (for example, `rlg_01VPTCmyiu5ZLsWkcxYG2pY8`). It is the same in every organization and never changes, unlike the entry's own identifier, which differs per organization.
7408
7409 - `display_name: string`
7410
7411 Human-readable name of the model group (for example, `Claude Sonnet 4.x`). For display only; it may change.
7412
7413 - `OrganizationRateLimitBatchGroup object`
7414
7415 - `type: "batch"`
7416
7417 Always `batch`: the Message Batches API.
7418
7419 default: batch
7420
7421 - `id: string`
7422
7423 Opaque identifier of the rate-limit group (for example, `rlg_01VPTCmyiu5ZLsWkcxYG2pY8`). It is the same in every organization and never changes, unlike the entry's own identifier, which differs per organization.
7424
7425 - `OrganizationRateLimitTokenCountGroup object`
7426
7427 - `type: "token_count"`
7428
7429 Always `token_count`: the Token Count API.
7430
7431 default: token_count
7432
7433 - `id: string`
7434
7435 Opaque identifier of the rate-limit group (for example, `rlg_01VPTCmyiu5ZLsWkcxYG2pY8`). It is the same in every organization and never changes, unlike the entry's own identifier, which differs per organization.
7436
7437 - `OrganizationRateLimitFilesGroup object`
7438
7439 - `type: "files"`
7440
7441 Always `files`: the Files API.
7442
7443 default: files
7444
7445 - `id: string`
7446
7447 Opaque identifier of the rate-limit group (for example, `rlg_01VPTCmyiu5ZLsWkcxYG2pY8`). It is the same in every organization and never changes, unlike the entry's own identifier, which differs per organization.
7448
7449 - `OrganizationRateLimitSkillsGroup object`
7450
7451 - `type: "skills"`
7452
7453 Always `skills`: the Skills API.
7454
7455 default: skills
7456
7457 - `id: string`
7458
7459 Opaque identifier of the rate-limit group (for example, `rlg_01VPTCmyiu5ZLsWkcxYG2pY8`). It is the same in every organization and never changes, unlike the entry's own identifier, which differs per organization.
7460
7461 - `OrganizationRateLimitWebSearchGroup object`
7462
7463 - `type: "web_search"`
7464
7465 Always `web_search`: the Messages API web search tool.
7466
7467 default: web_search
7468
7469 - `id: string`
7470
7471 Opaque identifier of the rate-limit group (for example, `rlg_01VPTCmyiu5ZLsWkcxYG2pY8`). It is the same in every organization and never changes, unlike the entry's own identifier, which differs per organization.
7472
7473 - `limits: array of WorkspaceRateLimitValue`
7474
7475 The workspace's limiter values for this group. By default only the limiter types with a workspace-level override are listed. With `include_inherited` set to `true`, the limiter types the workspace inherits from the organization are listed too, each marked by `source`.
7476
7477 - `type: string`
7478
7479 The limiter type (for example, `requests_per_minute` or `input_tokens_per_minute`).
7480
7481 - `org_limit: number or null`
7482
7483 The organization-level value for the same limiter type, for reference. `null` when the organization has no limit configured for this limiter type.
7484
7485 - `source: WorkspaceRateLimitWorkspaceSource or WorkspaceRateLimitOrganizationSource`
7486
7487 Where `value` comes from. `organization` values are listed only when `include_inherited` is `true`, and then `value` equals `org_limit`.
7488
7489 - `WorkspaceRateLimitWorkspaceSource object`
7490
7491 - `type: "workspace"`
7492
7493 Always `workspace`: a workspace-level override is stored.
7494
7495 default: workspace
7496
7497 - `WorkspaceRateLimitOrganizationSource object`
7498
7499 - `type: "organization"`
7500
7501 Always `organization`: no workspace-level override is stored, so the organization's value applies.
7502
7503 default: organization
7504
7505 - `value: number`
7506
7507 The workspace's value for this limiter type: the workspace-level override when `source.type` is `workspace`, otherwise the organization's value.
7508
7509 - `models: array of string or null`
7510
7511 Model names this entry's limits apply to, including aliases. `null` when `group_type` is not `"model_group"`.
7512
7513 - `rate_limit_id: string`
7514
7515 The `id` of the organization's RateLimit entry this entry applies to.
7516
7517 - `workspace_id: string`
7518
7519 ID of the Workspace this entry applies to.
7520
7521 - `group_type: "batch" or "files" or "model_group" or 3 more`
7522
7523 **Deprecated**: Use `group.type` instead. `group_type` is still returned and always equals `group.type`.
7524
7525 Deprecated: use `group.type` instead. The kind of rate-limit group this entry represents. `model_group` entries apply to a family of models (listed in `models`); other values apply to an API-surface category and have `models` set to `null`. Always equal to `group.type`.
7526
7527 - `"batch"`
7528
7529 - `"files"`
7530
7531 - `"model_group"`
7532
7533 - `"skills"`
7534
7535 - `"token_count"`
7536
7537 - `"web_search"`
7538
7539#### Example
7540
7541```bash
7542curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/rate_limits/$RATE_LIMIT_ID \
7543 -H 'Content-Type: application/json' \
7544 -H 'anthropic-version: 2023-06-01' \
7545 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
7546 -d '{
7547 "limits": [
7548 {
7549 "type": "fast_itpmca",
7550 "value": 0
7551 }
7552 ]
7553 }'
7554```
7555
7556##### Response (200)
7557
7558```json
7559{
7560 "group": {
7561 "id": "id",
7562 "display_name": "display_name",
7563 "type": "model_group"
7564 },
7565 "group_type": "batch",
7566 "limits": [
7567 {
7568 "org_limit": 0,
7569 "source": {
7570 "type": "workspace"
7571 },
7572 "type": "type",
7573 "value": 0
7574 }
7575 ],
7576 "models": [
7577 "string"
7578 ],
7579 "rate_limit_id": "rate_limit_id",
7580 "type": "workspace_rate_limit",
7581 "workspace_id": "workspace_id"
7582}
7583```
7584
73137585## Organization › Workspaces › Members
73147586
73157587### List Workspace Members
from line 8588
83168588
83178589 - `id: string`
83188590
8319 Identifier of this rate-limit entry. It is stable within the organization and differs between organizations; the group's own identifier is `group.id`.
8591 Identifier of this rate-limit entry. It is stable within the organization and differs between organizations; the group's own identifier is `group.id`. Pass it as `rate_limit_id` to set a workspace's overrides for this group.
83208592
83218593 - `group: OrganizationRateLimitModelGroup or OrganizationRateLimitBatchGroup or OrganizationRateLimitTokenCountGroup or 3 more`
83228594
No line in this hunk matches that.