Claude Platform Docs

組織

現在の組織を取得
client.beta.organization.retrieve(options?): BetaOrganization
GET/v1/organizations/me

認証されたAPIキーに関連付けられた組織に関する情報を取得します。

Models
interface BetaApprovalRequiredErrorDetails { error_code; field }
error_code: "approval_required"
field: string

The request field that needs the approval.

interface BetaAuthorizationCheckUnavailableErrorDetails { error_code }
error_code: "authorization_check_unavailable"
interface BetaHumanReviewNotAvailableErrorDetails { error_code }
error_code: "human_review_not_available"
interface BetaOrganization { type: "organization"; id; name }
type: "organization"

Object type.

For Organizations, this is always "organization".

defaultorganization
id: string

ID of the Organization.

formatuuid
name: string

Name of the Organization.

interface BetaOrganizationNotEligibleErrorDetails { error_code }
error_code: "organization_not_eligible"
type BetaOrganizationRole = "admin" | "billing" | "claude_code_user" | 6 more
One of the following:
"admin"
"billing"
"claude_code_user"
"developer"
"managed"
"membership_admin"
"owner"
"primary_owner"
"user"
Errors
class BetaApprovalRequiredError extends BadRequestError { errorCode; details }⁠HTTP status 400

Turning human review off needs Anthropic's approval for the organization, and the organization doesn't have it. Contact Anthropic support to request approval.

errorCode: "approval_required"
details: BetaApprovalRequiredErrorDetails { error_code; field }
error_code: "approval_required"
field: string

The request field that needs the approval.

class BetaHumanReviewNotAvailableError extends BadRequestError { errorCode; details }⁠HTTP status 400

Human review can't be set as requested on this Workspace, so the request changed nothing. The error's message says what to do instead.

errorCode: "human_review_not_available"
error_code: "human_review_not_available"
class BetaOrganizationNotEligibleError extends BadRequestError { errorCode; details }⁠HTTP status 400

The feature isn't offered to this organization. The error's message names the kind of organization or, when it names none, says to contact your Anthropic account team.

errorCode: "organization_not_eligible"
error_code: "organization_not_eligible"
class BetaAuthorizationCheckUnavailableError extends ServiceUnavailableError { errorCode; details }⁠HTTP status 503

One of the organization's approvals from Anthropic could not be read right now, so nothing was done. Retry after the Retry-After delay.

errorCode: "authorization_check_unavailable"
error_code: "authorization_check_unavailable"

組織APIキー

APIキー一覧を取得
client.beta.organization.apiKeys.list(query?, options?): Page<BetaAPIKey>
GET/v1/organizations/api_keys
APIキーを取得(Admin API)
client.beta.organization.apiKeys.retrieve(apiKeyID, options?): BetaAPIKey
GET/v1/organizations/api_keys/{api_key_id}

組織内の単一のAPIキーに関する情報を、そのIDで検索して取得します。このAdmin APIエンドポイントにはAdmin APIキーが必要で、プログラムによるキー管理を目的としており、キーのシークレット値を返すことはありません。自分のAPIキーを表示または作成するには、Claude ConsoleのAPI キーにアクセスしてください。

APIキーを更新
client.beta.organization.apiKeys.update(apiKeyID, body, options?): BetaAPIKey
POST/v1/organizations/api_keys/{api_key_id}

組織外部キー

外部キーを作成
client.beta.organization.externalKeys.create(body, options?): BetaExternalKey
POST/v1/organizations/external_keys

呼び出し元の組織が所有する外部キー設定を作成します。

外部キー一覧を取得
client.beta.organization.externalKeys.list(query?, options?): PageCursor<BetaExternalKey>
GET/v1/organizations/external_keys

呼び出し元の組織内の外部キー設定を一覧表示します。

外部キーを取得
client.beta.organization.externalKeys.retrieve(externalKeyID, options?): BetaExternalKey
GET/v1/organizations/external_keys/{external_key_id}

呼び出し元の組織内の単一の外部キー設定をIDで取得します。

外部キーを更新
client.beta.organization.externalKeys.update(externalKeyID, body, options?): BetaExternalKey
POST/v1/organizations/external_keys/{external_key_id}

Partially update an external key config. Omitted fields are left unchanged.

外部キーを削除
client.beta.organization.externalKeys.delete(externalKeyID, options?): ExternalKeyDeleteResponse
DELETE/v1/organizations/external_keys/{external_key_id}

外部キー設定を削除します。

外部キーを検証
client.beta.organization.externalKeys.validate(externalKeyID, options?): ExternalKeyValidateResponse
POST/v1/organizations/external_keys/{external_key_id}/validate

顧客のKMSに対して外部キー設定を検証します。

組織フェデレーション発行者

フェデレーション発行者を作成
client.beta.organization.federation.issuers.create(params, options?): BetaFederationIssuer
POST/v1/organizations/federation_issuers

org:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。

フェデレーション発行者一覧を取得
client.beta.organization.federation.issuers.list(params?, options?): PageCursor<BetaFederationIssuer>
GET/v1/organizations/federation_issuers

org:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。

フェデレーション発行者を取得
client.beta.organization.federation.issuers.retrieve(federationIssuerID, params?, options?): BetaFederationIssuer
GET/v1/organizations/federation_issuers/{federation_issuer_id}

org:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。

フェデレーション発行者を更新
client.beta.organization.federation.issuers.update(federationIssuerID, params, options?): BetaFederationIssuer
POST/v1/organizations/federation_issuers/{federation_issuer_id}

org:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。

フェデレーション発行者をアーカイブ
client.beta.organization.federation.issuers.archive(federationIssuerID, params?, options?): BetaFederationIssuer
POST/v1/organizations/federation_issuers/{federation_issuer_id}/archive

org:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。

組織フェデレーションルール

フェデレーションルールを作成
client.beta.organization.federation.rules.create(params, options?): BetaFederationRule
POST/v1/organizations/federation_rules

org:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。

フェデレーションルール一覧を取得
client.beta.organization.federation.rules.list(params?, options?): PageCursor<BetaFederationRule>
GET/v1/organizations/federation_rules

org:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。

フェデレーションルールを取得
client.beta.organization.federation.rules.retrieve(federationRuleID, params?, options?): BetaFederationRule
GET/v1/organizations/federation_rules/{federation_rule_id}

org:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。

フェデレーションルールを更新
client.beta.organization.federation.rules.update(federationRuleID, params, options?): BetaFederationRule
POST/v1/organizations/federation_rules/{federation_rule_id}

org:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。

フェデレーションルールをアーカイブ
client.beta.organization.federation.rules.archive(federationRuleID, params?, options?): BetaFederationRule
POST/v1/organizations/federation_rules/{federation_rule_id}/archive

org:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。

組織フェデレーションルールワークスペース

