Skip to main content

Rigs

A rig (console: PC) is a Windows machine running the host agent, paired to your account. The UI says PC; the API still uses list_rigs / rig_id. The person at the machine installs without a Glasswarp login; you pair the tray code. Your API key can reach any PC you own that has API access enabled.
To keep a rig reachable for agents, enable Keep rig awake in the rig’s settings. Windows stays awake and connected while the physical display can rest. See Keep a rig awake. API sessions also manage Windows HDR for capture quality: Live View is SDR, so the host temporarily turns HDR off for the session and restores it afterward. See Live View → Color / HDR.

Sessions

A session is an active, metered connection to a rig. It owns the host’s capture/encode/input pipeline for its lifetime.

Modes

Lifecycle and cleanup

Sessions meter usage. Always end them in a finally block. The host also runs safety_restore automatically on disconnect, launch failure, EXIT_GAME, FORCE_QUIT, and API END_SESSION.
Continue to Vision.