我们已发布 API 版本 2026-10-21。迁移到 API 版本 2026-10-21 展示了如何升级。我们已发布新版本的客户端 SDK 和 ant CLI,它们默认发送 API 版本 2026-10-21:Python SDK 2.0.0、TypeScript SDK 1.0.0、C# SDK 13.0.0、Go SDK 2.0.0、Java SDK 3.0.0、PHP SDK 1.0.0、Ruby SDK 2.0.0 和 ant CLI 2.0.0。请参阅切换到 2026-10-21。新的 SDK 和 CLI 版本还包含不依赖于 API 版本的破坏性变更,并且它们根据 Apache 2.0 而非 MIT 许可证授权。请参阅 SDK 和 CLI 变更。我们已将 enforcement_status 和 enforcement_actions 字段添加到用户配置文件中,以便您可以查看 Anthropic 是否限制了或封禁了您的某个最终客户。要查找存在未解除限制或封禁的配置文件,请使用新的 enforcement_status[] 过滤器列出您的配置文件。请参阅检查 Anthropic 是否限制或封禁了某个配置文件。
We’ve released API version 2026-10-21. Migrating to API version 2026-10-21 shows how to upgrade. We’ve released new versions of the client SDKs and the ant CLI that send API version 2026-10-21 by default: Python SDK 2.0.0, TypeScript SDK 1.0.0, C# SDK 13.0.0, Go SDK 2.0.0, Java SDK 3.0.0, PHP SDK 1.0.0, Ruby SDK 2.0.0, and ant CLI 2.0.0. See Switch to 2026-10-21. The new SDK and CLI versions also have breaking changes that don’t depend on the API version, and they are licensed under Apache 2.0 instead of the MIT License. See SDK and CLI changes. We’ve added the enforcement_status and enforcement_actions fields to user profiles, so you can see whether Anthropic has restricted or banned one of your end customers. To find the profiles that have an open restriction or ban, list your profiles with the new enforcement_status[] filter. See Check whether Anthropic has restricted or banned a profile.
本文内容采集自官方网站,排版和翻译可能与原页面存在差异。
阅读官方全文