フェデレーションルールのワークスペースを追加
client.beta.organization.federation.rules.workspaces.add(federationRuleID, params, options?): BetaFederationRuleWorkspace
POST/v1/organizations/federation_rules/{federation_rule_id}/workspaces

org:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。

フェデレーションルールのワークスペース一覧を取得
client.beta.organization.federation.rules.workspaces.list(federationRuleID, params?, options?): PageCursor<BetaFederationRuleWorkspace>
GET/v1/organizations/federation_rules/{federation_rule_id}/workspaces

org:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。

フェデレーションルールのワークスペースを削除
client.beta.organization.federation.rules.workspaces.remove(workspaceID, params, options?): WorkspaceRemoveResponse
DELETE/v1/organizations/federation_rules/{federation_rule_id}/workspaces/{workspace_id}

org:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。

組織招待

招待を作成
client.beta.organization.invites.create(body, options?): BetaOrganizationInvite
POST/v1/organizations/invites

メールでユーザーを組織に招待します。

招待一覧を取得
client.beta.organization.invites.list(query?, options?): Page<BetaOrganizationInvite>
GET/v1/organizations/invites

組織の招待を一覧表示します。

招待を取得
client.beta.organization.invites.retrieve(inviteID, options?): BetaOrganizationInvite
GET/v1/organizations/invites/{invite_id}

IDで招待を取得します。

招待を削除
client.beta.organization.invites.delete(inviteID, options?): InviteDeleteResponse
DELETE/v1/organizations/invites/{invite_id}

保留中の招待を削除します。

サービスアカウントを作成
client.beta.organization.serviceAccounts.create(params, options?): BetaServiceAccount
POST/v1/organizations/service_accounts

org:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。

サービスアカウント一覧を取得
client.beta.organization.serviceAccounts.list(params?, options?): PageCursor<BetaServiceAccount>
GET/v1/organizations/service_accounts

org:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。

サービスアカウントを取得
client.beta.organization.serviceAccounts.retrieve(serviceAccountID, params?, options?): BetaServiceAccount
GET/v1/organizations/service_accounts/{service_account_id}

org:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。

サービスアカウントを更新
client.beta.organization.serviceAccounts.update(serviceAccountID, params, options?): BetaServiceAccount
POST/v1/organizations/service_accounts/{service_account_id}

org:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。

サービスアカウントをアーカイブ
client.beta.organization.serviceAccounts.archive(serviceAccountID, params?, options?): BetaServiceAccount
POST/v1/organizations/service_accounts/{service_account_id}/archive

org:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。

組織サービスアカウントワークスペース

サービスアカウントにワークスペースを追加
client.beta.organization.serviceAccounts.workspaces.add(serviceAccountID, params, options?): BetaServiceAccountWorkspaceMember
POST/v1/organizations/service_accounts/{service_account_id}/workspaces

org:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。

サービスアカウントのワークスペース一覧を取得
client.beta.organization.serviceAccounts.workspaces.list(serviceAccountID, params?, options?): PageCursor<BetaServiceAccountWorkspaceMember>
GET/v1/organizations/service_accounts/{service_account_id}/workspaces

org:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。

サービスアカウントからワークスペースを削除
client.beta.organization.serviceAccounts.workspaces.remove(workspaceID, params, options?): WorkspaceRemoveResponse
DELETE/v1/organizations/service_accounts/{service_account_id}/workspaces/{workspace_id}

org:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。

External Storageを作成
client.beta.organization.externalStorage.create(params, options?): BetaExternalStorage
POST/v1/organizations/external_storage
Requires anthropic-beta: efs-2026-10-01. Learn how to send beta headers.

組織自身のクラウドアカウント内のバケットを登録します。登録したバケットは pending_configuration として保存され、有効化時に検証されます。

External Storageを一覧表示
client.beta.organization.externalStorage.list(params?, options?): PageCursor<BetaExternalStorage>
GET/v1/organizations/external_storage
Requires anthropic-beta: efs-2026-10-01. Learn how to send beta headers.

組織のExternal Storageを新しい順に一覧表示します。

External Storageを取得
client.beta.organization.externalStorage.retrieve(externalStorageID, params?, options?): BetaExternalStorage
GET/v1/organizations/external_storage/{external_storage_id}
Requires anthropic-beta: efs-2026-10-01. Learn how to send beta headers.

組織内のExternal Storageを1件取得します。

External Storageを更新
client.beta.organization.externalStorage.update(externalStorageID, params, options?): BetaExternalStorage
POST/v1/organizations/external_storage/{external_storage_id}
Requires anthropic-beta: efs-2026-10-01. Learn how to send beta headers.

ステータスに関係なく、External Storageの名前を変更するか、名前をクリアします。

External Storageを削除
client.beta.organization.externalStorage.delete(externalStorageID, params?, options?): BetaDeletedExternalStorage
DELETE/v1/organizations/external_storage/{external_storage_id}
Requires anthropic-beta: efs-2026-10-01. Learn how to send beta headers.

External Storageを削除します。構成保留中または利用可能なストレージ、およびアクティブだが一度もアタッチされていないストレージは、 Enterprise Frontier Safeguardsのワークスペースポリシーに記載されていない限り、即座に削除されます。 その他のストレージには、次に行うべきことを示す400が返されます。 draining のストレージでは、この400は、今回の削除によって取り消しできない削除処理が開始されたことを意味する場合があります。 確認するには、ストレージを取得してください。status.removal_started がtrueの場合は、後でもう一度削除して完了させてください。

External Storageを有効化
client.beta.organization.externalStorage.activate(externalStorageID, params?, options?): BetaExternalStorage
POST/v1/organizations/external_storage/{external_storage_id}/activate
Requires anthropic-beta: efs-2026-10-01. Learn how to send beta headers.

保留中のExternal Storageを検証し、利用可能にします。すでに利用可能、 アクティブ、またはDrainingのストレージは、チェックを行わずに そのまま返されます。

組織ユーザー

ユーザー一覧を取得
client.beta.organization.users.list(query?, options?): Page<BetaOrganizationUser>
GET/v1/organizations/users

組織のメンバーを一覧表示します。

ユーザーを取得
client.beta.organization.users.retrieve(userID, options?): BetaOrganizationUser
GET/v1/organizations/users/{user_id}

ユーザーIDで組織のメンバーを取得します。

ユーザーを更新
client.beta.organization.users.update(userID, body, options?): BetaOrganizationUser
POST/v1/organizations/users/{user_id}

メンバーの組織ロールを更新します。

ユーザーを削除
client.beta.organization.users.remove(userID, options?): UserRemoveResponse
DELETE/v1/organizations/users/{user_id}

組織からメンバーを削除します。

ユーザーをサインアウト
client.beta.organization.users.signOut(userID, params?, options?): BetaOrganizationUser
POST/v1/organizations/users/{user_id}/sign_out
Requires anthropic-beta: admin-user-sign-out-2026-10-08. Learn how to send beta headers.

