Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

login

Sign in to share traces and use workspace Messages as your Halfspan user.

Usage

span login
The CLI prints a sign-in URL and opens it in your browser. Sign in, review the account and workspace, and choose Connect CLI. Return to the terminal for confirmation. If the browser does not open, open the printed URL manually.
The approval link expires after 10 minutes. Cancel in the browser or press Ctrl+C to stop the attempt. Run span login again to retry.

Options

OptionDescription
-h, --helpPrint login help.

Examples

span login span auth status span traces
The connection belongs to the approved user and workspace and expires after 30 days. To switch accounts or workspaces, run logout, sign into the intended account in the browser, and run span login again.
See authentication for saved-session storage, permissions, and automation credentials.

Development dashboards

Development builds made with just cli or just go-build also accept --url DASHBOARD_URL and the HALFSPAN_DASHBOARD_URL default:
just cli login --url http://localhost:4300
Use an origin without a path, query, or fragment. Production downloads connect to https://app.halfspan.com and do not accept --url.