組織
Models
組織APIキー
APIキーを取得(Admin API)
$ ant beta:organization:api-keys retrieve組織内の単一のAPIキーに関する情報を、そのIDで検索して取得します。このAdmin APIエンドポイントにはAdmin APIキーが必要で、プログラムによるキー管理を目的としており、キーのシークレット値を返すことはありません。自分のAPIキーを表示または作成するには、Claude ConsoleのAPIキーにアクセスしてください。
組織外部キー
外部キーを作成
$ ant beta:organization:external-keys create呼び出し元の組織が所有する外部キー設定を作成します。
外部キー一覧を取得
$ ant beta:organization:external-keys list呼び出し元の組織内の外部キー設定を一覧表示します。
外部キーを取得
$ ant beta:organization:external-keys retrieve呼び出し元の組織内の単一の外部キー設定をIDで取得します。
外部キーを更新
$ ant beta:organization:external-keys update外部キー設定を部分的に更新します。省略されたフィールドは変更されません。
外部キーを削除
$ ant beta:organization:external-keys delete外部キー設定を削除します。
外部キーを検証
$ ant beta:organization:external-keys validate顧客のKMSに対して外部キー設定を検証します。
組織フェデレーション発行者
フェデレーション発行者を作成
$ ant beta:organization:federation:issuers createorg:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。
フェデレーション発行者一覧を取得
$ ant beta:organization:federation:issuers listorg:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。
フェデレーション発行者を取得
$ ant beta:organization:federation:issuers retrieveorg:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。
フェデレーション発行者を更新
$ ant beta:organization:federation:issuers updateorg:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。
フェデレーション発行者をアーカイブ
$ ant beta:organization:federation:issuers archiveorg:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。
組織フェデレーションルール
フェデレーションルールを作成
$ ant beta:organization:federation:rules createorg:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。
フェデレーションルール一覧を取得
$ ant beta:organization:federation:rules listorg:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。
フェデレーションルールを取得
$ ant beta:organization:federation:rules retrieveorg:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。
フェデレーションルールを更新
$ ant beta:organization:federation:rules updateorg:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。
フェデレーションルールをアーカイブ
$ ant beta:organization:federation:rules archiveorg:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。
組織フェデレーションルールワークスペース
フェデレーションルールのワークスペースを追加
$ ant beta:organization:federation:rules:workspaces addorg:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。
フェデレーションルールのワークスペース一覧を取得
$ ant beta:organization:federation:rules:workspaces listorg:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。
フェデレーションルールのワークスペースを削除
$ ant beta:organization:federation:rules:workspaces removeorg:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。
組織招待
サービスアカウントを作成
$ ant beta:organization:service-accounts createorg:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。
サービスアカウント一覧を取得
$ ant beta:organization:service-accounts listorg:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。
サービスアカウントを取得
$ ant beta:organization:service-accounts retrieveorg:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。
サービスアカウントを更新
$ ant beta:organization:service-accounts updateorg:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。
サービスアカウントをアーカイブ
$ ant beta:organization:service-accounts archiveorg:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。
組織サービスアカウントワークスペース
サービスアカウントにワークスペースを追加
$ ant beta:organization:service-accounts:workspaces addorg:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。
サービスアカウントのワークスペース一覧を取得
$ ant beta:organization:service-accounts:workspaces listorg:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。
サービスアカウントからワークスペースを削除
$ ant beta:organization:service-accounts:workspaces removeorg:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。
組織ユーザー
ユーザーを取得
$ ant beta:organization:users retrieveユーザーIDで組織のメンバーを取得します。
組織ワークスペース
ワークスペースをアーカイブ
$ ant beta:organization:workspaces archive組織ワークスペースレート制限
ワークスペースのレート制限一覧を取得
$ ant beta:organization:workspaces:rate-limits listワークスペースのレート制限を一覧表示します。
ワークスペースのレート制限を設定
$ ant beta:organization:workspaces:rate-limits updateワークスペース内の1つのレート制限グループについて、レート制限のオーバーライドを設定またはクリアします。
組織ワークスペースメンバー
ワークスペースメンバー一覧を取得
$ ant beta:organization:workspaces:members listワークスペースメンバーを作成
$ ant beta:organization:workspaces:members addワークスペースメンバーを取得
$ ant beta:organization:workspaces:members retrieveワークスペースメンバーを更新
$ ant beta:organization:workspaces:members updateワークスペースメンバーを削除
$ ant beta:organization:workspaces:members remove組織ワークスペースサービスアカウント
サービスアカウントのワークスペースメンバー一覧を取得
$ ant beta:organization:workspaces:service-accounts listorg:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。
サービスアカウントのワークスペースメンバーを作成
$ ant beta:organization:workspaces:service-accounts addorg:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。
サービスアカウントのワークスペースメンバーを取得
$ ant beta:organization:workspaces:service-accounts retrieveorg:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。
サービスアカウントのワークスペースメンバーを更新
$ ant beta:organization:workspaces:service-accounts updateorg:adminスコープを持つOAuthアクセストークンが必要です。このトークンはant auth login --scope org:adminまたはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin APIでWIFを管理するを参照してください。
サービスアカウントのワークスペースメンバーを削除
$ ant beta:organization:workspaces:service-accounts removeorg:admin スコープを持つ OAuth アクセストークンが必要です。このトークンは ant auth login --scope org:admin またはワークロードアイデンティティフェデレーションルールから取得します。Admin APIキーは受け付けられません。Admin API で WIF を管理するを参照してください。
組織レート制限
組織のレート制限を一覧表示
$ ant beta:organization:rate-limits list組織の Messages API のレート制限を一覧表示します。
コンプライアンス設定を取得
$ ant beta:organization:compliance-settings retrieve組織のコンプライアンス設定を取得します。
コンプライアンス設定を更新
$ ant beta:organization:compliance-settings update組織のコンプライアンス設定を更新します。
組織アナリティクスサマリー
アクティビティサマリーの取得
$ ant beta:organization:analytics:summaries list指定した期間における組織全体のアクティビティサマリーを取得します。
組織アナリティクスユーザー
ユーザーアクティビティの一覧を取得
$ ant beta:organization:analytics:users list指定した日のユーザーごとのアクティビティを、カーソルベースのページネーションで取得します。
組織アナリティクスアプリチャットプロジェクト
チャットプロジェクトの使用状況の取得
$ ant beta:organization:analytics:apps:chat:projects list指定した日のプロジェクトごとのアクティビティを、カーソルベースのページネーションで取得します。
組織アナリティクスコネクター
コネクター使用量を取得
$ ant beta:organization:analytics:connectors list指定した日のコネクターごとの使用状況を、カーソルベースのページネーションで取得します。
組織アナリティクスプラグイン
プラグイン使用量を取得
$ ant beta:organization:analytics:plugins list指定した日のプラグインごとのインストールおよび呼び出しの使用状況を、ページネーション付きで取得します。
組織アナリティクススキル
スキル使用量を取得
$ ant beta:organization:analytics:skills list指定した日のスキルごとの使用状況を、カーソルベースのページネーションで取得します。
組織アナリティクスArtifacts
Artifactsのアクティビティを取得
$ ant beta:organization:analytics:artifacts list指定した日のアーティファクト作成アクティビティを、MIMEタイプごとに分類して取得します。
組織アナリティクス使用量レポート
トークン使用量の推移の取得
$ ant beta:organization:analytics:usage-report list指定した日付範囲におけるトークン使用量の推移を取得します。
組織アナリティクスユーザー使用状況レポート
ユーザーごとのトークン使用量の取得
$ ant beta:organization:analytics:user-usage-report list指定した日付範囲におけるユーザーごとのトークン使用量を取得します。
組織アナリティクスコストレポート
コストの推移の取得
$ ant beta:organization:analytics:cost-report list指定した日付範囲におけるUSD建てのコストの推移を取得します。
組織アナリティクスユーザーコストレポート
ユーザーごとのコストの取得
$ ant beta:organization:analytics:user-cost-report list指定した日付範囲におけるユーザーごとのUSD建てのコストを取得します。
組織支出上限
支出上限を取得
$ ant beta:organization:spend-limits retrieveIDを指定して支出上限を取得します。
支出上限を削除
$ ant beta:organization:spend-limits delete支出上限を削除します。
支出上限の一覧取得
$ ant beta:organization:spend-limits listList the organization's spend limits.
組織支出上限有効
有効な支出上限の一覧取得
$ ant beta:organization:spend-limits:effective list各メンバーの実効支出上限と期間累計の支出を一覧表示します。
組織支出上限引き上げリクエスト
支出上限引き上げリクエストの一覧を取得
$ ant beta:organization:spend-limits:increase-requests list支出上限引き上げリクエストの一覧を、新しい順に取得します。
支出上限引き上げリクエストを取得
$ ant beta:organization:spend-limits:increase-requests retrieve支出上限引き上げリクエストを取得します。
支出上限引き上げリクエストを承認
$ ant beta:organization:spend-limits:increase-requests approve保留中の支出上限引き上げリクエストを承認します。
支出上限引き上げリクエストを拒否
$ ant beta:organization:spend-limits:increase-requests deny保留中の支出上限引き上げリクエストを拒否します。
組織RBACグループ
RBACグループを作成
$ ant beta:organization:rbac-groups createClaude Enterprise テナント内にRBACグループを作成します。API経由で作成されたグループのソースタイプは "direct" になります。
RBACグループの一覧を取得
$ ant beta:organization:rbac-groups listClaude Enterprise テナント内のRBACグループを一覧表示します。
RBACグループを取得
$ ant beta:organization:rbac-groups retrieveIDでRBACグループを取得します。
RBACグループを更新
$ ant beta:organization:rbac-groups updateRBACグループの名前を更新します。テナント内の組織がSCIMプロビジョニングを使用している間は、IDプロバイダーによってプロビジョニングされたグループ(ソースタイプ "scim")をAPIで変更することはできません。
RBACグループを削除
$ ant beta:organization:rbac-groups deleteRBACグループを削除します。テナント内の組織がSCIMプロビジョニングを使用している間は、IDプロバイダーによってプロビジョニングされたグループ(ソースタイプ "scim")をAPIで削除することはできません。
組織RBACグループメンバー
RBACグループメンバーの一覧を取得
$ ant beta:organization:rbac-groups:members listRBACグループのメンバーを一覧表示します。
RBACグループメンバーの追加
$ ant beta:organization:rbac-groups:members addRBACグループにユーザーを追加します。テナント内の組織がSCIMプロビジョニングを使用している間は、IDプロバイダーによってプロビジョニングされたグループ(ソースタイプ "scim")のメンバーシップをAPIで変更することはできません。
RBACグループメンバーの削除
$ ant beta:organization:rbac-groups:members removeRBACグループからユーザーを削除します。テナント内の組織がSCIMプロビジョニングを使用している間は、IDプロバイダーによってプロビジョニングされたグループ(ソースタイプ "scim")のメンバーシップをAPIで変更することはできません。
組織RBACロール
RBACロールの一覧を取得
$ ant beta:organization:rbac-roles list組織内のRBACロールを一覧表示します。
RBACロールを取得
$ ant beta:organization:rbac-roles retrieveIDでRBACロールを取得します。
組織RBACロール権限
RBACロールの権限の一覧を取得
$ ant beta:organization:rbac-roles:permissions listRBACロールが付与する権限を一覧表示します。
組織プラグイン
プラグインの作成
$ ant beta:organization:plugins createバージョンのファイルをアップロードして、組織所有のプラグインとその最初のバージョンを作成します。
プラグインの取得
$ ant beta:organization:plugins retrieveIDを指定してプラグインを取得します。
プラグインの更新
$ ant beta:organization:plugins updateChange 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組織内で作成されたプラグインを新しい順に一覧表示します。組織自身のプラグインマーケットプレイスにあるものと、メンバーの個人用プラグインマーケットプレイスにあるものが含まれます。
プラグインの削除
$ ant beta:organization:plugins deleteプラグインとそのすべてのバージョンを完全に削除します。管理者がclaude.aiで削除する場合とまったく同じです。プラグインは組織所有のものでも、メンバー所有のもの(その後組織を離れたメンバーのものを含む)でもかまいません。
組織プラグインバージョン
プラグインバージョンの作成
$ ant beta:organization:plugins:versions create新しいバージョンのファイルをアップロードして、組織所有のプラグインにバージョンを追加します。プラグインの提供バージョンが固定されていない限り、追加したバージョンがメンバーに提供されるバージョンになります。
プラグインバージョンの一覧表示
$ ant beta:organization:plugins:versions listプラグインのバージョンを新しい順に一覧表示します。
プラグインバージョンの取得
$ ant beta:organization:plugins:versions retrieveプラグインの1つのバージョンをIDで取得するか、プラグインの最新バージョンを取得します。
プラグインバージョンアーカイブのダウンロード
$ ant beta:organization:plugins:versions download1つのバージョンの .zip アーカイブを、保存されているとおりにダウンロードします。メンバーの個人用プラグインマーケットプレイスにあるプラグインのダウンロードは、それぞれCompliance APIのアクティビティフィードに記録されます。
組織プラグインインストール設定
プラグインインストール設定の一覧表示
$ ant beta:organization:plugins:installation-settings list組織所有のプラグインのインストール設定(どのメンバーを対象とするかを示すもの)を、作成日時の新しい順に一覧表示します。
プラグインインストール設定の設定
$ ant beta:organization:plugins:installation-settings set組織所有のプラグインについて、組織全体または1つのRBACグループに対するインストール設定を設定または変更します。
プラグインインストール設定の削除
$ ant beta:organization:plugins:installation-settings remove組織所有のプラグインについて、組織全体または1つのRBACグループに対する独自のインストール設定を削除します。
プラグインマーケットプレイスの一覧表示
$ ant beta:organization:plugin-marketplaces listプラグインが置かれているプラグインマーケットプレイスを新しい順に一覧表示します。組織自身のものと、メンバーの個人用のものが含まれます。
プラグインマーケットプレイスの取得
$ ant beta:organization:plugin-marketplaces retrieveIDでプラグインマーケットプレイスを取得します。
プラグインマーケットプレイスの更新
$ ant beta:organization:plugin-marketplaces update組織自身のプラグインマーケットプレイスの1つについて、デフォルトのインストール設定を設定します。そのマーケットプレイス内で独自の設定を持たないすべてのプラグイン(後から追加されるプラグインを含む)は、このデフォルトを組織全体の設定として受け取ります。
プラグインマーケットプレイスリポジトリの検証
$ ant beta:organization:plugin-marketplaces validate-repositoryCheck 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-archiveCheck 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組織の OpenTelemetry 送信先を登録します。
テレメトリ送信先を一覧表示
$ ant beta:organization:telemetry-destinations list組織の送信先を新しい順に一覧表示します。必要に応じて、指定したワークスペースを対象とするものだけに絞り込めます。
テレメトリ送信先を取得
$ ant beta:organization:telemetry-destinations retrieve送信先の設定、状態、および最新の配信結果を読み取ります。
テレメトリ送信先を更新
$ ant beta:organization:telemetry-destinations updateテレメトリ送信先の設定、状態、または対象とするワークスペースを変更します。
テレメトリ送信先を削除
$ ant beta:organization:telemetry-destinations delete送信先とそのワークスペースリストを削除します。
テレメトリ送信先をテスト
$ ant beta:organization:telemetry-destinations testanthropic.test という名前のテストスパンを1つ、登録済みのヘッダーとともに送信先へ再試行なしで1回送信し、送信先の応答を報告します。送信先が 2xx ステータスで応答したかどうかにかかわらず、レスポンスは 200 です。その result のタイプは success、または failure で、後者の場合は理由が error に含まれます。送信先の設定、state、delivery_health は変更されません。無効な送信先もテストできます。1つの送信先のテストの間隔は10秒空けてください。それより早いリクエストにはステータス 429 が返される場合があります。
組織テレメトリ送信先ワークスペース
テレメトリ送信先ワークスペースを一覧表示
$ ant beta:organization:telemetry-destinations:workspaces list送信先のワークスペースリストにあるワークスペースを、新しいエントリから順に一覧表示します。
テレメトリ送信先ワークスペースを追加
$ ant beta:organization:telemetry-destinations:workspaces add送信先のワークスペースリストにワークスペースを1つ追加します。
テレメトリ送信先ワークスペースを削除
$ ant beta:organization:telemetry-destinations:workspaces remove送信先のワークスペースリストからワークスペースを1つ削除します。
組織Webhook
組織Webhookエンドポイントを作成
$ ant beta:organization:webhooks create組織Webhookエンドポイントを作成します。
組織Webhookエンドポイントの一覧を取得
$ ant beta:organization:webhooks list組織のWebhookエンドポイントを一覧表示します。
組織Webhookエンドポイントを取得
$ ant beta:organization:webhooks retrieveIDを指定して組織Webhookエンドポイントを取得します。
組織Webhookエンドポイントを更新
$ ant beta:organization:webhooks update組織Webhookエンドポイントを更新します。送信したフィールドのみが変更されます。
組織Webhookエンドポイントを削除
$ ant beta:organization:webhooks delete組織Webhookエンドポイントを削除します。
組織Webhookエンドポイントの署名シークレットを再生成
$ ant beta:organization:webhooks regenerate-signing-secret組織Webhookエンドポイントの署名シークレットを置き換えます。古いシークレットは直ちに使用できなくなります。新しいシークレットはこのレスポンスでのみ返されます。
組織Claude TagSlack Channels
Set Up Slack Channel
$ ant beta:organization:claude-tag:slack-channels createSet 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 listList 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 retrieveGet 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 updateChange 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 deleteRemove 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 listList 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 retrieveGet 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 updateChange 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 listList 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 retrieveGet 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 listList 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 createAttach 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 retrieveGet 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 deleteDetach a Bundle from a Slack channel or a Slack workspace. A repeated detach returns 404.