OpenAI Python 2.46.0 adds service-account API key support
OpenAI's official Python library version 2.46.0 was released on July 17, 2026. It adds an endpoint for API keys tied to a specific inside an organization project.
API key list requests can now include the owner_project_access field. Two other manual API updates are included, but the do not say what they change.
A fix keeps automatically generated data definitions working with existing code. Old fallback names linked to test-stage feature labels have also been removed.
Key points
- Version 2.46.0 was released on July 17, 2026.
- The new endpoint is /organization//{project_id}/service_accounts/{service_account_id}/api_keys.
- API key list requests can include owner_project_access.
- Generated data definitions now retain with existing code.
- Fallback names for test-stage feature labels were removed.