Skip to main content
Socket sessions are in beta and available only to white-label workspaces on the Builder plan or higher that have live AI chat updates turned on. Ask your onboarding contact to turn them on for your workspace.
A socket session lets a page in your product receive live updates for specific apps. Your server opens a session each time the page opens, with a workspace API key that has the Watch app builder updates permission. A session watches up to eight apps for one hour. Sessions are never extended. Your server sends the session token to the browser, and the browser connects with the @base44/platform SDK. Create a client with createPlatformClient(), then use its chat module to receive the session’s messages in your callbacks. Keep the session ID on your server to change which apps the session watches or to end it.

Messages

  • Socket messages: Every message on a session’s connection, in both directions, and the fields it carries.

Endpoints