T

treg CLI

CLI discovered

Details
Command
treg
Docs
https://treg.to/llms.txt
Authentication
Treg API token bearer discovered Get token ↗
$ treg login --token <token>

For agents/CI, mint or obtain a team-scoped token with the treg CLI (treg org create, treg org join, or treg org agent-new <name> as referenced in llms.txt and integrate.md). Human users can also sign in with treg login (GitHub OAuth, email one-time code, or --token) and then use the resulting token. Send the token as X-Treg-Token for HTTP calls or Authorization: Bearer for MCP; identity tokens may also require X-Treg-Org: <team-slug> unless pinned to an org.