Skip to main content
The console supports several auth modes and issues a signed session cookie for protected routes.

Modes

Dev login exists to skip authentication during development. Confirm it is disabled in any environment reachable from outside your machine — it is the one mode that bypasses credential checks entirely.

Cookies

Three cookies, with different scopes — worth understanding separately because they fail differently:
session and sandbox_session can expire independently. A user with a valid session but a stale sandbox_session reaches the console fine and then fails on anything that executes — which presents as an agent error rather than an auth error. Check both when diagnosing.

The flow

Logging in and using the result:
Response

Routes

Org scoping

The session JWT carries orgId, and downstream handlers check ownership against it — see verify chat ownership in the agent pipeline. Authentication establishes who; the orgId check establishes whose data.

Next steps

Console overview

What the console does with the session established here.

Agent pipeline

Where the orgId check is enforced.

Console mobile

The same auth, on a device that stores tokens differently.

Sandbox API

What sandbox_session grants access to.
Last modified on August 29, 2026