Skip to content

docs: document EVENT_TYPE_LANGUAGE_CHANGED messaging event#508

Open
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/ffef66fe
Open

docs: document EVENT_TYPE_LANGUAGE_CHANGED messaging event#508
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/ffef66fe

Conversation

@mintlify

@mintlify mintlify Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Summary

Documents the new EVENT_TYPE_LANGUAGE_CHANGED server event that messaging API clients now receive over the WebSocket when the PolyAI agent detects a conversation language switch.

Changes

  • Added an EVENT_TYPE_LANGUAGE_CHANGED section to the System events list on the Server events reference page, including the payload shape, field description (BCP-47 language_code), and a note that the event is journaled, replayed on reconnect, and idempotent.

Context

Upstream change added a first-class LANGUAGE_CHANGED event so v2 messaging clients can react to language switches (previously only the new language code was persisted server-side). Clients now see a new event type on the WebSocket and need reference docs to consume it.

@mintlify

mintlify Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
polyai 🟢 Ready View Preview Jun 12, 2026, 11:19 AM

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.

0 participants