sid cookie set after the
user authenticates.
Session cookie
After a successful sign-in (any path), the server sets:- HttpOnly — JavaScript can’t read it; XSS can’t exfiltrate it
- Secure — never sent over plain HTTP
- SameSite=Lax — sent on top-level navigations, not in cross-site iframes
- Max-Age — 30 days, sliding (refreshes on each authenticated request)
sid value from DevTools → Application → Cookies on
gpuoutlet.ai if you need to script against the API as yourself.
Email OTP flow
intentisloginorsignup. Used for: rate-limiting policy, signup- specific telemetry, and the welcome screen heuristic.createdin the request-code response tells the client whether this is a brand-new account (true) or an existing one (false). The dashboard uses it to skip the new-user welcome flow for returning users.
OAuth (Google, GitHub)
If the email isn’t verified at the provider, we 302 to/login?error=oauth_no_email.
Logging out
sid return 401.
Getting the current user
Response (signed in)
Response (signed out)
Cross-origin requests
The API enforcesOrigin checks on every mutating endpoint. If you’re
calling from a custom domain, contact us to whitelist it. For typical use
(dashboard, server-to-server with the user’s cookie), there’s nothing to
configure.