メンバーを組織から削除することなく、すべての場所でClaudeからサインアウトさせます。これにより、メンバーがClaudeを使用しているすべての場所(他の組織や個人プランを含む)で、サインインセッションが終了し、信頼済みデバイスが削除されます。また、この組織向けにメンバーに発行されたOAuthトークンも無効になるため、Claude Codeなどのアプリは再度サインインする必要があります。

ワークスペース一覧を取得
client.beta.organization.workspaces.list(params?, options?): Page<BetaWorkspace>
GET/v1/organizations/workspaces
ワークスペースを作成
client.beta.organization.workspaces.create(params, options?): BetaWorkspace
POST/v1/organizations/workspaces
ワークスペースを取得
client.beta.organization.workspaces.retrieve(workspaceID, params?, options?): BetaWorkspace
GET/v1/organizations/workspaces/{workspace_id}
ワークスペースを更新
client.beta.organization.workspaces.update(workspaceID, params, options?): BetaWorkspace
POST/v1/organizations/workspaces/{workspace_id}
ワークスペースをアーカイブ
client.beta.organization.workspaces.archive(workspaceID, params?, options?): BetaWorkspace
POST/v1/organizations/workspaces/{workspace_id}/archive

組織ワークスペースレート制限

ワークスペースのレート制限一覧を取得
client.beta.organization.workspaces.rateLimits.list(workspaceID, query?, options?): PageCursor<BetaWorkspaceRateLimit>
GET/v1/organizations/workspaces/{workspace_id}/rate_limits

ワークスペースのレート制限を一覧表示します。

ワークスペースのレート制限を設定
client.beta.organization.workspaces.rateLimits.update(rateLimitID, params, options?): BetaWorkspaceRateLimit
POST/v1/organizations/workspaces/{workspace_id}/rate_limits/{rate_limit_id}

ワークスペース内の1つのレート制限グループについて、レート制限のオーバーライドを設定またはクリアします。

組織ワークスペースメンバー

ワークスペースメンバー一覧を取得
client.beta.organization.workspaces.members.list(workspaceID, query?, options?): Page<BetaWorkspaceMember>
GET/v1/organizations/workspaces/{workspace_id}/members
ワークスペースメンバーを作成
client.beta.organization.workspaces.members.add(workspaceID, body, options?): BetaWorkspaceMember
POST/v1/organizations/workspaces/{workspace_id}/members
ワークスペースメンバーを取得
client.beta.organization.workspaces.members.retrieve(userID, params, options?): BetaWorkspaceMember
GET/v1/organizations/workspaces/{workspace_id}/members/{user_id}
ワークスペースメンバーを更新
client.beta.organization.workspaces.members.update(userID, params, options?): BetaWorkspaceMember
POST/v1/organizations/workspaces/{workspace_id}/members/{user_id}
ワークスペースメンバーを削除
client.beta.organization.workspaces.members.remove(userID, params, options?): MemberRemoveResponse
DELETE/v1/organizations/workspaces/{workspace_id}/members/{user_id}

組織ワークスペースサービスアカウント

サービスアカウントのワークスペースメンバー一覧を取得
client.beta.organization.workspaces.serviceAccounts.list(workspaceID, params?, options?): PageCursor<BetaServiceAccountWorkspaceMember>
GET/v1/organizations/workspaces/{workspace_id}/service_accounts

org:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。

サービスアカウントのワークスペースメンバーを作成
client.beta.organization.workspaces.serviceAccounts.add(workspaceID, params, options?): BetaServiceAccountWorkspaceMember
POST/v1/organizations/workspaces/{workspace_id}/service_accounts

org:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。

サービスアカウントのワークスペースメンバーを取得
client.beta.organization.workspaces.serviceAccounts.retrieve(serviceAccountID, params, options?): BetaServiceAccountWorkspaceMember
GET/v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id}

org:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。

サービスアカウントのワークスペースメンバーを更新
client.beta.organization.workspaces.serviceAccounts.update(serviceAccountID, params, options?): BetaServiceAccountWorkspaceMember
POST/v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id}

org:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。

サービスアカウントのワークスペースメンバーを削除
client.beta.organization.workspaces.serviceAccounts.remove(serviceAccountID, params, options?): ServiceAccountRemoveResponse
DELETE/v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id}

org:admin スコープを持つ OAuth アクセストークンが必要です。このトークンは ant auth login --scope org:admin またはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin API で WIF を管理するを参照してください。

組織のレート制限を一覧表示
client.beta.organization.rateLimits.list(query?, options?): PageCursor<BetaOrganizationRateLimit>
GET/v1/organizations/rate_limits

組織の Messages API のレート制限を一覧表示します。

コンプライアンス設定を取得
client.beta.organization.complianceSettings.retrieve(params?, options?): BetaComplianceSettings
GET/v1/organizations/compliance_settings

組織のコンプライアンス設定を取得します。

コンプライアンス設定を更新
client.beta.organization.complianceSettings.update(params, options?): BetaComplianceSettings
POST/v1/organizations/compliance_settings

組織のコンプライアンス設定を更新します。

組織アナリティクスサマリー

アクティビティサマリーの取得
client.beta.organization.analytics.summaries.list(query, options?): PageCursor<BetaAnalyticsSingleDayActivitySummary>
GET/v1/organizations/analytics/summaries

指定した期間における組織全体のアクティビティサマリーを取得します。

組織アナリティクスユーザー

ユーザーアクティビティの一覧を取得
client.beta.organization.analytics.users.list(query?, options?): PageCursor<BetaAnalyticsUserActivity>
GET/v1/organizations/analytics/users

指定した日のユーザーごとのアクティビティを、カーソルベースのページネーションで取得します。

組織アナリティクスアプリチャットプロジェクト

チャットプロジェクトの使用状況の取得
client.beta.organization.analytics.apps.chat.projects.list(query?, options?): PageCursor<BetaAnalyticsProjectActivity>
GET/v1/organizations/analytics/apps/chat/projects

指定した日のプロジェクトごとのアクティビティを、カーソルベースのページネーションで取得します。

組織アナリティクスコネクター

コネクター使用量を取得
client.beta.organization.analytics.connectors.list(query?, options?): PageCursor<BetaAnalyticsConnectorActivity>
GET/v1/organizations/analytics/connectors

指定した日のコネクターごとの使用状況を、カーソルベースのページネーションで取得します。

組織アナリティクスプラグイン

プラグイン使用量を取得
client.beta.organization.analytics.plugins.list(query?, options?): PageCursor<BetaAnalyticsPluginActivity>
GET/v1/organizations/analytics/plugins

指定した日のプラグインごとのインストールおよび呼び出しの使用状況を、ページネーション付きで取得します。

組織アナリティクススキル

スキル使用量を取得
client.beta.organization.analytics.skills.list(query?, options?): PageCursor<BetaAnalyticsSkillActivity>
GET/v1/organizations/analytics/skills

指定した日のスキルごとの使用状況を、カーソルベースのページネーションで取得します。

組織アナリティクスArtifacts

Artifactsのアクティビティを取得
client.beta.organization.analytics.artifacts.list(query, options?): PageCursor<BetaAnalyticsArtifactActivity>
GET/v1/organizations/analytics/artifacts

指定した日のアーティファクト作成アクティビティを、MIMEタイプごとに分類して取得します。

組織アナリティクス使用量

ディメンション別のトークン使用量を取得
client.beta.organization.analytics.usage.list(params, options?): ReportPageCursor<BetaAnalyticsUsageItem>
GET/v1/organizations/analytics/usage
Requires anthropic-beta: analytics-usage-cost-2026-08-24. Learn how to send beta headers.

Get token usage across a date range, broken out by dimension.

組織アナリティクスコスト

ディメンション別のコストを取得
client.beta.organization.analytics.cost.list(params, options?): ReportPageCursor<BetaAnalyticsCostItem>
GET/v1/organizations/analytics/cost
Requires anthropic-beta: analytics-usage-cost-2026-08-24. Learn how to send beta headers.

Get cost in USD across a date range, broken out by dimension.

組織アナリティクス使用量レポート

トークン使用量の推移の取得
client.beta.organization.analytics.usageReport.list(query, options?): ReportPageCursor<BetaAnalyticsUsageReportTimeBucket>
GET/v1/organizations/analytics/usage_report

[レガシー] 指定した日付範囲におけるトークン使用量の推移を取得します。

組織アナリティクスユーザー使用状況レポート

ユーザーごとのトークン使用量の取得
client.beta.organization.analytics.userUsageReport.list(query, options?): ReportPageCursor<BetaAnalyticsUsageUsersItem>
GET/v1/organizations/analytics/user_usage_report

[Legacy] Get per-user token usage across a date range.

組織アナリティクスコストレポート

コストの推移の取得
client.beta.organization.analytics.costReport.list(query, options?): ReportPageCursor<BetaAnalyticsCostReportTimeBucket>
GET/v1/organizations/analytics/cost_report

[レガシー] 指定した日付範囲におけるUSD建てのコストの推移を取得します。

組織アナリティクスユーザーコストレポート

ユーザーごとのコストの取得
client.beta.organization.analytics.userCostReport.list(query, options?): ReportPageCursor<BetaAnalyticsCostUsersItem>
GET/v1/organizations/analytics/user_cost_report

[Legacy] Get per-user cost in USD across a date range.

組織支出上限

支出上限の設定
client.beta.organization.spendLimits.set(params, options?): BetaSpendLimit
POST/v1/organizations/spend_limits

支出上限を設定します。

支出上限を取得
client.beta.organization.spendLimits.retrieve(spendLimitID, options?): BetaSpendLimit
GET/v1/organizations/spend_limits/{spend_limit_id}

IDを指定して支出上限を取得します。

支出上限を削除
client.beta.organization.spendLimits.delete(spendLimitID, options?): SpendLimitDeleteResponse
DELETE/v1/organizations/spend_limits/{spend_limit_id}

支出上限を削除します。

支出上限の一覧取得
client.beta.organization.spendLimits.list(params?, options?): PageCursor<BetaSpendLimit>
GET/v1/organizations/spend_limits
Requires anthropic-beta: spend-limit-reads-2026-09-26. Learn how to send beta headers.

組織の支出上限を一覧表示します。

組織支出上限有効

有効な支出上限の一覧取得
client.beta.organization.spendLimits.effective.list(query?, options?): PageCursor<BetaSpendSummary>
GET/v1/organizations/spend_limits/effective

各メンバーの実効支出上限と期間累計の支出を一覧表示します。

組織支出上限引き上げリクエスト

支出上限引き上げリクエストの一覧を取得
client.beta.organization.spendLimits.increaseRequests.list(query?, options?): PageCursor<BetaSpendLimitIncreaseRequest>
GET/v1/organizations/spend_limit_increase_requests

支出上限引き上げリクエストの一覧を、新しい順に取得します。

支出上限引き上げリクエストを取得
client.beta.organization.spendLimits.increaseRequests.retrieve(spendLimitIncreaseRequestID, options?): BetaSpendLimitIncreaseRequest
GET/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}

支出上限引き上げリクエストを取得します。

支出上限引き上げリクエストを承認
client.beta.organization.spendLimits.increaseRequests.approve(spendLimitIncreaseRequestID, body, options?): IncreaseRequestApproveResponse
POST/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}/approve

保留中の支出上限引き上げリクエストを承認します。

支出上限引き上げリクエストを拒否
client.beta.organization.spendLimits.increaseRequests.deny(spendLimitIncreaseRequestID, body, options?): BetaSpendLimitIncreaseRequest
POST/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}/deny

保留中の支出上限引き上げリクエストを拒否します。

RBACグループを作成
client.beta.organization.rbacGroups.create(body, options?): BetaRBACGroup
POST/v1/organizations/rbac_groups

Claude Enterprise テナント内にRBACグループを作成します。API経由で作成されたグループのソースタイプは "direct" になります。

RBACグループの一覧を取得
client.beta.organization.rbacGroups.list(query?, options?): PageCursor<BetaRBACGroup>
GET/v1/organizations/rbac_groups

Claude Enterprise テナント内のRBACグループを一覧表示します。

RBACグループを取得
client.beta.organization.rbacGroups.retrieve(rbacGroupID, options?): BetaRBACGroup
GET/v1/organizations/rbac_groups/{rbac_group_id}

IDでRBACグループを取得します。

RBACグループを更新
client.beta.organization.rbacGroups.update(rbacGroupID, body, options?): BetaRBACGroup
POST/v1/organizations/rbac_groups/{rbac_group_id}

RBACグループの名前を更新します。テナント内の組織がSCIMプロビジョニングを使用している間は、IDプロバイダーによってプロビジョニングされたグループ(ソースタイプ "scim")をAPIで変更することはできません。

RBACグループを削除
client.beta.organization.rbacGroups.delete(rbacGroupID, options?): BetaDeletedRBACGroup
DELETE/v1/organizations/rbac_groups/{rbac_group_id}

RBACグループを削除します。テナント内の組織がSCIMプロビジョニングを使用している間は、IDプロバイダーによってプロビジョニングされたグループ(ソースタイプ "scim")をAPIで削除することはできません。

組織RBACグループメンバー

RBACグループメンバーの一覧を取得
client.beta.organization.rbacGroups.members.list(rbacGroupID, query?, options?): PageCursor<BetaRBACGroupMember>
GET/v1/organizations/rbac_groups/{rbac_group_id}/members

RBACグループのメンバーを一覧表示します。

RBACグループメンバーの追加
client.beta.organization.rbacGroups.members.add(rbacGroupID, body, options?): BetaRBACGroupMember
POST/v1/organizations/rbac_groups/{rbac_group_id}/members

