Connection
Connect to the WebSocket endpoint with your API key:Python SDK
Event Types
Subscribe to specific events or use wildcards:Wait for Job
Convenience function to wait for a specific job:With Progress Callbacks
Protocol Reference
Connection Flow
- Connect with API key in query string
- Receive
connectedmessage with session ID - Send
subscribeto register for events - Receive
subscribedconfirmation - Receive
eventmessages as they occur - Send
pingperiodically to keep connection alive