Skip to content

feat: default realtime base URL to wss://api.decart.ai - #75

Merged
AdirAmsalem merged 1 commit into
mainfrom
conductor/api-2128-api3-api-decart-python
Oct 14, 2026
Merged

AdirAmsalem merged 1 commit into
mainfrom
conductor/api-2128-api3-api-decart-python

Conversation

@AdirAmsalem

@AdirAmsalem AdirAmsalem commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The realtime WebSocket endpoint is served from api.decart.ai, the same host as the REST API, so the SDK no longer needs a separate default hostname for it.

  • DecartClient(realtime_base_url=...) now defaults to wss://api.decart.ai (was wss://api3.decart.ai). The argument is unchanged and still overrides the default.
  • Docstring and the realtime unit tests that pinned the old default are updated.
  • api3.decart.ai keeps working for clients that set it explicitly. No version bump or release in this PR.

Verification

  • pytest: 132 passed. ruff and black --check clean on the changed files.

api.decart.ai is no longer fronted by CloudFront; since 2026-10-14 it is
the same direct Route53 geolocation record as api3.decart.ai. Make
api.decart.ai the only default and documented hostname. api3.decart.ai
keeps working and realtime_base_url remains overridable.

Part of https://linear.app/decart/issue/API-2128
@AdirAmsalem
AdirAmsalem merged commit b42db64 into main Oct 14, 2026
9 checks passed
@AdirAmsalem
AdirAmsalem deleted the conductor/api-2128-api3-api-decart-python branch October 14, 2026 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants