Exa SDKs 2.29.0: streamed searches and answers now raise on API errors
Exa SDK 2.29.0 streams now raise or reject on API errors. Python adds base_url and deprecates AsyncExa.api_base.
Your keys
0 of 1 ready
Create each key on its own page, paste it below, then copy the finished lines into your project's .env file. Your keys stay in this tab. They are never sent to Wirestack or saved; we only count that the panel was used.
- Exa API keyEXA_API_KEYGet key
Create a key. New accounts get free credits
What changed
Exa's Python and JavaScript SDKs 2.29.0 (release notes dated November 18, 2026, published November 19) change what happens when the API reports an error in the middle of a stream.
- Python (
exa-py): streamed answers and searches now raiseValueErroron an API error. - JavaScript (
exa-js):streamSearchandstreamAnswernow reject on API error events. Errors fromstreamSearchkeep the API'stagandrequestId, andExaError.taggives a machine-readable error tag. - Base URL in Python:
base_urlis new andAsyncExa.api_baseis deprecated. Passing both raisesTypeError. - Base URL in JavaScript:
Exaclients take abaseURLoption or readEXA_BASE_URL.
Prerequisites
Steps
- Upgrade:
pip install exa-py==2.29.0npm install exa-js@2.29.0Affected by this? Start from a checked Exa integration
Code with pinned versions, checked against the official docs on a schedule.