RBACグループにユーザーを追加します。テナント内の組織がSCIMプロビジョニングを使用している間は、IDプロバイダーによってプロビジョニングされたグループ(ソースタイプ "scim")のメンバーシップをAPIで変更することはできません。

RBACグループメンバーの削除
client.beta.organization.rbacGroups.members.remove(userID, params, options?): BetaDeletedRBACGroupMember
DELETE/v1/organizations/rbac_groups/{rbac_group_id}/members/{user_id}

RBACグループからユーザーを削除します。テナント内の組織がSCIMプロビジョニングを使用している間は、IDプロバイダーによってプロビジョニングされたグループ(ソースタイプ "scim")のメンバーシップをAPIで変更することはできません。

組織RBACロール

RBACロールの一覧を取得
client.beta.organization.rbacRoles.list(query?, options?): PageCursor<BetaRBACRole>
GET/v1/organizations/rbac_roles

組織内のRBACロールを一覧表示します。

RBACロールを取得
client.beta.organization.rbacRoles.retrieve(rbacRoleID, options?): BetaRBACRole
GET/v1/organizations/rbac_roles/{rbac_role_id}

IDでRBACロールを取得します。

組織RBACロール権限

RBACロールの権限の一覧を取得
client.beta.organization.rbacRoles.permissions.list(rbacRoleID, query?, options?): PageCursor<BetaRBACRolePermission>
GET/v1/organizations/rbac_roles/{rbac_role_id}/permissions

RBACロールが付与する権限を一覧表示します。

プラグインの作成
client.beta.organization.plugins.create(params, options?): BetaPlugin
POST/v1/organizations/plugins
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Create an organization-owned Plugin and its first version by uploading the version's files.

プラグインの取得
client.beta.organization.plugins.retrieve(pluginID, params?, options?): BetaPlugin
GET/v1/organizations/plugins/{plugin_id}
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

IDを指定してプラグインを取得します。

プラグインの更新
client.beta.organization.plugins.update(pluginID, params, options?): BetaPlugin
POST/v1/organizations/plugins/{plugin_id}
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Change which stored version of an organization-owned Plugin is served to members, for example to roll back to an earlier one. This pins the served version: later uploads through this API are stored but no longer change what is served, and pinning cannot currently be undone, here or in claude.ai.

プラグインの一覧表示
client.beta.organization.plugins.list(params?, options?): PageCursor<BetaPlugin>
GET/v1/organizations/plugins
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

List the Plugins created under the organization, newest first: those in the organization's own plugin marketplaces and those in members' personal plugin marketplaces.

プラグインの削除
client.beta.organization.plugins.delete(pluginID, params?, options?): BetaDeletedPlugin
DELETE/v1/organizations/plugins/{plugin_id}
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Permanently delete a Plugin and every version it holds, exactly as when an administrator deletes it in claude.ai. The Plugin may belong to the organization or to a member, including a member who has since left the organization. Do not delete a Plugin only because your pipeline did not create it: a member or an administrator might have added it in claude.ai.

組織プラグインバージョン

プラグインバージョンの作成
client.beta.organization.plugins.versions.create(pluginID, params, options?): BetaPluginVersion
POST/v1/organizations/plugins/{plugin_id}/versions
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Add a version to an organization-owned Plugin by uploading the new version's files; it becomes the version served to members unless the Plugin's served version has been pinned.

プラグインバージョンの一覧表示
client.beta.organization.plugins.versions.list(pluginID, params?, options?): PageCursor<BetaPluginVersion>
GET/v1/organizations/plugins/{plugin_id}/versions
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

プラグインのバージョンを新しい順に一覧表示します。

プラグインバージョンの取得
client.beta.organization.plugins.versions.retrieve(version, params, options?): BetaPluginVersion
GET/v1/organizations/plugins/{plugin_id}/versions/{version}
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

プラグインの1つのバージョンをIDで取得するか、プラグインの最新バージョンを取得します。

プラグインバージョンアーカイブのダウンロード
client.beta.organization.plugins.versions.download(version, params, options?): Response
GET/v1/organizations/plugins/{plugin_id}/versions/{version}/content
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

Download one version's .zip archive, exactly as stored. Downloads of Plugins from members' personal plugin marketplaces can be recorded on the Compliance API activity feed.

組織プラグインインストール設定

プラグインインストール設定の一覧表示
client.beta.organization.plugins.installationSettings.list(pluginID, params?, options?): PageCursor<BetaPluginInstallationSetting>
GET/v1/organizations/plugins/{plugin_id}/installation_settings
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

組織所有のプラグインのインストール設定(どのメンバーを対象とするかを示すもの)を、作成日時の新しい順に一覧表示します。

プラグインインストール設定の設定
client.beta.organization.plugins.installationSettings.set(target, params, options?): BetaPluginInstallationSetting
POST/v1/organizations/plugins/{plugin_id}/installation_settings/{target}
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

組織所有のプラグインについて、組織全体または1つのRBACグループに対するインストール設定を設定または変更します。

プラグインインストール設定の削除
client.beta.organization.plugins.installationSettings.remove(target, params, options?): BetaDeletedPluginInstallationSetting
DELETE/v1/organizations/plugins/{plugin_id}/installation_settings/{target}
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

組織所有のプラグインについて、組織全体または1つのRBACグループに対する独自のインストール設定を削除します。

組織プラグイン共有

プラグイン共有の一覧表示
client.beta.organization.plugins.shares.list(pluginID, params?, options?): PageCursor<BetaPluginShare>
GET/v1/organizations/plugins/{plugin_id}/shares
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

List the shares the owner of a member-owned Plugin has given — to every member of the organization, to an RBAC Group, or to one member — most recently granted first.

プラグインマーケットプレイスの一覧表示
client.beta.organization.pluginMarketplaces.list(params?, options?): PageCursor<BetaPluginMarketplace>
GET/v1/organizations/plugin_marketplaces
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

プラグインが置かれているプラグインマーケットプレイスを新しい順に一覧表示します。組織自身のものと、メンバーの個人用のものが含まれます。

プラグインマーケットプレイスの取得
client.beta.organization.pluginMarketplaces.retrieve(marketplaceID, params?, options?): BetaPluginMarketplace
GET/v1/organizations/plugin_marketplaces/{marketplace_id}
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

IDでプラグインマーケットプレイスを取得します。

プラグインマーケットプレイスの更新
client.beta.organization.pluginMarketplaces.update(marketplaceID, params, options?): BetaPluginMarketplace
POST/v1/organizations/plugin_marketplaces/{marketplace_id}
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

組織自身のプラグインマーケットプレイスの1つについて、デフォルトのインストール設定を設定します。そのマーケットプレイス内で独自の設定を持たないすべてのプラグイン(後から追加されるプラグインを含む)は、このデフォルトを組織全体の設定として受け取ります。

