Every sandbox pod exposes aDocumentation Index
Fetch the complete documentation index at: https://litellmagentplatform-fix-document-harness-auth-token.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
/tty WebSocket endpoint that the lap CLI and browser terminal attach to. Access is gated by a shared secret — HARNESS_AUTH_TOKEN.
Why it exists
AWS ALB (and most corporate proxies) stripAuthorization headers from WebSocket upgrade requests. A header-only auth scheme would silently fail behind a load balancer. The harness accepts the token as a ?token= query parameter instead, which survives the upgrade.
How it flows
HARNESS_AUTH_TOKEN is absent from the platform env, tty_token in the session response is null — the CLI connects with no token and the harness returns 401.
Bootstrap
The deploy pipeline seedsHARNESS_AUTH_TOKEN automatically on first deploy. For existing clusters, set it once:
Rotating the token
- Generate a new value:
openssl rand -hex 32 - Update the secret and restart web + worker (same commands as bootstrap above).
- All new sessions pick up the new token immediately.
- Any active session (already
ready) holds the old token in itstty_tokenfield — those sessions will stop accepting TTY connections after the rotation until restarted.