from line 1
1---
2title: List Federation Rule Workspaces
3url: https://platform.claude.com/docs/en/api/admin/federation_rules/workspaces/list
4---
1# List Federation Rule Workspaces
52
6## List Federation Rule Workspaces
3**GET** `/v1/organizations/federation_rules/{federation_rule_id}/workspaces`
74
8**get** `/v1/organizations/federation_rules/{federation_rule_id}/workspaces`
9
105List workspaces where this federation rule is enabled.
116
127Returns all workspace enablements in a single response; the `limit` and
from line 10
1510rules with `applies_to_all_workspaces` or a legacy single
1611`workspace_id`, check those fields on the rule itself.
1712
18### Path Parameters
13## Path parameters
1914
2015- `federation_rule_id: string`
2116
2217 ID of the federation rule.
2318
24### Query Parameters
19## Query parameters
2520
2621- `limit: optional number`
2722
2823 Number of results per page.
2924
25 default: 20, maximum: 100, minimum: 1
26
3027- `page: optional string`
3128
3229 Opaque cursor from a previous response's `next_page`.
3330
34### Header Parameters
31## Headers
3532
3633- `"anthropic-beta": optional array of string`
3734
from line 36
3936
4037 To use multiple betas, use a comma separated list like `beta1,beta2` or specify the header multiple times for each beta.
4138
42### Returns
39## Returns
4340
44- `data: array of object { created_at, created_by_actor_id, federation_rule_id, 3 more }`
41- `data: array of object`
4542
4643 - `created_at: string`
4744
4845 When this workspace was enabled for the rule.
4946
47 format: date-time
48
5049 - `created_by_actor_id: string or null`
5150
5251 Tagged ID (`user_...` or `svac_...`) of the actor that enabled this workspace for the rule, if known.
from line 56
5756
5857 - `type: "federation_rule_workspace"`
5958
60 - `"federation_rule_workspace"`
59 default: federation_rule_workspace
6160
6261 - `workspace_id: string`
6362
from line 70
7170
7271 Opaque cursor for the next page; null when there are no more results.
7372
74### Example
73## Example
7574
76```http
75```bash
7776curl https://api.anthropic.com/v1/organizations/federation_rules/$FEDERATION_RULE_ID/workspaces \
7877 -H 'anthropic-version: 2023-06-01' \
7978 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
8079```
8180
82#### Response
81### Response (200)
8382
8483```json
8584{
No line in this hunk matches that.