API keys
Team API keys (`xk_…`): Xeonr Auth API keys owned by the team, carrying one team and a role capped at editor. Admin only, and not callable with an API key.
postCreate Token
Creates a key owned by the team and returns its secret in `token_secret`. That is the only time the value exists — Xeonr Auth keeps only its hash — so there is no method that can return it again. The role is capped at editor whatever is asked for, and becomes the key's burrow scopes. Needs the admin role. **Required scopes:** `burrow:tokens:admin`
postDelete Token
Revokes a key. Anything presenting it is unauthenticated within 30 seconds — the verifier's cache TTL. Needs the admin role. **Required scopes:** `burrow:tokens:admin`
postList Tokens
Lists a team's API keys, newest first, paged with an opaque cursor. Revoked keys are left out unless `include_revoked` is set. The secret is never returned. Needs the admin role. **Required scopes:** `burrow:tokens:admin`
List Sessions POST
Lists a team's agent sessions, newest first, paged with an opaque cursor over (started_at, id). A session with no `ended_at` was still connected at the last write — which, after a gateway is killed without draining, can outlive the connection itself. **Required scopes:** `burrow:audit:read`
Create Token POST
Creates a key owned by the team and returns its secret in `token_secret`. That is the only time the value exists — Xeonr Auth keeps only its hash — so there is no method that can return it again. The role is capped at editor whatever is asked for, and becomes the key's burrow scopes. Needs the admin role. **Required scopes:** `burrow:tokens:admin`