List Federation Rules changedapi/admin/federation_rules/list
Nearest release: v2.1.245, published an hour after 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+29added
Lines−20removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits4to this page, all time
# List Federation Rules ## Query parameters ## Headers ## Returns ## Example ### Response (200) ## List Federation Rules ### Query Parameters ### Header Parameters ### Returns ### Example #### Response
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: List Federation Rules
3url: https://platform.claude.com/docs/en/api/admin/federation_rules/list
4---
1# List Federation Rules
52
6## List Federation Rules
3**GET** `/v1/organizations/federation_rules`
74
8**get** `/v1/organizations/federation_rules`
9
105List federation rules in your organization.
116
127Optionally filter by issuer with `issuer_id`. Archived rules are excluded
138unless `include_archived=true`.
149
15### Query Parameters
10## Query parameters
1611
1712- `include_archived: optional boolean`
1813
1914 Include archived resources. Defaults to false.
2015
16 default: false
17
2118- `issuer_id: optional string`
2219
2320 Filter to rules referencing this federation issuer.
from line 23
2623
2724 Number of results per page.
2825
26 default: 20, maximum: 100, minimum: 1
27
2928- `page: optional string`
3029
3130 Opaque cursor from a previous response's `next_page`.
3231
33### Header Parameters
32## Headers
3433
3534- `"anthropic-beta": optional array of string`
3635
from line 37
3837
3938 To use multiple betas, use a comma separated list like `beta1,beta2` or specify the header multiple times for each beta.
4039
41### Returns
40## Returns
4241
4342- `data: array of FederationRule`
4443
from line 53
5453
5554 If set, this rule is archived and rejects token exchange.
5655
56 format: date-time
57
5758 - `archived_by_actor_id: string or null`
5859
5960 Tagged ID (`user_`/`svac_`) of the actor that archived this rule.
from line 67
6667
6768 When this rule was created.
6869
70 format: date-time
71
6972 - `created_by_actor_id: string or null`
7073
7174 Tagged ID (`user_`/`svac_`) of the actor that created this rule.
from line 85
8285
8386 Issuer's display name at read time.
8487
85 - `match: object { audience, claims, condition, subject_prefix }`
88 - `match: object`
8689
8790 Conditions the verified JWT must satisfy for this rule to apply. All populated matcher fields must pass.
8891
from line 93
9093
9194 Exact match against the `aud` claim (any element if array). When omitted, the JWT's `aud` must still equal Anthropic's expected audience for the issuer; setting this field overrides that default.
9295
96 maxLength: 1024
97
9398 - `claims: optional map[string] or null`
9499
95100 Exact-match `{claim: value}` pairs against top-level claims. Only string-valued claims can be matched; use `condition` for non-string claims.
from line 103
98103
99104 CEL expression over claims for logic the structural fields can't express. Must evaluate to a boolean and may reference only the `claims` variable; a constant-true expression (such as `true`) is rejected with 400.
100105
106 maxLength: 4096
107
101108 - `subject_prefix: optional string or null`
102109
103110 Match the verified JWT `sub` claim. Exact match unless the value ends with `*`, in which case it is a prefix match. Example: `repo:my-org/my-repo:ref:refs/heads/main`.
104111
112 maxLength: 1024
113
105114 - `name: string`
106115
107116 Admin-chosen slug identifier.
from line 119
110119
111120 Space-separated OAuth scopes granted on the minted token.
112121
113 - `target: object { service_account_id, type, service_account_name }`
122 - `target: object`
114123
115124 Identity that tokens minted via this rule act as. Currently always a `service_account` target.
116125
from line 129
120129
121130 - `type: "service_account"`
122131
123 - `"service_account"`
124
125132 - `service_account_name: optional string or null`
126133
127134 Service account's display name at read time. Ignored on writes.
from line 139
132139
133140 - `type: "federation_rule"`
134141
135 - `"federation_rule"`
142 default: federation_rule
136143
137144 - `updated_at: string`
138145
139146 When this rule was last updated.
140147
148 format: date-time
149
141150 - `updated_by_actor_id: string or null`
142151
143152 Tagged ID (`user_`/`svac_`) of the actor that last updated this rule.
from line 163
154163
155164 Opaque cursor for the next page, or null if no more results.
156165
157### Example
166## Example
158167
159```http
168```bash
160169curl https://api.anthropic.com/v1/organizations/federation_rules \
161170 -H 'anthropic-version: 2023-06-01' \
162171 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
163172```
164173
165#### Response
174### Response (200)
166175
167176```json
168177{
No line in this hunk matches that.