Claude Platform Docs

組織

現在の組織を取得
$ ant beta:organization retrieve
GET/v1/organizations/me

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

Models
beta_organization: object{ type: "organization", id, name }
type: "organization"

Object type.

For Organizations, this is always "organization".

id: string

ID of the Organization.

formatuuid
name: string

Name of the Organization.

beta_organization_role: "admin" or "billing" or "claude_code_user" or 6 more
"admin"
"billing"
"claude_code_user"
"developer"
"managed"
"membership_admin"
"owner"
"primary_owner"
"user"

組織APIキー

APIキー一覧を取得
$ ant beta:organization:api-keys list
GET/v1/organizations/api_keys
APIキーを取得(Admin API)
$ ant beta:organization:api-keys retrieve
GET/v1/organizations/api_keys/{api_key_id}

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

APIキーを更新
$ ant beta:organization:api-keys update
POST/v1/organizations/api_keys/{api_key_id}

組織外部キー

外部キーを作成
$ ant beta:organization:external-keys create
POST/v1/organizations/external_keys

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

外部キー一覧を取得
$ ant beta:organization:external-keys list
GET/v1/organizations/external_keys

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

外部キーを取得
$ ant beta:organization:external-keys retrieve
GET/v1/organizations/external_keys/{external_key_id}

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

外部キーを更新
$ ant beta:organization:external-keys update
POST/v1/organizations/external_keys/{external_key_id}

外部キー設定を部分的に更新します。省略されたフィールドは変更されません。

外部キーを削除
$ ant beta:organization:external-keys delete
DELETE/v1/organizations/external_keys/{external_key_id}

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

外部キーを検証
$ ant beta:organization:external-keys validate
POST/v1/organizations/external_keys/{external_key_id}/validate

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

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

フェデレーション発行者を作成
$ ant beta:organization:federation:issuers create
POST/v1/organizations/federation_issuers

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

フェデレーション発行者一覧を取得
$ ant beta:organization:federation:issuers list
GET/v1/organizations/federation_issuers

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

フェデレーション発行者を取得
$ ant beta:organization:federation:issuers retrieve
GET/v1/organizations/federation_issuers/{federation_issuer_id}

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

フェデレーション発行者を更新
$ ant beta:organization:federation:issuers update
POST/v1/organizations/federation_issuers/{federation_issuer_id}

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

フェデレーション発行者をアーカイブ
$ ant beta:organization:federation:issuers archive
POST/v1/organizations/federation_issuers/{federation_issuer_id}/archive

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

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

フェデレーションルールを作成
$ ant beta:organization:federation:rules create
POST/v1/organizations/federation_rules

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

フェデレーションルール一覧を取得
$ ant beta:organization:federation:rules list
GET/v1/organizations/federation_rules

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

フェデレーションルールを取得
$ ant beta:organization:federation:rules retrieve
GET/v1/organizations/federation_rules/{federation_rule_id}

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

フェデレーションルールを更新
$ ant beta:organization:federation:rules update
POST/v1/organizations/federation_rules/{federation_rule_id}

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

フェデレーションルールをアーカイブ
$ ant beta:organization:federation:rules archive
POST/v1/organizations/federation_rules/{federation_rule_id}/archive

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

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

フェデレーションルールのワークスペースを追加
$ ant beta:organization:federation:rules:workspaces add
POST/v1/organizations/federation_rules/{federation_rule_id}/workspaces

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

フェデレーションルールのワークスペース一覧を取得
$ ant beta:organization:federation:rules:workspaces list
GET/v1/organizations/federation_rules/{federation_rule_id}/workspaces

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

フェデレーションルールのワークスペースを削除
$ ant beta:organization:federation:rules:workspaces remove
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を管理するを参照してください。

組織招待

招待を作成
$ ant beta:organization:invites create
POST/v1/organizations/invites

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

招待一覧を取得
$ ant beta:organization:invites list
GET/v1/organizations/invites

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

招待を取得
$ ant beta:organization:invites retrieve
GET/v1/organizations/invites/{invite_id}

IDで招待を取得します。

招待を削除
$ ant beta:organization:invites delete
DELETE/v1/organizations/invites/{invite_id}

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

サービスアカウントを作成
$ ant beta:organization:service-accounts create
POST/v1/organizations/service_accounts

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

サービスアカウント一覧を取得
$ ant beta:organization:service-accounts list
GET/v1/organizations/service_accounts

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

