Claude Platform Docs

联合规则

创建联合规则
POST/v1/organizations/federation_rules
获取联合规则
GET/v1/organizations/federation_rules/{federation_rule_id}
列出联合规则
GET/v1/organizations/federation_rules
更新联合规则
POST/v1/organizations/federation_rules/{federation_rule_id}
归档联合规则
POST/v1/organizations/federation_rules/{federation_rule_id}/archive
Models
FederationRule object{ id, applies_to_all_workspaces, archived_at, 17 more }

Authorization rule binding an external OIDC identity to Anthropic.

Evaluates the match conditions and mints an OAuth access token for the resolved target, scoped to a single workspace where the rule is enabled (chosen by the caller at exchange time when the rule is enabled for more than one). For rules enabled via workspace_ids or applies_to_all_workspaces, the target service account must be a member of that workspace (it is implicitly a member of the default workspace); rules carrying only the legacy workspace_id binding do not enforce this.

联合规则工作区

列出联合规则工作区
GET/v1/organizations/federation_rules/{federation_rule_id}/workspaces
添加联合规则工作区
POST/v1/organizations/federation_rules/{federation_rule_id}/workspaces
移除联合规则工作区
DELETE/v1/organizations/federation_rules/{federation_rule_id}/workspaces/{workspace_id}