Skip to main content
The web workspace is served by process-agnostic Request → Response handlers in web/server, mounted as /api routes by web/app. All endpoints bind to loopback by default; there is no authentication layer. Set VITE_FLEET_PI_CHAT_RUNTIME_URL to point the browser at a remote runtime. Every API handler checks the request’s origin. Requests from local clients are allowed. Error responses use a standard message and code shape that stays compatible with older payloads. Session commands, resume, and other session-scoped requests are rejected when the session’s project is no longer registered, including sessions that are already open. Resource discovery never reads snapshots from a session you cannot access. Session and project listing is read-only.

Chat

Sessions

Models, providers, and settings

Projects

Workspace

Health

For the frame shapes on the streaming endpoints, see Streaming.
Last modified on November 20, 2026