サービスアカウントを取得
$ ant beta:organization:service-accounts retrieve
GET/v1/organizations/service_accounts/{service_account_id}

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

サービスアカウントを更新
$ ant beta:organization:service-accounts update
POST/v1/organizations/service_accounts/{service_account_id}

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

サービスアカウントをアーカイブ
$ ant beta:organization:service-accounts archive
POST/v1/organizations/service_accounts/{service_account_id}/archive

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

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

サービスアカウントにワークスペースを追加
$ ant beta:organization:service-accounts:workspaces add
POST/v1/organizations/service_accounts/{service_account_id}/workspaces

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

サービスアカウントのワークスペース一覧を取得
$ ant beta:organization:service-accounts:workspaces list
GET/v1/organizations/service_accounts/{service_account_id}/workspaces

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

サービスアカウントからワークスペースを削除
$ ant beta:organization:service-accounts:workspaces remove
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を管理するを参照してください。

組織ユーザー

ユーザー一覧を取得
$ ant beta:organization:users list
GET/v1/organizations/users

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

ユーザーを取得
$ ant beta:organization:users retrieve
GET/v1/organizations/users/{user_id}

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

ユーザーを更新
$ ant beta:organization:users update
POST/v1/organizations/users/{user_id}

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

ユーザーを削除
$ ant beta:organization:users remove
DELETE/v1/organizations/users/{user_id}

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

ワークスペース一覧を取得
$ ant beta:organization:workspaces list
GET/v1/organizations/workspaces
ワークスペースを作成
$ ant beta:organization:workspaces create
POST/v1/organizations/workspaces
ワークスペースを取得
$ ant beta:organization:workspaces retrieve
GET/v1/organizations/workspaces/{workspace_id}
ワークスペースを更新
$ ant beta:organization:workspaces update
POST/v1/organizations/workspaces/{workspace_id}
ワークスペースをアーカイブ
$ ant beta:organization:workspaces archive
POST/v1/organizations/workspaces/{workspace_id}/archive

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

ワークスペースのレート制限一覧を取得
$ ant beta:organization:workspaces:rate-limits list
GET/v1/organizations/workspaces/{workspace_id}/rate_limits

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

ワークスペースのレート制限を設定
$ ant beta:organization:workspaces:rate-limits update
POST/v1/organizations/workspaces/{workspace_id}/rate_limits/{rate_limit_id}

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

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

ワークスペースメンバー一覧を取得
$ ant beta:organization:workspaces:members list
GET/v1/organizations/workspaces/{workspace_id}/members
ワークスペースメンバーを作成
$ ant beta:organization:workspaces:members add
POST/v1/organizations/workspaces/{workspace_id}/members
ワークスペースメンバーを取得
$ ant beta:organization:workspaces:members retrieve
GET/v1/organizations/workspaces/{workspace_id}/members/{user_id}
ワークスペースメンバーを更新
$ ant beta:organization:workspaces:members update
POST/v1/organizations/workspaces/{workspace_id}/members/{user_id}
ワークスペースメンバーを削除
$ ant beta:organization:workspaces:members remove
DELETE/v1/organizations/workspaces/{workspace_id}/members/{user_id}

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

サービスアカウントのワークスペースメンバー一覧を取得
$ ant beta:organization:workspaces:service-accounts list
GET/v1/organizations/workspaces/{workspace_id}/service_accounts

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

サービスアカウントのワークスペースメンバーを作成
$ ant beta:organization:workspaces:service-accounts add
POST/v1/organizations/workspaces/{workspace_id}/service_accounts

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

サービスアカウントのワークスペースメンバーを取得
$ ant beta:organization:workspaces:service-accounts retrieve
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を管理するを参照してください。

サービスアカウントのワークスペースメンバーを更新
$ ant beta:organization:workspaces:service-accounts update
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を管理するを参照してください。

サービスアカウントのワークスペースメンバーを削除
$ ant beta:organization:workspaces:service-accounts remove
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 を管理するを参照してください。

組織のレート制限を一覧表示
$ ant beta:organization:rate-limits list
GET/v1/organizations/rate_limits

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

コンプライアンス設定を取得
$ ant beta:organization:compliance-settings retrieve
GET/v1/organizations/compliance_settings

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

コンプライアンス設定を更新
$ ant beta:organization:compliance-settings update
POST/v1/organizations/compliance_settings

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

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

アクティビティサマリーの取得
$ ant beta:organization:analytics:summaries list
GET/v1/organizations/analytics/summaries

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

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

