GET
GET /v1/organizations/federation_rules/{federation_rule_id}?beta=true — Claude API
Beta
Anthropic API key (required); https://api.anthropic.com
Claude APIGet Federation Rule
- 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
→ 164 tokens · Vary: Accept
→ 164 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/federation-rule-id?beta=true' \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H 'anthropic-version: 2023-06-01'
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| federation_rule_id | path | string | Yes | ID of the federation rule. |
Response 200 OK
{
"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"
]
} Get a free Claude API key → sponsored Affiliate link - we may earn a commission, at no extra cost to you.