Beta
Models
Beta模型
Beta訊息
Beta訊息批次
擷取訊息批次
$ ant beta:messages:batches retrieve此端點具冪等性,可用於輪詢訊息批次是否完成。若要存取訊息批次的結果,請對回應中的 results_url 欄位發出請求。
取消訊息批次
$ ant beta:messages:batches cancel批次可在處理結束前隨時取消。一旦啟動取消,批次便會進入 canceling 狀態,此時系統可能會先完成任何進行中且不可中斷的請求,然後才完成取消。
擷取訊息批次結果
$ ant beta:messages:batches results以 .jsonl 檔案的形式串流傳輸訊息批次的結果。
Beta代理程式
Beta環境
封存環境
$ ant beta:environments archive依 ID 封存環境。已封存的環境無法用於建立新的工作階段。
Beta環境工作
取得工作項目
$ ant beta:environments:work retrieve注意:這些端點會由 SDK 和 CLI 中提供的預先建置環境工作程式自動呼叫,用於協調使用自行託管沙箱環境的工作階段。此處列出僅供參考;您無需直接呼叫它們。
輪詢工作
$ ant beta:environments:work poll注意:這些端點會由 SDK 和 CLI 中提供的預先建置環境工作程式自動呼叫,用於協調使用自行託管沙箱環境的工作階段。此處列出僅供參考;您無需直接呼叫它們。
確認工作
$ ant beta:environments:work ack注意:這些端點會由 SDK 和 CLI 中提供的預先建置環境工作程式自動呼叫,用於協調使用自行託管沙箱環境的工作階段。此處列出僅供參考;您無需直接呼叫它們。
記錄心跳
$ ant beta:environments:work heartbeat注意:這些端點會由 SDK 和 CLI 中提供的預先建置環境工作程式自動呼叫,用於協調使用自行託管沙箱環境的工作階段。此處列出僅供參考;您無需直接呼叫它們。
停止工作
$ ant beta:environments:work stop注意:這些端點會由 SDK 和 CLI 中提供的預先建置環境工作程式自動呼叫,用於協調使用自行託管沙箱環境的工作階段。此處列出僅供參考;您無需直接呼叫它們。
列出工作項目
$ ant beta:environments:work list注意:這些端點會由 SDK 和 CLI 中提供的預先建置環境工作程式自動呼叫,用於協調使用自行託管沙箱環境的工作階段。此處列出僅供參考;您無需直接呼叫它們。
更新工作項目
$ ant beta:environments:work update注意:這些端點會由 SDK 和 CLI 中提供的預先建置環境工作程式自動呼叫,用於協調使用自行託管沙箱環境的工作階段。此處列出僅供參考;您無需直接呼叫它們。
取得佇列統計資料
$ ant beta:environments:work stats取得環境工作佇列的統計資料。
Beta工作階段
Beta工作階段事件
Beta工作階段資源
Beta工作階段執行緒
Beta工作階段執行緒事件
列出工作階段執行緒事件
$ ant beta:sessions:threads:events list串流工作階段執行緒事件
$ ant beta:sessions:threads:events streamBeta部署
Beta部署執行
Beta保存庫
Beta保存庫憑證
封存憑證
$ ant beta:vaults:credentials archive驗證 MCP OAuth 憑證
$ ant beta:vaults:credentials mcp-oauth-validateBeta記憶儲存區
Beta記憶儲存區記憶
擷取記憶
$ ant beta:memory-stores:memories retrieve更新記憶
$ ant beta:memory-stores:memories update刪除記憶
$ ant beta:memory-stores:memories deleteBeta記憶儲存區記憶版本
列出記憶版本
$ ant beta:memory-stores:memory-versions list擷取記憶版本
$ ant beta:memory-stores:memory-versions retrieve塗銷記憶版本
$ ant beta:memory-stores:memory-versions redactBeta檔案
Beta技能
Beta技能版本
下載技能版本內容
$ ant beta:skills:versions download以 zip 壓縮檔形式下載技能版本的內容。
Beta使用者設定檔
建立註冊 URL
$ ant beta:user-profiles create-enrollment-urlBeta使用者設定檔動作 URL
建立動作 URL
$ ant beta:user-profiles:action-urls createBetaDream
封存 Dream
$ ant beta:dreams archive將 completed、failed 或 canceled 的 dream 從預設的 dream 清單中隱藏。
Beta通道
建立通道
$ ant beta:tunnels createTunnels API 目前為研究預覽版。它需要 anthropic-beta: mcp-tunnels-2026-06-22 標頭,且可能在沒有棄用期的情況下變更。它取代了位於 /v1/organizations/tunnels 的 Admin API 端點,這些端點在遷移期間內仍可使用。
取得通道
$ ant beta:tunnels retrieveTunnels API 目前為研究預覽版。它需要 anthropic-beta: mcp-tunnels-2026-06-22 標頭,且可能在沒有棄用期的情況下變更。它取代了位於 /v1/organizations/tunnels 的 Admin API 端點,這些端點在遷移期間內仍可使用。
列出通道
$ ant beta:tunnels listTunnels API 目前為研究預覽版。它需要 anthropic-beta: mcp-tunnels-2026-06-22 標頭,且可能在沒有棄用期的情況下變更。它取代了位於 /v1/organizations/tunnels 的 Admin API 端點,這些端點在遷移期間內仍可使用。
封存通道
$ ant beta:tunnels archiveTunnels API 目前為研究預覽版。它需要 anthropic-beta: mcp-tunnels-2026-06-22 標頭,且可能在沒有棄用期的情況下變更。它取代了位於 /v1/organizations/tunnels 的 Admin API 端點,這些端點在遷移期間內仍可使用。
顯示通道權杖
$ ant beta:tunnels reveal-tokenTunnels API 目前為研究預覽版。它需要 anthropic-beta: mcp-tunnels-2026-06-22 標頭,且可能在沒有棄用期的情況下變更。它取代了位於 /v1/organizations/tunnels 的 Admin API 端點,這些端點在遷移期間內仍可使用。
輪替通道權杖
$ ant beta:tunnels rotate-tokenTunnels API 目前為研究預覽版。它需要 anthropic-beta: mcp-tunnels-2026-06-22 標頭,且可能在沒有棄用期的情況下變更。它取代了位於 /v1/organizations/tunnels 的 Admin API 端點,這些端點在遷移期間內仍可使用。
Beta通道憑證
建立通道憑證
$ ant beta:tunnels:certificates createTunnels API 目前為研究預覽版。它需要 anthropic-beta: mcp-tunnels-2026-06-22 標頭,且可能在沒有棄用期的情況下變更。它取代了位於 /v1/organizations/tunnels 的 Admin API 端點,這些端點在遷移期間內仍可使用。
取得通道憑證
$ ant beta:tunnels:certificates retrieveTunnels API 目前為研究預覽版。它需要 anthropic-beta: mcp-tunnels-2026-06-22 標頭,且可能在沒有棄用期的情況下變更。它取代了位於 /v1/organizations/tunnels 的 Admin API 端點,這些端點在遷移期間內仍可使用。
列出通道憑證
$ ant beta:tunnels:certificates listTunnels API 目前為研究預覽版。它需要 anthropic-beta: mcp-tunnels-2026-06-22 標頭,且可能在沒有棄用期的情況下變更。它取代了位於 /v1/organizations/tunnels 的 Admin API 端點,這些端點在遷移期間內仍可使用。
封存通道憑證
$ ant beta:tunnels:certificates archiveTunnels API 目前為研究預覽版。它需要 anthropic-beta: mcp-tunnels-2026-06-22 標頭,且可能在沒有棄用期的情況下變更。它取代了位於 /v1/organizations/tunnels 的 Admin API 端點,這些端點在遷移期間內仍可使用。
Beta組織API 金鑰
擷取 API 金鑰(Admin API)
$ ant beta:organization:api-keys retrieve依 ID 查詢並擷取您組織中單一 API 金鑰的資訊。此 Admin API 端點需要 Admin API 金鑰,適用於以程式方式管理金鑰,且絕不會傳回金鑰的秘密值。若要檢視或建立您自己的 API 金鑰,請前往 Claude Console 中的 API 金鑰。
Beta組織外部金鑰
建立外部金鑰
$ ant beta:organization:external-keys create建立由呼叫者組織擁有的外部金鑰設定。
取得外部金鑰
$ 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 驗證外部金鑰設定。
Beta組織聯合簽發者
建立聯合簽發者
$ ant beta:organization:federation:issuers create需要具有 org:admin 範圍的 OAuth 存取權杖,可透過 ant auth login --scope org:admin 或工作負載身分聯合(workload identity federation)規則取得;不接受 Admin API 金鑰。請參閱使用 Admin API 管理 WIF。
列出聯合簽發者
$ ant beta:organization:federation:issuers list需要具有 org:admin 範圍的 OAuth 存取權杖,可透過 ant auth login --scope org:admin 或工作負載身分聯合(workload identity federation)規則取得;不接受 Admin API 金鑰。請參閱使用 Admin API 管理 WIF。
取得聯合簽發者
$ ant beta:organization:federation:issuers retrieve需要具有 org:admin 範圍的 OAuth 存取權杖,可透過 ant auth login --scope org:admin 或工作負載身分聯合(workload identity federation)規則取得;不接受 Admin API 金鑰。請參閱使用 Admin API 管理 WIF。
更新聯合簽發者
$ ant beta:organization:federation:issuers update需要具有 org:admin 範圍的 OAuth 存取權杖,可透過 ant auth login --scope org:admin 或工作負載身分聯合(workload identity federation)規則取得;不接受 Admin API 金鑰。請參閱使用 Admin API 管理 WIF。
封存聯合簽發者
$ ant beta:organization:federation:issuers archive需要具有 org:admin 範圍的 OAuth 存取權杖,可透過 ant auth login --scope org:admin 或工作負載身分聯合(workload identity federation)規則取得;不接受 Admin API 金鑰。請參閱使用 Admin API 管理 WIF。
Beta組織聯合規則
建立聯合規則
$ ant beta:organization:federation:rules create需要具有 org:admin 範圍的 OAuth 存取權杖,可透過 ant auth login --scope org:admin 或工作負載身分聯合(workload identity federation)規則取得;不接受 Admin API 金鑰。請參閱使用 Admin API 管理 WIF。
列出聯合規則
$ ant beta:organization:federation:rules list需要具有 org:admin 範圍的 OAuth 存取權杖,可透過 ant auth login --scope org:admin 或工作負載身分聯合(workload identity federation)規則取得;不接受 Admin API 金鑰。請參閱使用 Admin API 管理 WIF。
取得聯合規則
$ ant beta:organization:federation:rules retrieve需要具有 org:admin 範圍的 OAuth 存取權杖,可透過 ant auth login --scope org:admin 或工作負載身分聯合(workload identity federation)規則取得;不接受 Admin API 金鑰。請參閱使用 Admin API 管理 WIF。
更新聯合規則
$ ant beta:organization:federation:rules update需要具有 org:admin 範圍的 OAuth 存取權杖,可透過 ant auth login --scope org:admin 或工作負載身分聯合(workload identity federation)規則取得;不接受 Admin API 金鑰。請參閱使用 Admin API 管理 WIF。
封存聯合規則
$ ant beta:organization:federation:rules archive需要具有 org:admin 範圍的 OAuth 存取權杖,可透過 ant auth login --scope org:admin 或工作負載身分聯合(workload identity federation)規則取得;不接受 Admin API 金鑰。請參閱使用 Admin API 管理 WIF。
Beta組織聯合規則工作區
新增聯合規則工作區
$ ant beta:organization:federation:rules:workspaces add需要具有 org:admin 範圍的 OAuth 存取權杖,可透過 ant auth login --scope org:admin 或工作負載身分聯合(workload identity federation)規則取得;不接受 Admin API 金鑰。請參閱使用 Admin API 管理 WIF。
列出聯合規則工作區
$ ant beta:organization:federation:rules:workspaces list需要具有 org:admin 範圍的 OAuth 存取權杖,可透過 ant auth login --scope org:admin 或工作負載身分聯合(workload identity federation)規則取得;不接受 Admin API 金鑰。請參閱使用 Admin API 管理 WIF。
移除聯合規則工作區
$ ant beta:organization:federation:rules:workspaces remove需要具有 org:admin 範圍的 OAuth 存取權杖,可透過 ant auth login --scope org:admin 或工作負載身分聯合(workload identity federation)規則取得;不接受 Admin API 金鑰。請參閱使用 Admin API 管理 WIF。
Beta組織邀請
Beta組織服務帳戶
建立服務帳戶
$ ant beta:organization:service-accounts create需要具有 org:admin 範圍的 OAuth 存取權杖,可透過 ant auth login --scope org:admin 或工作負載身分聯合(workload identity federation)規則取得;不接受 Admin API 金鑰。請參閱使用 Admin API 管理 WIF。
列出服務帳戶
$ ant beta:organization:service-accounts list需要具有 org:admin 範圍的 OAuth 存取權杖,可透過 ant auth login --scope org:admin 或工作負載身分聯合(workload identity federation)規則取得;不接受 Admin API 金鑰。請參閱使用 Admin API 管理 WIF。
取得服務帳戶
$ ant beta:organization:service-accounts retrieve需要具有 org:admin 範圍的 OAuth 存取權杖,可透過 ant auth login --scope org:admin 或工作負載身分聯合(workload identity federation)規則取得;不接受 Admin API 金鑰。請參閱使用 Admin API 管理 WIF。
更新服務帳戶
$ ant beta:organization:service-accounts update需要具有 org:admin 範圍的 OAuth 存取權杖,可透過 ant auth login --scope org:admin 或工作負載身分聯合(workload identity federation)規則取得;不接受 Admin API 金鑰。請參閱使用 Admin API 管理 WIF。
封存服務帳戶
$ ant beta:organization:service-accounts archive需要具有 org:admin 範圍的 OAuth 存取權杖,可透過 ant auth login --scope org:admin 或工作負載身分聯合(workload identity federation)規則取得;不接受 Admin API 金鑰。請參閱使用 Admin API 管理 WIF。
Beta組織服務帳戶工作區
將工作區新增至服務帳戶
$ ant beta:organization:service-accounts:workspaces add需要具有 org:admin 範圍的 OAuth 存取權杖,可透過 ant auth login --scope org:admin 或工作負載身分聯合(workload identity federation)規則取得;不接受 Admin API 金鑰。請參閱使用 Admin API 管理 WIF。
列出服務帳戶的工作區
$ ant beta:organization:service-accounts:workspaces list需要具有 org:admin 範圍的 OAuth 存取權杖,可透過 ant auth login --scope org:admin 或工作負載身分聯合(workload identity federation)規則取得;不接受 Admin API 金鑰。請參閱使用 Admin API 管理 WIF。
從服務帳戶移除工作區
$ ant beta:organization:service-accounts:workspaces remove需要具有 org:admin 範圍的 OAuth 存取權杖,可透過 ant auth login --scope org:admin 或工作負載身分聯合(workload identity federation)規則取得;不接受 Admin API 金鑰。請參閱使用 Admin API 管理 WIF。
Beta組織使用者
Beta組織工作區
封存工作區
$ ant beta:organization:workspaces archiveBeta組織工作區速率限制
Beta組織工作區成員
列出工作區成員
$ 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 removeBeta組織工作區服務帳戶
列出服務帳戶工作區成員
$ ant beta:organization:workspaces:service-accounts list需要具有 org:admin 範圍的 OAuth 存取權杖,可透過 ant auth login --scope org:admin 或工作負載身分聯合(workload identity federation)規則取得;不接受 Admin API 金鑰。請參閱使用 Admin API 管理 WIF。
建立服務帳戶工作區成員
$ ant beta:organization:workspaces:service-accounts add需要具有 org:admin 範圍的 OAuth 存取權杖,可透過 ant auth login --scope org:admin 或工作負載身分聯合(workload identity federation)規則取得;不接受 Admin API 金鑰。請參閱使用 Admin API 管理 WIF。
取得服務帳戶工作區成員
$ ant beta:organization:workspaces:service-accounts retrieve需要具有 org:admin 範圍的 OAuth 存取權杖,可透過 ant auth login --scope org:admin 或工作負載身分聯合(workload identity federation)規則取得;不接受 Admin API 金鑰。請參閱使用 Admin API 管理 WIF。
更新服務帳戶工作區成員
$ ant beta:organization:workspaces:service-accounts update需要具有 org:admin 範圍的 OAuth 存取權杖,可透過 ant auth login --scope org:admin 或工作負載身分聯合(workload identity federation)規則取得;不接受 Admin API 金鑰。請參閱使用 Admin API 管理 WIF。
刪除服務帳戶工作區成員
$ ant beta:organization:workspaces:service-accounts remove需要具有 org:admin 範圍的 OAuth 存取權杖,可透過 ant auth login --scope org:admin 或工作負載身分聯合規則取得;不接受 Admin API 金鑰。請參閱使用 Admin API 管理 WIF。
Beta組織速率限制
列出組織速率限制
$ ant beta:organization:rate-limits list列出您組織的 Messages API 速率限制。
Beta組織合規設定
Beta組織分析摘要
取得活動摘要
$ ant beta:organization:analytics:summaries list取得指定日期範圍內的全組織活動摘要。
Beta組織分析使用者
列出使用者活動
$ ant beta:organization:analytics:users list取得指定日期的每位使用者活動,採用游標式分頁。
Beta組織分析應用程式聊天專案
取得聊天專案用量
$ ant beta:organization:analytics:apps:chat:projects list取得指定日期的每個專案活動,並支援以游標為基礎的分頁。
Beta組織分析連接器
取得連接器使用量
$ ant beta:organization:analytics:connectors list取得指定日期的每個連接器用量,採用游標式分頁。
Beta組織分析外掛程式
取得外掛程式使用量
$ ant beta:organization:analytics:plugins list取得指定日期的每個外掛程式安裝與呼叫用量,採用分頁。
Beta組織分析技能
取得技能使用量
$ ant beta:organization:analytics:skills list取得指定日期的每項技能用量,採用游標式分頁。
Beta組織分析Artifacts
取得 Artifact 活動
$ ant beta:organization:analytics:artifacts list取得指定日期的 artifact 建立活動,依 MIME 類型細分。
Beta組織分析使用量報告
取得隨時間變化的 Token 用量
$ ant beta:organization:analytics:usage-report list取得某個日期範圍內隨時間變化的 token 用量。
Beta組織分析使用者用量報告
取得每位使用者的 Token 用量
$ ant beta:organization:analytics:user-usage-report list取得某個日期範圍內每位使用者的 token 用量。
Beta組織分析成本報告
取得隨時間變化的成本
$ ant beta:organization:analytics:cost-report list取得某個日期範圍內隨時間變化的成本(以美元計)。
Beta組織分析使用者成本報告
取得每位使用者的成本
$ ant beta:organization:analytics:user-cost-report list取得某個日期範圍內每位使用者的成本(以美元計)。
Beta組織支出限制
取得支出限制
$ ant beta:organization:spend-limits retrieve依 ID 擷取支出限制。
刪除支出限制
$ ant beta:organization:spend-limits delete刪除支出限制。
列出支出限制
$ ant beta:organization:spend-limits listList the organization's spend limits.
Beta組織支出限制有效
列出有效支出限制
$ ant beta:organization:spend-limits:effective list列出每位成員的有效支出限制及本期至今的支出。
Beta組織支出限制提高請求
列出支出限制提高請求
$ 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拒絕待處理的支出限制提高請求。
Beta組織RBAC 群組
建立 RBAC 群組
$ ant beta:organization:rbac-groups create在 Claude Enterprise 租戶中建立 RBAC 群組。透過 API 建立的群組其來源類型為 "direct"。
列出 RBAC 群組
$ ant beta:organization:rbac-groups list列出 Claude Enterprise 租戶中的 RBAC 群組。
取得 RBAC 群組
$ ant beta:organization:rbac-groups retrieve依 ID 擷取 RBAC 群組。
更新 RBAC 群組
$ ant beta:organization:rbac-groups update更新 RBAC 群組的名稱。當租用戶中的組織使用 SCIM 佈建時,由身分識別提供者佈建的群組(來源類型為 "scim")無法透過 API 修改。
刪除 RBAC 群組
$ ant beta:organization:rbac-groups delete刪除 RBAC 群組。當租用戶中的組織使用 SCIM 佈建時,由身分識別提供者佈建的群組(來源類型為 "scim")無法透過 API 刪除。
Beta組織RBAC 群組成員
列出 RBAC 群組成員
$ ant beta:organization:rbac-groups:members list列出 RBAC 群組的成員。
新增 RBAC 群組成員
$ ant beta:organization:rbac-groups:members add將使用者新增至 RBAC 群組。當租用戶中的組織使用 SCIM 佈建時,由身分識別提供者佈建的群組(來源類型為 "scim")其成員資格無法透過 API 修改。
移除 RBAC 群組成員
$ ant beta:organization:rbac-groups:members remove從 RBAC 群組中移除使用者。當租用戶中的組織使用 SCIM 佈建時,由身分識別提供者佈建的群組(來源類型為 "scim")其成員資格無法透過 API 修改。
Beta組織RBAC 角色
取得 RBAC 角色
$ ant beta:organization:rbac-roles retrieve依 ID 擷取 RBAC 角色。
Beta組織RBAC 角色權限
列出 RBAC 角色權限
$ ant beta:organization:rbac-roles:permissions list列出 RBAC 角色所授予的權限。
Beta組織外掛程式
建立外掛程式
$ ant beta:organization:plugins create上傳版本的檔案,以建立組織擁有的外掛程式(Plugin)及其 第一個版本。
更新外掛程式
$ 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.
列出 Plugin
$ ant beta:organization:plugins list列出在組織下建立的 Plugin,依最新優先排序:包括組織自有外掛程式市集中的 Plugin,以及成員個人外掛程式市集中的 Plugin。
刪除 Plugin
$ ant beta:organization:plugins delete永久刪除 Plugin 及其所有版本,效果與管理員在 claude.ai 中刪除時完全相同。該 Plugin 可以屬於組織或成員,包括已離開組織的成員。
Beta組織外掛程式版本
建立 Plugin 版本
$ ant beta:organization:plugins:versions create透過上傳新版本的檔案,為組織擁有的 Plugin 新增版本;除非該 Plugin 所提供的版本已被釘選,否則新版本會成為向成員提供的版本。
列出 Plugin 版本
$ ant beta:organization:plugins:versions list列出 Plugin 的版本,依最新優先排序。
取得 Plugin 版本
$ ant beta:organization:plugins:versions retrieve依 ID 擷取 Plugin 的某個版本,或擷取 Plugin 的最新版本。
下載 Plugin 版本封存檔
$ ant beta:organization:plugins:versions download下載某個版本的 .zip 封存檔,內容與儲存時完全相同。每次從成員個人外掛程式市集下載 Plugin,都會記錄在 Compliance API 活動摘要中。
Beta組織外掛程式安裝設定
列出 Plugin 安裝設定
$ ant beta:organization:plugins:installation-settings list列出組織擁有的 Plugin 的安裝設定(用於指定該 Plugin 適用於哪些成員),依建立時間由新到舊排序。
設定 Plugin 安裝設定
$ ant beta:organization:plugins:installation-settings set為整個組織或單一 RBAC 群組設定或變更組織擁有的 Plugin 的安裝設定。
移除 Plugin 安裝設定
$ ant beta:organization:plugins:installation-settings remove移除組織擁有的 Plugin 針對整個組織或單一 RBAC 群組本身的安裝設定。
Beta組織外掛程式市集
列出外掛程式市集
$ ant beta:organization:plugin-marketplaces list列出 Plugin 所在的外掛程式市集,依最新優先排序:包括組織自有的市集及其成員的個人市集。
取得外掛程式市集
$ ant beta:organization:plugin-marketplaces retrieve依 ID 擷取外掛程式市集。
更新外掛程式市集
$ ant beta:organization:plugin-marketplaces update設定組織自有外掛程式市集之一的預設安裝設定。該市集中每個沒有自身設定的 Plugin(包括之後新增的 Plugin)都會以此預設值作為其全組織設定。
驗證外掛程式市集儲存庫
$ 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.
Beta組織遙測目的地
建立遙測目的地
$ 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 test將一個名為 anthropic.test 的測試 span 連同已註冊的標頭傳送至目的地,僅傳送一次且不重試,並回報目的地的回應。無論目的地是否以 2xx 狀態回應,回應皆為 200:其 result 的類型為 success,或類型為 failure 並在 error 中附上原因。目的地的設定、state 與 delivery_health 不會變更。已停用的目的地也可以測試。對同一目的地的兩次測試之間請等待 10 秒;過早送出的請求可能會收到狀態 429。
Beta組織遙測目的地工作區
列出遙測目的地工作區
$ ant beta:organization:telemetry-destinations:workspaces list列出目的地工作區清單中的工作區,最新的項目排在最前面。
新增遙測目的地工作區
$ ant beta:organization:telemetry-destinations:workspaces add將一個工作區新增至目的地的工作區清單。
移除遙測目的地工作區
$ ant beta:organization:telemetry-destinations:workspaces remove從目的地的工作區清單中移除一個工作區。
Beta組織Webhook
建立組織 Webhook 端點
$ ant beta:organization:webhooks create建立組織 webhook 端點。
取得組織 Webhook 端點
$ ant beta:organization:webhooks retrieve依 ID 擷取組織 webhook 端點。
更新組織 Webhook 端點
$ ant beta:organization:webhooks update更新組織 webhook 端點。只有您傳送的欄位會被變更。
刪除組織 Webhook 端點
$ ant beta:organization:webhooks delete刪除組織 webhook 端點。
重新產生組織 Webhook 端點簽署密鑰
$ ant beta:organization:webhooks regenerate-signing-secret替換組織 webhook 端點的簽署密鑰。舊密鑰會立即失效。新密鑰僅會在此回應中傳回。
Beta組織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.
Beta組織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.
Beta組織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.
Beta組織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.