ユーザーアクティビティの一覧を取得
$ ant beta:organization:analytics:users list
GET/v1/organizations/analytics/users

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

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

チャットプロジェクトの使用状況の取得
$ ant beta:organization:analytics:apps:chat:projects list
GET/v1/organizations/analytics/apps/chat/projects

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

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

コネクター使用量を取得
$ ant beta:organization:analytics:connectors list
GET/v1/organizations/analytics/connectors

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

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

プラグイン使用量を取得
$ ant beta:organization:analytics:plugins list
GET/v1/organizations/analytics/plugins

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

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

スキル使用量を取得
$ ant beta:organization:analytics:skills list
GET/v1/organizations/analytics/skills

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

組織アナリティクスArtifacts

Artifactsのアクティビティを取得
$ ant beta:organization:analytics:artifacts list
GET/v1/organizations/analytics/artifacts

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

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

トークン使用量の推移の取得
$ ant beta:organization:analytics:usage-report list
GET/v1/organizations/analytics/usage_report

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

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

ユーザーごとのトークン使用量の取得
$ ant beta:organization:analytics:user-usage-report list
GET/v1/organizations/analytics/user_usage_report

指定した日付範囲におけるユーザーごとのトークン使用量を取得します。

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

コストの推移の取得
$ ant beta:organization:analytics:cost-report list
GET/v1/organizations/analytics/cost_report

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

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

ユーザーごとのコストの取得
$ ant beta:organization:analytics:user-cost-report list
GET/v1/organizations/analytics/user_cost_report

指定した日付範囲におけるユーザーごとのUSD建てのコストを取得します。

組織支出上限

支出上限の設定
$ ant beta:organization:spend-limits set
POST/v1/organizations/spend_limits

支出上限を設定します。

支出上限を取得
$ ant beta:organization:spend-limits retrieve
GET/v1/organizations/spend_limits/{spend_limit_id}

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

支出上限を削除
$ ant beta:organization:spend-limits delete
DELETE/v1/organizations/spend_limits/{spend_limit_id}

支出上限を削除します。

支出上限の一覧取得
$ ant beta:organization:spend-limits list
GET/v1/organizations/spend_limits

List the organization's spend limits.

組織支出上限有効

有効な支出上限の一覧取得
$ ant beta:organization:spend-limits:effective list
GET/v1/organizations/spend_limits/effective

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

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

支出上限引き上げリクエストの一覧を取得
$ ant beta:organization:spend-limits:increase-requests list
GET/v1/organizations/spend_limit_increase_requests

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

支出上限引き上げリクエストを取得
$ ant beta:organization:spend-limits:increase-requests retrieve
GET/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}

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

支出上限引き上げリクエストを承認
$ ant beta:organization:spend-limits:increase-requests approve
POST/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}/approve

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

支出上限引き上げリクエストを拒否
$ ant beta:organization:spend-limits:increase-requests deny
POST/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}/deny

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

RBACグループを作成
$ ant beta:organization:rbac-groups create
POST/v1/organizations/rbac_groups

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

RBACグループの一覧を取得
$ ant beta:organization:rbac-groups list
GET/v1/organizations/rbac_groups

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

RBACグループを取得
$ ant beta:organization:rbac-groups retrieve
GET/v1/organizations/rbac_groups/{rbac_group_id}

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

RBACグループを更新
$ ant beta:organization:rbac-groups update
POST/v1/organizations/rbac_groups/{rbac_group_id}

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

RBACグループを削除
$ ant beta:organization:rbac-groups delete
DELETE/v1/organizations/rbac_groups/{rbac_group_id}

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

組織RBACグループメンバー

RBACグループメンバーの一覧を取得
$ ant beta:organization:rbac-groups:members list
GET/v1/organizations/rbac_groups/{rbac_group_id}/members

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

RBACグループメンバーの追加
$ ant beta:organization:rbac-groups:members add
POST/v1/organizations/rbac_groups/{rbac_group_id}/members

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

RBACグループメンバーの削除
$ ant beta:organization:rbac-groups:members remove
DELETE/v1/organizations/rbac_groups/{rbac_group_id}/members/{user_id}

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

組織RBACロール

RBACロールの一覧を取得
$ ant beta:organization:rbac-roles list
GET/v1/organizations/rbac_roles

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

RBACロールを取得
$ ant beta:organization:rbac-roles retrieve
GET/v1/organizations/rbac_roles/{rbac_role_id}

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

