Workspaces changedapi/organization/workspaces
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+272added
Lines−0removed
From line
1,432
where the diff opens
First seen
30 Sep 2026
this site's first read of the page
Recorded edits6to this page, all time
### Set Workspace Rate Limits
The whole hunk
from line 1432, old and new numbered
/
from line 1432
14321432}
14331433```
14341434
1435### Set Workspace Rate Limits
1436
1437**POST** `/v1/organizations/workspaces/{workspace_id}/rate_limits/{rate_limit_id}`
1438
1439Set or clear rate-limit overrides for one rate-limit group in a workspace.
1440
1441Only the limiter types named in `limits` change: an integer `value` sets
1442that type's override and `null` clears it. Types not named keep their
1443current value. A value above the organization's own limit is stored, but
1444the organization limit still applies, so the lower of the two is
1445enforced.
1446
1447Returns the targeted group's entry with this request applied, in the shape
1448`GET /v1/organizations/workspaces/{workspace_id}/rate_limits` returns.
1449Changes take effect within about an hour.
1450
1451#### Path parameters
1452
1453- `workspace_id: string`
1454
1455 The ID of the workspace.
1456
1457- `rate_limit_id: string`
1458
1459 The `id` of the organization's rate-limit entry to set overrides for.
1460
1461#### Headers
1462
1463- `"anthropic-version": optional string`
1464
1465 The version of the Claude API you want to use.
1466
1467 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
1468
1469#### Body parameters
1470
1471- `limits: array of WorkspaceRateLimitUpdateValue`
1472
1473 Limits to set or clear. Unspecified limit types are unchanged.
1474
1475 minItems: 1, maxItems: 16
1476
1477 - `type: WorkspaceRateLimitType`
1478
1479 Rate limiter type.
1480
1481 - `"fast_itpmca"`
1482
1483 - `"fast_otpm"`
1484
1485 - `"input_tokens_per_minute"`
1486
1487 - `"input_tokens_per_minute_cache_aware"`
1488
1489 - `"output_tokens_per_minute"`
1490
1491 - `"requests_per_minute"`
1492
1493 - `"tokens_per_day"`
1494
1495 - `"tokens_per_minute"`
1496
1497 - `"tool_uses_per_second"`
1498
1499 - `value: number or null`
1500
1501 New limit value. Set to null to clear the workspace override and fall back to the organization limit.
1502
1503 minimum: 0, maximum: 9007199254740991
1504
1505#### Returns
1506
1507- `WorkspaceRateLimit object`
1508
1509 - `type: "workspace_rate_limit"`
1510
1511 Object type. Always `workspace_rate_limit` for workspace rate-limit entries.
1512
1513 default: workspace_rate_limit
1514
1515 - `group: OrganizationRateLimitModelGroup or OrganizationRateLimitBatchGroup or OrganizationRateLimitTokenCountGroup or 3 more`
1516
1517 The rate-limit group this entry's limits apply to. Its `type` equals `group_type`.
1518
1519 - `OrganizationRateLimitModelGroup object`
1520
1521 - `type: "model_group"`
1522
1523 Always `model_group`: a family of models.
1524
1525 default: model_group
1526
1527 - `id: string`
1528
1529 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.
1530
1531 - `display_name: string`
1532
1533 Human-readable name of the model group (for example, `Claude Sonnet 4.x`). For display only; it may change.
1534
1535 - `OrganizationRateLimitBatchGroup object`
1536
1537 - `type: "batch"`
1538
1539 Always `batch`: the Message Batches API.
1540
1541 default: batch
1542
1543 - `id: string`
1544
1545 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.
1546
1547 - `OrganizationRateLimitTokenCountGroup object`
1548
1549 - `type: "token_count"`
1550
1551 Always `token_count`: the Token Count API.
1552
1553 default: token_count
1554
1555 - `id: string`
1556
1557 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.
1558
1559 - `OrganizationRateLimitFilesGroup object`
1560
1561 - `type: "files"`
1562
1563 Always `files`: the Files API.
1564
1565 default: files
1566
1567 - `id: string`
1568
1569 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.
1570
1571 - `OrganizationRateLimitSkillsGroup object`
1572
1573 - `type: "skills"`
1574
1575 Always `skills`: the Skills API.
1576
1577 default: skills
1578
1579 - `id: string`
1580
1581 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.
1582
1583 - `OrganizationRateLimitWebSearchGroup object`
1584
1585 - `type: "web_search"`
1586
1587 Always `web_search`: the Messages API web search tool.
1588
1589 default: web_search
1590
1591 - `id: string`
1592
1593 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.
1594
1595 - `limits: array of WorkspaceRateLimitValue`
1596
1597 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`.
1598
1599 - `type: string`
1600
1601 The limiter type (for example, `requests_per_minute` or `input_tokens_per_minute`).
1602
1603 - `org_limit: number or null`
1604
1605 The organization-level value for the same limiter type, for reference. `null` when the organization has no limit configured for this limiter type.
1606
1607 - `source: WorkspaceRateLimitWorkspaceSource or WorkspaceRateLimitOrganizationSource`
1608
1609 Where `value` comes from. `organization` values are listed only when `include_inherited` is `true`, and then `value` equals `org_limit`.
1610
1611 - `WorkspaceRateLimitWorkspaceSource object`
1612
1613 - `type: "workspace"`
1614
1615 Always `workspace`: a workspace-level override is stored.
1616
1617 default: workspace
1618
1619 - `WorkspaceRateLimitOrganizationSource object`
1620
1621 - `type: "organization"`
1622
1623 Always `organization`: no workspace-level override is stored, so the organization's value applies.
1624
1625 default: organization
1626
1627 - `value: number`
1628
1629 The workspace's value for this limiter type: the workspace-level override when `source.type` is `workspace`, otherwise the organization's value.
1630
1631 - `models: array of string or null`
1632
1633 Model names this entry's limits apply to, including aliases. `null` when `group_type` is not `"model_group"`.
1634
1635 - `rate_limit_id: string`
1636
1637 The `id` of the organization's RateLimit entry this entry applies to.
1638
1639 - `workspace_id: string`
1640
1641 ID of the Workspace this entry applies to.
1642
1643 - `group_type: "batch" or "files" or "model_group" or 3 more`
1644
1645 **Deprecated**: Use `group.type` instead. `group_type` is still returned and always equals `group.type`.
1646
1647 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`.
1648
1649 - `"batch"`
1650
1651 - `"files"`
1652
1653 - `"model_group"`
1654
1655 - `"skills"`
1656
1657 - `"token_count"`
1658
1659 - `"web_search"`
1660
1661#### Example
1662
1663```bash
1664curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/rate_limits/$RATE_LIMIT_ID \
1665 -H 'Content-Type: application/json' \
1666 -H 'anthropic-version: 2023-06-01' \
1667 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
1668 -d '{
1669 "limits": [
1670 {
1671 "type": "fast_itpmca",
1672 "value": 0
1673 }
1674 ]
1675 }'
1676```
1677
1678##### Response (200)
1679
1680```json
1681{
1682 "group": {
1683 "id": "id",
1684 "display_name": "display_name",
1685 "type": "model_group"
1686 },
1687 "group_type": "batch",
1688 "limits": [
1689 {
1690 "org_limit": 0,
1691 "source": {
1692 "type": "workspace"
1693 },
1694 "type": "type",
1695 "value": 0
1696 }
1697 ],
1698 "models": [
1699 "string"
1700 ],
1701 "rate_limit_id": "rate_limit_id",
1702 "type": "workspace_rate_limit",
1703 "workspace_id": "workspace_id"
1704}
1705```
1706
14351707## Workspaces › Members
14361708
14371709### List Workspace Members
No line in this hunk matches that.