プラグインマーケットプレイスリポジトリの検証
client.beta.organization.pluginMarketplaces.validateRepository(params, options?): BetaPluginMarketplaceValidationReport
POST/v1/organizations/plugin_marketplaces/validate_repository
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

公開GitHubリポジトリにあるプラグインマーケットプレイスがclaude.aiに同期されるかどうかを、接続や保存を行わずに確認します。

プラグインマーケットプレイスアーカイブの検証
client.beta.organization.pluginMarketplaces.validateArchive(params, options?): BetaPluginMarketplaceValidationReport
POST/v1/organizations/plugin_marketplaces/validate_archive
Requires anthropic-beta: ce-plugins-2026-09-01. Learn how to send beta headers.

マーケットプレイスディレクトリの .zip としてアップロードされたプラグインマーケットプレイスがclaude.aiに同期されるかどうかを、接続や保存を行わずに確認します。

テレメトリ送信先を作成
client.beta.organization.telemetryDestinations.create(params, options?): BetaTelemetryDestination
POST/v1/organizations/telemetry_destinations
Requires anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.

組織の OpenTelemetry 送信先を登録します。

テレメトリ送信先を一覧表示
client.beta.organization.telemetryDestinations.list(params?, options?): PageCursor<BetaTelemetryDestination>
GET/v1/organizations/telemetry_destinations
Requires anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.

組織の送信先を新しい順に一覧表示します。必要に応じて、指定したワークスペースを対象とするものだけに絞り込めます。

テレメトリ送信先を取得
client.beta.organization.telemetryDestinations.retrieve(destinationID, params?, options?): BetaTelemetryDestination
GET/v1/organizations/telemetry_destinations/{destination_id}
Requires anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.

送信先の設定、状態、および最新の配信結果を読み取ります。

テレメトリ送信先を更新
client.beta.organization.telemetryDestinations.update(destinationID, params, options?): BetaTelemetryDestination
POST/v1/organizations/telemetry_destinations/{destination_id}
Requires anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.

テレメトリ送信先の設定、状態、または対象とするワークスペースを変更します。

テレメトリ送信先を削除
client.beta.organization.telemetryDestinations.delete(destinationID, params?, options?): BetaDeletedTelemetryDestination
DELETE/v1/organizations/telemetry_destinations/{destination_id}
Requires anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.

送信先とそのワークスペースリストを削除します。

テレメトリ送信先をテスト
client.beta.organization.telemetryDestinations.test(destinationID, params?, options?): BetaTelemetryDestinationTestResponse
POST/v1/organizations/telemetry_destinations/{destination_id}/test
Requires anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.

anthropic.test という名前のテストスパンを1つ、登録済みのヘッダーとともに送信先へ再試行なしで1回送信し、送信先の応答を報告します。送信先が 2xx ステータスで応答したかどうかにかかわらず、レスポンスは 200 です。その result のタイプは success、または failure で、後者の場合は理由が error に含まれます。送信先の設定、state、delivery_health は変更されません。無効な送信先もテストできます。1つの送信先のテストの間隔は10秒空けてください。それより早いリクエストにはステータス 429 が返される場合があります。

組織テレメトリ送信先ワークスペース

テレメトリ送信先ワークスペースを一覧表示
client.beta.organization.telemetryDestinations.workspaces.list(destinationID, params?, options?): PageCursor<BetaTelemetryDestinationWorkspace>
GET/v1/organizations/telemetry_destinations/{destination_id}/workspaces
Requires anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.

送信先のワークスペースリストにあるワークスペースを、新しいエントリから順に一覧表示します。

テレメトリ送信先ワークスペースを追加
client.beta.organization.telemetryDestinations.workspaces.add(workspaceID, params, options?): BetaTelemetryDestinationWorkspace
POST/v1/organizations/telemetry_destinations/{destination_id}/workspaces/{workspace_id}
Requires anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.

送信先のワークスペースリストにワークスペースを1つ追加します。

テレメトリ送信先ワークスペースを削除
client.beta.organization.telemetryDestinations.workspaces.remove(workspaceID, params, options?): BetaDeletedTelemetryDestinationWorkspace
DELETE/v1/organizations/telemetry_destinations/{destination_id}/workspaces/{workspace_id}
Requires anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.

送信先のワークスペースリストからワークスペースを1つ削除します。

組織Webhook

組織Webhookエンドポイントを作成
client.beta.organization.webhooks.create(params, options?): BetaNewOrganizationWebhookEndpoint
POST/v1/organizations/webhooks
Requires anthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.

組織Webhookエンドポイントを作成します。

組織Webhookエンドポイントの一覧を取得
client.beta.organization.webhooks.list(params?, options?): Page<BetaOrganizationWebhookEndpoint>
GET/v1/organizations/webhooks
Requires anthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.

組織のWebhookエンドポイントを一覧表示します。

組織Webhookエンドポイントを取得
client.beta.organization.webhooks.retrieve(webhookEndpointID, params?, options?): BetaOrganizationWebhookEndpoint
GET/v1/organizations/webhooks/{webhook_endpoint_id}
Requires anthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.

IDを指定して組織Webhookエンドポイントを取得します。

組織Webhookエンドポイントを更新
client.beta.organization.webhooks.update(webhookEndpointID, params, options?): BetaOrganizationWebhookEndpoint
POST/v1/organizations/webhooks/{webhook_endpoint_id}
Requires anthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.

組織Webhookエンドポイントを更新します。送信したフィールドのみが変更されます。

組織Webhookエンドポイントを削除
client.beta.organization.webhooks.delete(webhookEndpointID, params?, options?): BetaDeletedOrganizationWebhookEndpoint
DELETE/v1/organizations/webhooks/{webhook_endpoint_id}
Requires anthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.

組織Webhookエンドポイントを削除します。

組織Webhookエンドポイントの署名シークレットを再生成
client.beta.organization.webhooks.regenerateSigningSecret(webhookEndpointID, params?, options?): BetaOrganizationWebhookEndpointSigningSecret
POST/v1/organizations/webhooks/{webhook_endpoint_id}/regenerate_signing_secret
Requires anthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.

組織Webhookエンドポイントの署名シークレットを置き換えます。古いシークレットは直ちに使用できなくなります。新しいシークレットはこのレスポンスでのみ返されます。

組織Claude CodeManaged SettingsConfiguration

Get Claude Code Managed Settings Configuration
client.beta.organization.claudeCode.managedSettings.configuration.retrieve(params?, options?): BetaClaudeCodeManagedSettingsConfiguration
GET/v1/organizations/claude_code/managed_settings/configuration
Requires anthropic-beta: ce-claude-code-managed-settings-2026-10-06. Learn how to send beta headers.

Retrieve the organization's Claude Code managed settings mode and RBAC Group order.

Update Claude Code Managed Settings Configuration
client.beta.organization.claudeCode.managedSettings.configuration.update(params, options?): BetaClaudeCodeManagedSettingsConfiguration
POST/v1/organizations/claude_code/managed_settings/configuration
Requires anthropic-beta: ce-claude-code-managed-settings-2026-10-06. Learn how to send beta headers.