組織RBACロール権限

RBACロールの権限の一覧を取得
$ ant beta:organization:rbac-roles:permissions list
GET/v1/organizations/rbac_roles/{rbac_role_id}/permissions

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

プラグインの作成
$ ant beta:organization:plugins create
POST/v1/organizations/plugins

バージョンのファイルをアップロードして、組織所有のプラグインとその最初のバージョンを作成します。

プラグインの取得
$ ant beta:organization:plugins retrieve
GET/v1/organizations/plugins/{plugin_id}

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

プラグインの更新
$ ant beta:organization:plugins update
POST/v1/organizations/plugins/{plugin_id}

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 are stored but no longer change what is served, and pinning cannot currently be undone, here or in claude.ai.

プラグインの一覧表示
$ ant beta:organization:plugins list
GET/v1/organizations/plugins

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

プラグインの削除
$ ant beta:organization:plugins delete
DELETE/v1/organizations/plugins/{plugin_id}

プラグインとそのすべてのバージョンを完全に削除します。管理者がclaude.aiで削除する場合とまったく同じです。プラグインは組織所有のものでも、メンバー所有のもの(その後組織を離れたメンバーのものを含む)でもかまいません。

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

プラグインバージョンの作成
$ ant beta:organization:plugins:versions create
POST/v1/organizations/plugins/{plugin_id}/versions

新しいバージョンのファイルをアップロードして、組織所有のプラグインにバージョンを追加します。プラグインの提供バージョンが固定されていない限り、追加したバージョンがメンバーに提供されるバージョンになります。

プラグインバージョンの一覧表示
$ ant beta:organization:plugins:versions list
GET/v1/organizations/plugins/{plugin_id}/versions

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

プラグインバージョンの取得
$ ant beta:organization:plugins:versions retrieve
GET/v1/organizations/plugins/{plugin_id}/versions/{version}

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

プラグインバージョンアーカイブのダウンロード
$ ant beta:organization:plugins:versions download
GET/v1/organizations/plugins/{plugin_id}/versions/{version}/content

1つのバージョンの .zip アーカイブを、保存されているとおりにダウンロードします。メンバーの個人用プラグインマーケットプレイスにあるプラグインのダウンロードは、それぞれCompliance APIのアクティビティフィードに記録されます。

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

プラグインインストール設定の一覧表示
$ ant beta:organization:plugins:installation-settings list
GET/v1/organizations/plugins/{plugin_id}/installation_settings

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

プラグインインストール設定の設定
$ ant beta:organization:plugins:installation-settings set
POST/v1/organizations/plugins/{plugin_id}/installation_settings/{target}

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

プラグインインストール設定の削除
$ ant beta:organization:plugins:installation-settings remove
DELETE/v1/organizations/plugins/{plugin_id}/installation_settings/{target}

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

組織プラグイン共有

プラグイン共有の一覧表示
$ ant beta:organization:plugins:shares list
GET/v1/organizations/plugins/{plugin_id}/shares

メンバー所有のプラグインの所有者が行った共有(組織の全メンバー、RBACグループ、または1人のメンバーへの共有)を、付与日時の新しい順に一覧表示します。

プラグインマーケットプレイスの一覧表示
$ ant beta:organization:plugin-marketplaces list
GET/v1/organizations/plugin_marketplaces

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

プラグインマーケットプレイスの取得
$ ant beta:organization:plugin-marketplaces retrieve
GET/v1/organizations/plugin_marketplaces/{marketplace_id}

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

プラグインマーケットプレイスの更新
$ ant beta:organization:plugin-marketplaces update
POST/v1/organizations/plugin_marketplaces/{marketplace_id}

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

プラグインマーケットプレイスリポジトリの検証
$ ant beta:organization:plugin-marketplaces validate-repository
POST/v1/organizations/plugin_marketplaces/validate_repository

Check whether a plugin marketplace held in a public GitHub repository would synchronize into claude.ai, without connecting or storing it.

プラグインマーケットプレイスアーカイブの検証
$ ant beta:organization:plugin-marketplaces validate-archive
POST/v1/organizations/plugin_marketplaces/validate_archive

Check whether a plugin marketplace, uploaded as a .zip of the marketplace directory, would synchronize into claude.ai, without connecting or storing it.

テレメトリ送信先を作成
$ ant beta:organization:telemetry-destinations create
POST/v1/organizations/telemetry_destinations

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

