T
treg HTTP API
Details
- URL
-
https://treg.to - Docs
- https://treg.to/docs
Authentication
X-Treg-Token: <credential> 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.