在Python SDK 1.2.0、TypeScript SDK 0.122.0、Go SDK 1.68.0、Java SDK 2.59.0、Ruby SDK 1.67.0和C# SDK 12.44.0中,client.beta.files和client.beta.skills不再发送files-api-2025-04-14和skills-2025-10-02测试版标头,并返回与client.files和client.skills相同的形状。通过此更改,client.beta.skills.delete()会连同其所有版本一起删除一个技能,并且测试版Messages类型BetaSkill(容器技能引用)被重命名为BetaContainerSkill。仍然发送测试版标头的请求会继续接收测试版形状。请参阅从files-api-2025-04-14迁移和从skills-2025-10-02迁移。您现在可以在Claude控制台中创建个人密钥和服务账户密钥。它们以您或服务账户的身份运行,具有相同的权限,并在关联账户从组织中移除时停止工作。这使组织管理员能够更轻松地跟踪每个账户的使用情况,并确保密钥使用合法。这些API密钥可以限定在特定工作区内,或用于管理端点以及账户有权访问的任何工作区。工作区API密钥仍作为传统选项受支持。有关更多信息,请参阅API密钥。
In Python SDK 1.2.0, TypeScript SDK 0.122.0, Go SDK 1.68.0, Java SDK 2.59.0, Ruby SDK 1.67.0, and C# SDK 12.44.0, client.beta.files and client.beta.skills no longer send the files-api-2025-04-14 and skills-2025-10-02 beta headers and return the same shapes as client.files and client.skills. With this change, client.beta.skills.delete() deletes a Skill together with all of its versions, and the beta Messages type BetaSkill (the container Skill reference) is renamed BetaContainerSkill. Requests that still send the beta headers keep receiving the beta shapes. See Migrate from files-api-2025-04-14 and Migrate from skills-2025-10-02. You can now create personal keys and service account keys in the Claude Console. They act as you or as a service account, with the same permissions, and stop working when the linked account is removed from an organization. This lets organization admins more easily track usage for each account, and ensure key usage is legitimate. These API keys can be scoped to a specific workspace or work on admin endpoints and across any workspace the account has access to. Workspace API keys remain supported as a legacy option. See API keys for more information.
本文内容采集自官方网站,排版和翻译可能与原页面存在差异。
阅读官方全文