Skip to main content
Use this endpoint to connect via WebSockets to the development deployment of a model or chain.
wss://{entity}-{entity_id}.api.baseten.co/development/websocket
See WebSockets for more details.

Parameters

entity
string
required
The type of entity you want to connect to. Either model or chain.
entity_id
string
required
The ID of the model or chain you want to connect to.
Authorization
string
required
Your Baseten API key, passed as Authorization: Bearer $BASETEN_API_KEY. Api-Key is also accepted as the scheme.
websocat -H 'Authorization: Bearer EMPTY' \
    wss://{entity}-{entity_id}.api.baseten.co/development/websocket