GET
GET /v1/organizations/federation_rules?beta=true — Claude API
Beta
Anthropic API key (required); https://api.anthropic.com
Claude APIList Federation Rules
- Base URL
- https://api.anthropic.com
- Auth
- x-api-key: <ANTHROPIC_API_KEY>
- Last verified
- 2026-10-20 · upstream hash matched
Actions Try in browser→
Agents: curl -H "Accept: text/markdown" this URL
→ 229 tokens · Vary: Accept
→ 229 tokens · Vary: Accept
Critical gotchas
Authentication uses the x-api-key header and requests also require an anthropic-version header.
The official OpenAPI URL is discovered from the SDK repository manifest and must remain under Anthropic's trusted Stainless storage prefix.
cURL
curl -X GET 'https://api.anthropic.com/v1/organizations/federation_rules?beta=true&limit=20&page=example-page&issuer_id=issuer-id&include_archived=false' \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H 'anthropic-version: 2023-06-01'
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| limit | query | integer | No | Number of results per page. |
| page | query | string | No | Opaque cursor from a previous response's `next_page`. |
| issuer_id | query | string | No | Filter to rules referencing this federation issuer. |
| include_archived | query | boolean | No | Include archived resources. Defaults to false. |
Response 200 OK
{
"data": [
{
"applies_to_all_workspaces": true,
"archived_at": "2026-09-03T00:00:00Z",
"archived_by_actor_id": "string",
"attributes": {},
"created_at": "2026-09-03T00:00:00Z",
"created_by_actor_id": "string",
"description": "string",
"id": "string",
"issuer_id": "string",
"issuer_name": "string",
"match": {
"audience": "string",
"claims": {},
"condition": "string",
"subject_prefix": "string"
},
"name": "string",
"oauth_scope": "string",
"target": {
"service_account_id": "string",
"service_account_name": "string",
"type": "string"
},
"token_lifetime_seconds": 0,
"type": "federation_rule",
"updated_at": "2026-09-03T00:00:00Z",
"updated_by_actor_id": "string",
"workspace_id": "string",
"workspace_ids": [
"string"
]
}
],
"next_page": "string"
} Get a free Claude API key → sponsored Affiliate link - we may earn a commission, at no extra cost to you.