NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1945 most downloaded on PyPI
Python client library for the Portkey API
Last release 2 months ago
23 Jul 2026
Ships fairly regularly
a new release about every 4 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
2 versions withdrawn
withdrawn after publishing
3 years old
108 releases · first in 2023
One column per quarter.
fix: use external openai NotGiven/Omit types for compatibility by @roh26it in #415
Full Changelog: v2.3.3...v2.3.4
chore: Remove dummy api_key from tests by @kiran-4444 in #433
Full Changelog: v2.3.2...v2.3.3
fix(base_client): return recursive _request() result on retry by @naresh4dev in #429
Full Changelog: v2.3.1...v2.3.2
fix: Correct usage metadata mapping by @kiran-4444 in #426
Full Changelog: v2.3.0...v2.3.1
Add Analytics and MCP APIs by @kiran-4444 in #424
Full Changelog: v2.2.0...v2.3.0
Vendoring openai 2.7.1 by @csgulati09 in #409
Full Changelog: v2.1.0...v2.2.0
fix: properly handle extra_body parameter in completions API by @roh26it in #413
chore: refactor chat and text completion methods to custom remove str… by @VisargD in #411
Full Changelog: v2.0.3...v2.0.4
Removing NOT_GIVEN Keys by @csgulati09 in #405
Full Changelog: v2.0.2...v2.0.3
FIX: integrations models list response type by @csgulati09 in #399
Full Changelog: v2.0.1...v2.0.2
Guardrails API Support by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/396
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v2.0.0...v2.0.1
Vendoring OAI 2.2.0 by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/393
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.15.1...v2.0.0
Add Strands & Google ADK Integration by @vrushankportkey in https://github.com/Portkey-AI/portkey-python-sdk/pull/383
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.15.0...v1.15.1
feat: exact_name in ws list query by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/388
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/1.14.4...v1.15.0
Name in WS List endpoint by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/382
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.14.3...1.14.4
Construct warning pydantic by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/374
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.14.2...v1.14.3
Random String in the Streaming Response by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/371
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.14.1...v1.14.2
Logger Object Serializable by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/359
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.14.0...v1.14.1
OAI 1.86.0 by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/361
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.13.0...v1.14.0
fix: package import for all the sub directories by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/348
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.12.3...v1.13.0
Test PYPI by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/351
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.12.4rc1...1.13.0rc1
fix: package import for all the sub directories by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/348
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.12.3...v1.12.4rc1
FIX: Hatch pytest by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/344
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.12.2...v1.12.3
FIX: API Key Creation by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/337
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.12.1...v1.12.2
Delete Config ID and SLUG by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/327
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.12.0...v1.12.1
Fireworks Header by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/324
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.11.2...v1.12.0
Headers in Prompt Completions by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/309
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.11.1...v1.11.2
Workflow File by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/306
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.11.0...v1.11.1
OpenAI version upgrade by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/293
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.10.5...v1.11.0
feat: support for batches output by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/298
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.10.4...v1.10.5
fix: list type for content by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/295
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.10.3...v1.10.4
instrumentation using monkey patching and open telemetry by @narengogi in https://github.com/Portkey-AI/portkey-python-sdk/pull/282
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.10.2...v1.10.3
Retry requests by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/281
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.10.1...v1.10.2
forward_headers by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/278
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.10.0...v1.10.1
Optional Response Types by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/275
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.9.10...v1.10.0
Strict_open_ai_compliance by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/267
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.9.9...v1.9.10
Insert Log by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/259
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.9.8...v1.9.9
Pydantic for v1 and v2 by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/248
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.9.7...v1.9.8
fix: issue related to httpx proxy by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/250
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.9.6...v1.9.7
feat: stream for threads and runs by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/244
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.9.5...v1.9.6
BaseURL and APIKey Optional by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/231
extras_require by @harupy in https://github.com/Portkey-AI/portkey-python-sdk/pull/242Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.9.4...v1.9.5
feat: logs-exports api by @shivam-pareek in https://github.com/Portkey-AI/portkey-python-sdk/pull/236
mypy from dependencies by @harupy in https://github.com/Portkey-AI/portkey-python-sdk/pull/240Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.9.3...v1.9.4
LLM Calls by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/238
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.9.2...v1.9.3
Pydantic install_requires by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/233
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.9.1...v1.9.2
hotfix: response type by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/225
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.9.0...v1.9.1
anthropic-beta header by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/218
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.8.7...v1.9.0
Feat/oai1.40.1 by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/194
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.8.6...v1.8.7
fix: Add huggingface_base_url parameter to support autocompletions for x-portkey-huggingface-base-url header by @narengogi in https://github.com/Portk
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.8.5...v1.8.6
Llama payload by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/211
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.8.4...v1.8.5
Feat/langchain payload by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/207
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.8.3...v1.8.4
Langchain Events by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/204
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.8.2...v1.8.3
Accepting files in post method by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/180
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.8.1...v1.8.2
None Type LlamaIndex payload by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/200
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.8.0...v1.8.1
Traces by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/197
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.7.2...v1.8.0
Vertex Changes by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/192
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.7.1...v1.7.2
chore: replace validators with field_validators to avoid deprecation … by @Nishkarsh1606 in https://github.com/Portkey-AI/portkey-python-sdk/pull/178
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.7.0...v1.7.1
chore: replace validators with field_validators to avoid deprecation … by @Nishkarsh1606 in https://github.com/Portkey-AI/portkey-python-sdk/pull/178
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.7.0...v1.7.1rc1
Vendoring by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/154
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.5.1...v1.7.0
Vendoring by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/154
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.5.1...v1.7.0rc1
Vendoring by @csgulati09 in https://github.com/Portkey-AI/portkey-python-sdk/pull/154
Full Changelog: https://github.com/Portkey-AI/portkey-python-sdk/compare/v1.5.1...v1.6.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →