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 或工作负载身份联合规则获取;不接受 Admin API 密钥。请参阅使用 Admin API 管理 WIF。
列出联合颁发者
$ ant beta:organization:federation:issuers list需要具有 org:admin 作用域的 OAuth 访问令牌,可通过 ant auth login --scope org:admin 或工作负载身份联合规则获取;不接受 Admin API 密钥。请参阅使用 Admin API 管理 WIF。
获取联合颁发者
$ ant beta:organization:federation:issuers retrieve需要具有 org:admin 作用域的 OAuth 访问令牌,可通过 ant auth login --scope org:admin 或工作负载身份联合规则获取;不接受 Admin API 密钥。请参阅使用 Admin API 管理 WIF。
更新联合颁发者
$ ant beta:organization:federation:issuers update需要具有 org:admin 作用域的 OAuth 访问令牌,可通过 ant auth login --scope org:admin 或工作负载身份联合规则获取;不接受 Admin API 密钥。请参阅使用 Admin API 管理 WIF。
归档联合颁发者
$ ant beta:organization:federation:issuers archive需要具有 org:admin 作用域的 OAuth 访问令牌,可通过 ant auth login --scope org:admin 或工作负载身份联合规则获取;不接受 Admin API 密钥。请参阅使用 Admin API 管理 WIF。
Beta组织联合规则
创建联合规则
$ ant beta:organization:federation:rules create需要具有 org:admin 作用域的 OAuth 访问令牌,可通过 ant auth login --scope org:admin 或工作负载身份联合规则获取;不接受 Admin API 密钥。请参阅使用 Admin API 管理 WIF。
列出联合规则
$ ant beta:organization:federation:rules list需要具有 org:admin 作用域的 OAuth 访问令牌,可通过 ant auth login --scope org:admin 或工作负载身份联合规则获取;不接受 Admin API 密钥。请参阅使用 Admin API 管理 WIF。
获取联合规则
$ ant beta:organization:federation:rules retrieve需要具有 org:admin 作用域的 OAuth 访问令牌,可通过 ant auth login --scope org:admin 或工作负载身份联合规则获取;不接受 Admin API 密钥。请参阅使用 Admin API 管理 WIF。
更新联合规则
$ ant beta:organization:federation:rules update需要具有 org:admin 作用域的 OAuth 访问令牌,可通过 ant auth login --scope org:admin 或工作负载身份联合规则获取;不接受 Admin API 密钥。请参阅使用 Admin API 管理 WIF。
归档联合规则
$ ant beta:organization:federation:rules archive需要具有 org:admin 作用域的 OAuth 访问令牌,可通过 ant auth login --scope org:admin 或工作负载身份联合规则获取;不接受 Admin API 密钥。请参阅使用 Admin API 管理 WIF。
Beta组织联合规则工作区
添加联合规则工作区
$ ant beta:organization:federation:rules:workspaces add需要具有 org:admin 作用域的 OAuth 访问令牌,可通过 ant auth login --scope org:admin 或工作负载身份联合规则获取;不接受 Admin API 密钥。请参阅使用 Admin API 管理 WIF。
列出联合规则工作区
$ ant beta:organization:federation:rules:workspaces list需要具有 org:admin 作用域的 OAuth 访问令牌,可通过 ant auth login --scope org:admin 或工作负载身份联合规则获取;不接受 Admin API 密钥。请参阅使用 Admin API 管理 WIF。
移除联合规则工作区
$ ant beta:organization:federation:rules:workspaces remove需要具有 org:admin 作用域的 OAuth 访问令牌,可通过 ant auth login --scope org:admin 或工作负载身份联合规则获取;不接受 Admin API 密钥。请参阅使用 Admin API 管理 WIF。
Beta组织邀请
Beta组织服务账号
创建服务账号
$ ant beta:organization:service-accounts create需要具有 org:admin 作用域的 OAuth 访问令牌,可通过 ant auth login --scope org:admin 或工作负载身份联合规则获取;不接受 Admin API 密钥。请参阅使用 Admin API 管理 WIF。
列出服务账号
$ ant beta:organization:service-accounts list需要具有 org:admin 作用域的 OAuth 访问令牌,可通过 ant auth login --scope org:admin 或工作负载身份联合规则获取;不接受 Admin API 密钥。请参阅使用 Admin API 管理 WIF。
获取服务账号
$ ant beta:organization:service-accounts retrieve需要具有 org:admin 作用域的 OAuth 访问令牌,可通过 ant auth login --scope org:admin 或工作负载身份联合规则获取;不接受 Admin API 密钥。请参阅使用 Admin API 管理 WIF。
更新服务账号
$ ant beta:organization:service-accounts update需要具有 org:admin 作用域的 OAuth 访问令牌,可通过 ant auth login --scope org:admin 或工作负载身份联合规则获取;不接受 Admin API 密钥。请参阅使用 Admin API 管理 WIF。
归档服务账号
$ ant beta:organization:service-accounts archive需要具有 org:admin 作用域的 OAuth 访问令牌,可通过 ant auth login --scope org:admin 或工作负载身份联合规则获取;不接受 Admin API 密钥。请参阅使用 Admin API 管理 WIF。
Beta组织服务账号工作区
将工作区添加到服务账号
$ ant beta:organization:service-accounts:workspaces add需要具有 org:admin 作用域的 OAuth 访问令牌,可通过 ant auth login --scope org:admin 或工作负载身份联合规则获取;不接受 Admin API 密钥。请参阅使用 Admin API 管理 WIF。
列出服务账号所属的工作区
$ ant beta:organization:service-accounts:workspaces list需要具有 org:admin 作用域的 OAuth 访问令牌,可通过 ant auth login --scope org:admin 或工作负载身份联合规则获取;不接受 Admin API 密钥。请参阅使用 Admin API 管理 WIF。
从服务账号中移除工作区
$ ant beta:organization:service-accounts:workspaces remove需要具有 org:admin 作用域的 OAuth 访问令牌,可通过 ant auth login --scope org:admin 或工作负载身份联合规则获取;不接受 Admin API 密钥。请参阅使用 Admin API 管理 WIF。
Beta组织用户
Beta组织工作区
归档工作区
$ ant beta:organization:workspaces archiveBeta组织工作区速率限制
列出工作区速率限制
$ ant beta:organization:workspaces:rate-limits list列出工作区的速率限制(rate limit)。
设置工作区速率限制
$ ant beta:organization:workspaces:rate-limits update为工作区中的某个速率限制组设置或清除速率限制覆盖值。
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 或工作负载身份联合规则获取;不接受 Admin API 密钥。请参阅使用 Admin API 管理 WIF。
创建服务账号工作区成员
$ ant beta:organization:workspaces:service-accounts add需要具有 org:admin 作用域的 OAuth 访问令牌,可通过 ant auth login --scope org:admin 或工作负载身份联合规则获取;不接受 Admin API 密钥。请参阅使用 Admin API 管理 WIF。
获取服务账号工作区成员
$ ant beta:organization:workspaces:service-accounts retrieve需要具有 org:admin 作用域的 OAuth 访问令牌,可通过 ant auth login --scope org:admin 或工作负载身份联合规则获取;不接受 Admin API 密钥。请参阅使用 Admin API 管理 WIF。
更新服务账号工作区成员
$ ant beta:organization:workspaces:service-accounts update需要具有 org:admin 作用域的 OAuth 访问令牌,可通过 ant auth login --scope org:admin 或工作负载身份联合规则获取;不接受 Admin API 密钥。请参阅使用 Admin API 管理 WIF。
删除服务账号工作区成员
$ ant beta:organization:workspaces:service-accounts remove需要具有 org:admin 范围的 OAuth 访问令牌,可通过 ant auth login --scope org:admin 或 "workload identity federation"(工作负载身份联合)规则获取;不接受 Admin API 密钥。请参阅使用 Admin API 管理 WIF。
Beta组织速率限制
列出组织速率限制
$ ant beta:organization:rate-limits list列出您组织的 Messages API "rate limit"(速率限制)。
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组织分析使用情况报告
获取随时间变化的令牌用量
$ ant beta:organization:analytics:usage-report list获取某个日期范围内随时间变化的令牌用量。
Beta组织分析用户用量报告
获取每用户令牌用量
$ ant beta:organization:analytics:user-usage-report list获取某个日期范围内的每用户令牌用量。
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 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 中删除它完全相同。该插件可以属于组织,也可以属于某个成员,包括此后已离开组织的成员。
Beta组织插件版本
创建插件版本
$ ant beta:organization:plugins:versions create通过上传新版本的文件为组织所有的插件添加一个版本;除非该插件的提供版本已被固定,否则新版本将成为向成员提供的版本。
列出插件版本
$ ant beta:organization:plugins:versions list列出插件的版本,按从新到旧排序。
获取插件版本
$ ant beta:organization:plugins:versions retrieve按 ID 检索插件的某个版本,或检索插件的最新版本。
下载插件版本归档
$ ant beta:organization:plugins:versions download按原样下载某个版本的 .zip 归档文件。每次从成员个人插件市场下载插件都会记录在 Compliance API 活动源中。
Beta组织插件安装设置
列出插件安装设置
$ ant beta:organization:plugins:installation-settings list列出组织所有插件的安装设置(这些设置说明插件面向哪些成员),按创建时间从新到旧排序。
设置插件安装设置
$ ant beta:organization:plugins:installation-settings set为整个组织或某个 RBAC 组设置或更改组织所有插件的安装设置。
移除插件安装设置
$ ant beta:organization:plugins:installation-settings remove移除组织所有插件针对整个组织或某个 RBAC 组的自身安装设置。
Beta组织插件市场
列出插件市场
$ ant beta:organization:plugin-marketplaces list列出插件所在的插件市场,按从新到旧排序:包括组织自有的市场及其成员的个人市场。
获取插件市场
$ ant beta:organization:plugin-marketplaces retrieve按 ID 检索插件市场。
更新插件市场
$ ant beta:organization:plugin-marketplaces update设置组织自有插件市场之一的默认安装设置。该市场中所有没有自身设置的插件(包括之后添加的插件)都会将此默认值作为其组织范围设置。
验证插件市场代码仓库
$ 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.