Change the organization's Claude Code managed settings mode, the RBAC Group order, or both, in one atomic write.

組織Claude CodeManaged SettingsRBACグループ

List RBAC Group Claude Code Managed Settings
client.beta.organization.claudeCode.managedSettings.rbacGroups.list(params?, options?): PageCursor<BetaClaudeCodeRBACGroupManagedSettingsSummary>
GET/v1/organizations/claude_code/managed_settings/rbac_groups
Requires anthropic-beta: ce-claude-code-managed-settings-2026-10-06. Learn how to send beta headers.

List the RBAC Groups that have Claude Code managed settings, highest precedence first.

Get RBAC Group Claude Code Managed Settings
client.beta.organization.claudeCode.managedSettings.rbacGroups.retrieve(rbacGroupID, params?, options?): BetaClaudeCodeRBACGroupManagedSettings
GET/v1/organizations/claude_code/managed_settings/rbac_groups/{rbac_group_id}
Requires anthropic-beta: ce-claude-code-managed-settings-2026-10-06. Learn how to send beta headers.

Retrieve an RBAC Group's Claude Code managed settings.

Set RBAC Group Claude Code Managed Settings
client.beta.organization.claudeCode.managedSettings.rbacGroups.set(rbacGroupID, params, options?): BetaClaudeCodeRBACGroupManagedSettings
POST/v1/organizations/claude_code/managed_settings/rbac_groups/{rbac_group_id}
Requires anthropic-beta: ce-claude-code-managed-settings-2026-10-06. Learn how to send beta headers.

Create or replace an RBAC Group's Claude Code managed settings.

Delete RBAC Group Claude Code Managed Settings
client.beta.organization.claudeCode.managedSettings.rbacGroups.delete(rbacGroupID, params?, options?): BetaDeletedClaudeCodeRBACGroupManagedSettings
DELETE/v1/organizations/claude_code/managed_settings/rbac_groups/{rbac_group_id}
Requires anthropic-beta: ce-claude-code-managed-settings-2026-10-06. Learn how to send beta headers.

Delete an RBAC Group's Claude Code managed settings and remove the group from rbac_group_order.

組織Claude CodeManaged SettingsRBAC Group Default

Get RBAC Group Default Claude Code Managed Settings
client.beta.organization.claudeCode.managedSettings.rbacGroupDefault.retrieve(params?, options?): BetaClaudeCodeRBACGroupDefaultManagedSettings
GET/v1/organizations/claude_code/managed_settings/rbac_group_default
Requires anthropic-beta: ce-claude-code-managed-settings-2026-10-06. Learn how to send beta headers.

Retrieve the default Claude Code managed settings, which members who belong to no RBAC Group in rbac_group_order receive in rbac_groups mode.

Update RBAC Group Default Claude Code Managed Settings
client.beta.organization.claudeCode.managedSettings.rbacGroupDefault.update(params, options?): BetaClaudeCodeRBACGroupDefaultManagedSettings
POST/v1/organizations/claude_code/managed_settings/rbac_group_default
Requires anthropic-beta: ce-claude-code-managed-settings-2026-10-06. Learn how to send beta headers.

Set or replace the default Claude Code managed settings, or clear them with null.

組織Claude TagSlackチャンネル

Slackチャンネルをセットアップ
client.beta.organization.claudeTag.slackChannels.create(params, options?): BetaClaudeTagSlackChannel
POST/v1/organizations/claude_tag/slack_channels
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

SlackチャンネルをClaude Tag用にセットアップし、その識別子とともに返します。チャンネルがすでにセットアップされている場合(claude.ai で、チャンネル内でのClaudeの初回使用によって、または以前のリクエストによってのいずれであっても)、既存のチャンネルが返されるため、リクエストを繰り返し実行できます。settings を送信した場合は、更新時と同じように適用されます。チャンネルがセットアップされる前に、ClaudeのSlackアプリは、そのチャンネルがワークスペース内にあり、アーカイブされておらず、アプリから見えることをSlackに確認します。確認に失敗したチャンネルは404を返します。チャンネルのセットアップと settings の適用は2つのステップで行われます。2つ目のステップが拒否された場合、レスポンスはその拒否内容となり、チャンネルはすべての設定が未設定のままセットアップされた状態になり、エラーの details.slack_channel_id にチャンネルの識別子が含まれます。

Slackチャンネルを一覧表示
client.beta.organization.claudeTag.slackChannels.list(params, options?): PageCursor<BetaClaudeTagSlackChannel>
GET/v1/organizations/claude_tag/slack_channels
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

1つのSlackワークスペースのセットアップ済みSlackチャンネルを、created_at の新しい順に一覧表示します。セットアップされていないチャンネルは一覧に含まれません。ワークスペースのチャンネルの完全なリストはSlackが保持しています。slack_channel_id も渡すと、Slackの識別子で1つのチャンネルを検索できます。その場合、data にはそのチャンネルが含まれ、セットアップされていない場合は空になり、limit と page は無視されます。組織がSlack Enterprise Gridを通じてのみ所有しているワークスペースは、セットアップされるまで404を返します。include_inherited=true を指定すると、各チャンネルの settings にはそのチャンネルで適用される値が含まれ、読み取れなかった設定レベルに基づいて解決するのではなく、リクエストは503で失敗します。page カーソルは、同じ include_inherited を指定したリクエストのみを再開できます。

Slackチャンネルを取得
client.beta.organization.claudeTag.slackChannels.retrieve(id, params?, options?): BetaClaudeTagSlackChannel
GET/v1/organizations/claude_tag/slack_channels/{id}
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

1つのSlackチャンネルとその設定を取得します。デフォルトでは、settings にはチャンネル自体が保存している値が含まれます。そこでnullになっている設定はチャンネルに設定されておらず、継承されます。include_inherited=true を指定すると、settings には上位の設定レベルを考慮したうえでチャンネルに適用される値が含まれ、読み取れなかった設定レベルに基づいて解決するのではなく、リクエストは503で失敗します。いずれの場合も、sources は各値の取得元となる設定レベルを示すため、呼び出し元は、値がnullかどうかではなくソースによって、チャンネル自体の値と継承された値を区別できます。

Slackチャンネルを更新
client.beta.organization.claudeTag.slackChannels.update(id, params, options?): BetaClaudeTagSlackChannel
POST/v1/organizations/claude_tag/slack_channels/{id}
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

Slackチャンネルが保存する設定を変更します。更新は部分的に行われます。省略した設定は変更されず、nullとして送信した設定はクリアされ、チャンネルはその設定を継承するようになります。いずれかの値が拒否された場合、リクエスト内のどの設定も保存されません。グループダイレクトメッセージは設定を受け付けず、400を返します。

