Realtime

WebSockets (Socket.IO)

For the documentation web app, SDK examples, and dashboard engineers — same protocol. Not in OpenAPI. Server: sockets/, server.js (Socket.IO on API origin, path /socket.io/).

Note
Dashboard copy-paste patterns: Dashboard recipes.

Table of contents

  1. Connection & security
  2. Rooms
  3. Client → server emits
  4. Server → client events
  5. Org & project
  6. Database
  7. Integrations
  8. Wallets & blockchain
  9. Presence
  10. Chat & messaging
  11. Calls (signaling)
  12. Custom channels
  13. Auth-related socket events
  14. Errors & limits

Use-case map

Use casePrimary events
Docs: “Live table”subscribe:project, db:create/update/delete
Docs: “Live schema”subscribe:collection, db:collection_*
Dashboard: project listproject:* on dashboard scope room
Dashboard: integration testerintegration:join, integration:execute, integration:test
Dashboard: wallet monitorwallet:subscribe:project, wallet:tx:*, wallet:balance:updated
App: chatchat:join, message:send, message:new
App: collaborative UIcustom:broadcast, custom:typing

Last aligned with mudbase-backend socket handlers; extend when new emits are added.