テレメトリ送信先を一覧表示
$ ant beta:organization:telemetry-destinations list
GET/v1/organizations/telemetry_destinations

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

テレメトリ送信先を取得
$ ant beta:organization:telemetry-destinations retrieve
GET/v1/organizations/telemetry_destinations/{destination_id}

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

テレメトリ送信先を更新
$ ant beta:organization:telemetry-destinations update
POST/v1/organizations/telemetry_destinations/{destination_id}

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

テレメトリ送信先を削除
$ ant beta:organization:telemetry-destinations delete
DELETE/v1/organizations/telemetry_destinations/{destination_id}

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

テレメトリ送信先をテスト
$ ant beta:organization:telemetry-destinations test
POST/v1/organizations/telemetry_destinations/{destination_id}/test

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

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

テレメトリ送信先ワークスペースを一覧表示
$ ant beta:organization:telemetry-destinations:workspaces list
GET/v1/organizations/telemetry_destinations/{destination_id}/workspaces

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

テレメトリ送信先ワークスペースを追加
$ ant beta:organization:telemetry-destinations:workspaces add
POST/v1/organizations/telemetry_destinations/{destination_id}/workspaces/{workspace_id}

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

テレメトリ送信先ワークスペースを削除
$ ant beta:organization:telemetry-destinations:workspaces remove
DELETE/v1/organizations/telemetry_destinations/{destination_id}/workspaces/{workspace_id}

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

組織Webhook

組織Webhookエンドポイントを作成
$ ant beta:organization:webhooks create
POST/v1/organizations/webhooks

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

組織Webhookエンドポイントの一覧を取得
$ ant beta:organization:webhooks list
GET/v1/organizations/webhooks

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

組織Webhookエンドポイントを取得
$ ant beta:organization:webhooks retrieve
GET/v1/organizations/webhooks/{webhook_endpoint_id}

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

組織Webhookエンドポイントを更新
$ ant beta:organization:webhooks update
POST/v1/organizations/webhooks/{webhook_endpoint_id}

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

組織Webhookエンドポイントを削除
$ ant beta:organization:webhooks delete
DELETE/v1/organizations/webhooks/{webhook_endpoint_id}

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

組織Webhookエンドポイントの署名シークレットを再生成
$ ant beta:organization:webhooks regenerate-signing-secret
POST/v1/organizations/webhooks/{webhook_endpoint_id}/regenerate_signing_secret

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

組織Claude TagSlack Channels

Set Up Slack Channel
$ ant beta:organization:claude-tag:slack-channels create
POST/v1/organizations/claude_tag/slack_channels

Set a Slack channel up for Claude Tag and return it with its identifier. If the channel is already set up, whether in claude.ai, by Claude's first use in it or by an earlier request, the existing channel is returned, so the request can be repeated. settings, when sent, is applied as an update applies it. Before a channel is set up, Claude's Slack app confirms with Slack that the channel is in the workspace, is not archived and is visible to the app; a channel that fails the confirmation returns 404. Setting the channel up and applying settings are two steps: when the second is refused, the response is the refusal, the channel stays set up with every setting unset, and the error's details.slack_channel_id holds the channel's identifier.

List Slack Channels
$ ant beta:organization:claude-tag:slack-channels list
GET/v1/organizations/claude_tag/slack_channels

List the set-up Slack channels of one Slack workspace, newest first by created_at. A channel that is not set up is not listed: Slack holds the full list of a workspace's channels. Pass slack_channel_id as well to look one channel up by its Slack identifiers: data then holds that channel, or is empty when it is not set up, and limit and page are ignored. With include_inherited=true each channel's settings holds what applies in it, and the request fails with 503 rather than resolve against a settings level that could not be read. A page cursor resumes only a request with the same include_inherited.

Get Slack Channel
$ ant beta:organization:claude-tag:slack-channels retrieve
GET/v1/organizations/claude_tag/slack_channels/{id}

Get one Slack channel and its settings. By default settings holds what the channel itself stores: a setting that is null there is not set on the channel and is inherited. With include_inherited=true, settings holds what applies in the channel once the settings levels above it are taken into account, and the request fails with 503 rather than resolve against a settings level that could not be read. Either way sources names the settings level each value comes from, so a caller tells the channel's own value from an inherited one by its source, not by whether it is null.

Update Slack Channel
$ ant beta:organization:claude-tag:slack-channels update
POST/v1/organizations/claude_tag/slack_channels/{id}

