返回全部动态

OpenAI Python SDK v2.46.0 发布:新增服务账户 API 密钥端点

原标题:v2.46.0

OpenAI Python SDK Releases一手来源API 更新质量 68

AI 摘要

OpenAI Python SDK 发布 v2.46.0 版本,新增了组织项目服务账户 API 密钥管理端点,并支持在 APIKeyListParams 中设置 owner_project_access 参数。同时进行了多项 API 手动更新和类型兼容性修复,移除了 beta 注解兼容别名。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

## 2.46.0 (2026-07-17) Full Changelog: [v2.45.0...v2.46.0](https://github.com/openai/openai-python/compare/v2.45.0...v2.46.0) ### Features * **api:** /organization/projects/{project_id}/service_accounts/{service_account_id}/api_keys" endpoint ([5a00941](https://github.com/openai/openai-python/commit/5a0094194eac9c605c8ca84d47d1c5518f8e2131)) * **api:** add owner_project_access to APIKeyListParams ([f589d04](https://github.com/openai/openai-python/commit/f589d04bf9f377ecb1f54335ab3ab9d825b5dfe


发布时间:2026-07-17 10:47
抓取时间:2026-08-02 00:23
来源机构:OpenAI
阅读原文github.com