Slackチャンネルを削除
client.beta.organization.claudeTag.slackChannels.delete(id, params?, options?): BetaClaudeTagDeletedSlackChannel
DELETE/v1/organizations/claude_tag/slack_channels/{id}
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

SlackチャンネルをClaude Tagから削除します。これにより、チャンネルの保存済み設定とそのBundleターゲットが即座に削除され、その後バックグラウンドで、チャンネルのセッションとそのトランスクリプト、メモリ、ルーティン、およびそのチャンネルから公開されたアーティファクトが削除されます。これらはいずれも復元できません。Slack内のチャンネルとそのメッセージは変更されません。include_inherited=true を指定した読み取りで返されるように、チャンネルの enabled が true に解決される間は、リクエストは400と error.details.error_code slack_channel_enabled で拒否されます。まずチャンネルで enabled を false に設定してください。これは使用中のチャンネルを誤って削除することを防ぐためのものであり、Claudeを締め出す手段ではありません。削除によってチャンネル自体の enabled: false も他の設定とともに削除されるため、その後チャンネルは再び継承するようになり、次にClaudeがそのチャンネルを使用したときに、新しい識別子で改めてセットアップされる可能性があります。リクエストが返った時点でその識別子は404を返すため、削除を繰り返すと404が返されます。グループダイレクトメッセージは400を返し、このAPIが管理しない構成を保持しているチャンネルも同様に400を返します。

組織Claude TagSlackワークスペース

Slackワークスペースを一覧表示
client.beta.organization.claudeTag.slackWorkspaces.list(params?, options?): PageCursor<BetaClaudeTagSlackWorkspace>
GET/v1/organizations/claude_tag/slack_workspaces
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

組織が所有するセットアップ済みのSlackワークスペースを、created_at の新しい順に一覧表示します。slack_workspace_id を渡すと、Slackの識別子で1つのワークスペースを検索できます。その場合、data にはそのワークスペースが含まれ、セットアップされていない場合は空になります。組織が接続したSlack Enterprise Gridのワークスペースは、セットアップされるまで404を返します。include_inherited=true を指定すると、各ワークスペースの settings にはそのワークスペースで適用される値が含まれ、読み取れなかった設定レベルに基づいて解決するのではなく、リクエストは503で失敗します。page カーソルは、同じ include_inherited を指定したリクエストのみを再開できます。

Slackワークスペースを取得
client.beta.organization.claudeTag.slackWorkspaces.retrieve(id, params?, options?): BetaClaudeTagSlackWorkspace
GET/v1/organizations/claude_tag/slack_workspaces/{id}
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

1つのSlackワークスペースとその設定を取得します。デフォルトでは、settings にはワークスペース自体が保存している値が含まれます。そこでnullになっている設定はワークスペースに設定されておらず、継承されます。include_inherited=true を指定すると、settings には組織のSlackデフォルトを考慮したうえでワークスペースに適用される値が含まれ、読み取れなかった設定レベルに基づいて解決するのではなく、リクエストは503で失敗します。いずれの場合も、sources は各値の取得元となる設定レベルを示します。

Slackワークスペースを更新
client.beta.organization.claudeTag.slackWorkspaces.update(id, params, options?): BetaClaudeTagSlackWorkspace
POST/v1/organizations/claude_tag/slack_workspaces/{id}
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

Slackワークスペースが保存する設定を変更します。更新は部分的に行われます。省略した設定は変更されず、nullとして送信した設定はクリアされ、ワークスペースはその設定を継承するようになります。いずれかの値が拒否された場合、リクエスト内のどの設定も保存されません。

組織Claude TagBundle

Bundleを一覧表示
client.beta.organization.claudeTag.bundles.list(params?, options?): PageCursor<BetaClaudeTagBundle>
GET/v1/organizations/claude_tag/bundles
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

組織のBundleを、created_at の新しい順に一覧表示します。Claude Tag が自身のために管理するBundleは一覧に含まれません。

Bundleを取得
client.beta.organization.claudeTag.bundles.retrieve(bundleID, params?, options?): BetaClaudeTagBundle
GET/v1/organizations/claude_tag/bundles/{bundle_id}
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

1つのBundleを取得します。Bundleが付与する内容(コネクタ、リポジトリ、認証情報)は返されません。

Update Bundle
client.beta.organization.claudeTag.bundles.update(bundleID, params, options?): BetaClaudeTagBundle
POST/v1/organizations/claude_tag/bundles/{bundle_id}
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

Change a Bundle's instructions. The update is partial: a field left out is unchanged, and instructions sent as null or as an empty string clears them. The later of two updates wins. Sessions that start after the change use the new instructions; sessions already running keep the ones they started with. Some Bundles are managed in claude.ai, and an update of one returns 400.

組織Claude TagBundleターゲット

Bundleターゲットを一覧表示
client.beta.organization.claudeTag.bundles.targets.list(bundleID, params?, options?): PageCursor<BetaClaudeTagBundleTarget>
GET/v1/organizations/claude_tag/bundles/{bundle_id}/targets
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

BundleがアタッチされているSlackチャンネルとSlackワークスペースを、created_at の新しい順に一覧表示します。組織が所有するチャンネルとワークスペースのみが一覧に含まれます。それ以外のものにアタッチされているBundleには、そのためのBundleターゲットはありません。

Bundleをアタッチ
client.beta.organization.claudeTag.bundles.targets.create(bundleID, params, options?): BetaClaudeTagBundleTarget
POST/v1/organizations/claude_tag/bundles/{bundle_id}/targets
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

BundleをSlackチャンネルまたはSlackワークスペースにアタッチします。ワークスペースにアタッチされたBundleは、そのワークスペースとその中のすべてのチャンネルで使用できます。すでにアタッチされているチャンネルまたはワークスペースにBundleをアタッチすると、既存のBundleターゲットが返されます。チャンネルまたはワークスペースはセットアップ済みである必要があります。アタッチによってチャンネルがセットアップされることはありません。グループダイレクトメッセージはBundleを受け付けず、400を返します。

Bundleターゲットを取得
client.beta.organization.claudeTag.bundles.targets.retrieve(targetID, params, options?): BetaClaudeTagBundleTarget
GET/v1/organizations/claude_tag/bundles/{bundle_id}/targets/{target_id}
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

1つのBundleターゲットを取得します。target_id が別のBundleのBundleターゲットの識別子である場合、またはBundleターゲットがデタッチされている場合は404を返します。

Bundleをデタッチ
client.beta.organization.claudeTag.bundles.targets.delete(targetID, params, options?): BetaClaudeTagDeletedBundleTarget
DELETE/v1/organizations/claude_tag/bundles/{bundle_id}/targets/{target_id}
Requires anthropic-beta: experimental-claude-tag-2026-10-21. Learn how to send beta headers.

BundleをSlackチャンネルまたはSlackワークスペースからデタッチします。デタッチを繰り返すと404が返されます。