Python SDK 0.25.0 and TypeScript SDK 0.22.0 align Instant Sessions
Both SDKs now use the Instant Session and account contracts. Tool execution and usage responses expose exact Instant charges, and provider helpers can execute tools through a supplied Tool Router Session.Release versions
Instant Sessions and charges
- Configure Instant access with
instantand request execution charge details withinstant.returnInstantChargein TypeScript orinstant.return_instant_chargein Python. The formerpremium_usageandreturn_premium_chargenames are replaced by the Instant contract. - Read
instantChargein TypeScript orinstant_chargein Python from Session execution results. Project usage summaries expose the exact USD amount as a string; charged tool logs includemetadata.instant_charge. - Select an Instant account with
instant_accountin the Session API contract. Session search results describe available Instant tools throughinstantAccountin TypeScript orinstant_accountin Python.
Provider helpers and fixes
- Google, Cloudflare, and OpenAI Responses helpers in TypeScript, and the Google Gemini helper in Python, accept a Tool Router Session for execution. Existing user ID calls continue to use direct execution.
- TypeScript
ConnectionRequest.statusnow follows the result ofwaitForConnection(), and telemetry records calls towaitForConnection(). - The OpenAI provider no longer includes Assistants API helpers. Move Assistants integrations to the Responses API and
OpenAIResponsesProviderfrom@composio/openai.
Don’t store data is now Zero Data Retention
The Don’t store data option under Log storage is now Zero Data Retention (ZDR). You manage it as an organization add-on in Organization Settings > Billing > Add-ons. Every project kept its setting, so projects that had Don’t store data on now show ZDR on.What’s new
- An organization admin can turn on ZDR for all projects at once. Admins can also turn it on or off for one project in Project Settings > General.
- ZDR is available on paid plans for a usage-based price and included on Enterprise, where new projects start with ZDR on. Hobby plan projects that already had Don’t store data keep ZDR on until an admin turns it off.
- The Zero Data Retention page lists what ZDR covers, what it does not cover, and what Composio still stores.