Change the settings a Slack channel stores. The update is partial: a setting left out is unchanged, and a setting sent as null is cleared, so the channel inherits it. If any value is refused, no setting in the request is stored. A group direct message takes no settings and returns 400.

Remove Slack Channel
$ ant beta:organization:claude-tag:slack-channels delete
DELETE/v1/organizations/claude_tag/slack_channels/{id}

Remove a Slack channel from Claude Tag. This deletes the channel's stored settings and its Bundle Targets at once, and then, in the background, the channel's sessions and their transcripts, its memory, its routines and the artifacts published from it. None of it can be restored. The channel in Slack and its messages are unchanged. The request is refused with 400 and error.details.error_code slack_channel_enabled while enabled resolves to true for the channel, as a read with include_inherited=true returns it: set enabled to false on the channel first. This guards against removing a channel in use by mistake; it is not a way to keep Claude out, because the removal deletes the channel's own enabled: false with its other settings, after which the channel inherits again and Claude's next use of it can set it up anew with a new identifier. The identifier returns 404 as soon as the request returns, so a repeated removal returns 404. A group direct message returns 400, and so does a channel that holds configuration this API does not manage.

組織Claude TagSlack Workspaces

List Slack Workspaces
$ ant beta:organization:claude-tag:slack-workspaces list
GET/v1/organizations/claude_tag/slack_workspaces

List the set-up Slack workspaces the organization owns, newest first by created_at. Pass slack_workspace_id to look one workspace up by its Slack identifier: data then holds that workspace, or is empty when it is not set up. With include_inherited=true each workspace's settings holds what applies in it, and the request fails with 503 rather than resolve against a settings level that could not be read. A page cursor resumes only a request with the same include_inherited.

Get Slack Workspace
$ ant beta:organization:claude-tag:slack-workspaces retrieve
GET/v1/organizations/claude_tag/slack_workspaces/{id}

Get one Slack workspace and its settings. By default settings holds what the workspace itself stores: a setting that is null there is not set on the workspace and is inherited. With include_inherited=true, settings holds what applies in the workspace once the organization's Slack defaults are taken into account, and the request fails with 503 rather than resolve against a settings level that could not be read. Either way sources names the settings level each value comes from.

Update Slack Workspace
$ ant beta:organization:claude-tag:slack-workspaces update
POST/v1/organizations/claude_tag/slack_workspaces/{id}

Change the settings a Slack workspace stores. The update is partial: a setting left out is unchanged, and a setting sent as null is cleared, so the workspace inherits it. If any value is refused, no setting in the request is stored.

組織Claude TagBundles

List Bundles
$ ant beta:organization:claude-tag:bundles list
GET/v1/organizations/claude_tag/bundles

List the organization's Bundles, newest first by created_at. A Bundle that Claude Tag manages for itself is not listed.

Get Bundle
$ ant beta:organization:claude-tag:bundles retrieve
GET/v1/organizations/claude_tag/bundles/{bundle_id}

Get one Bundle. What the Bundle grants (connectors, repositories and credentials) is never returned.

組織Claude TagBundlesTargets

List Bundle Targets
$ ant beta:organization:claude-tag:bundles:targets list
GET/v1/organizations/claude_tag/bundles/{bundle_id}/targets

List the Slack channels and Slack workspaces a Bundle is attached to, newest first by created_at. Only channels and workspaces the organization owns are listed; a Bundle that is attached to anything else has no Bundle Target for it.

Attach Bundle
$ ant beta:organization:claude-tag:bundles:targets create
POST/v1/organizations/claude_tag/bundles/{bundle_id}/targets

Attach a Bundle to a Slack channel or a Slack workspace. A Bundle attached to a workspace can be used in the workspace and in every channel in it. Attaching a Bundle to a channel or workspace it is already attached to returns the existing Bundle Target. The channel or workspace must be set up: attaching never sets a channel up. A group direct message takes no Bundle and returns 400.

Get Bundle Target
$ ant beta:organization:claude-tag:bundles:targets retrieve
GET/v1/organizations/claude_tag/bundles/{bundle_id}/targets/{target_id}

Get one Bundle Target. Returns 404 when target_id is the identifier of another Bundle's Bundle Target, or the Bundle Target was detached.

Detach Bundle
$ ant beta:organization:claude-tag:bundles:targets delete
DELETE/v1/organizations/claude_tag/bundles/{bundle_id}/targets/{target_id}

Detach a Bundle from a Slack channel or a Slack workspace. A repeated detach returns 404.