List Auth Tokens
List all agent auth tokens of your active account. These are the credentials the agent logs in with (ngris auth --token or the API_TOKEN environment variable). Distinct from account-level API keys (used for REST authentication via X-API-KEY). An agent can also log its tunnel in with a key instead of a token: see agent keys (Preview).
Account scope: agent auth tokens belong to your active account and are shared with its members per your role's permissions. Use switch account to manage tokens in a different account.
A token can be bound to a specific endpoint or tunnel — the tunnel-server validates the binding at handshake and rejects if mismatched. Unbound tokens (no endpoint_uuid) work for any endpoint owned by the user; useful for ephemeral / one-shot tunnels created via ngris.connect().
Query parameters
total, page and page_size; when omitted, every token is returned.page is sent. Default 15, capped at 200.description.status (active or revoked).endpoint (bound to an endpoint), tunnel (bound to a tunnel) or any (unbound).Response (200 OK)
created_at DESC. [] when there are none.page was sent: the number of matching tokens across all pages, the page returned and the effective page size."****": the token is stored only as a hash and can't be shown again. The full token is returned once, by create.active | revoked. Revoked tokens are kept in the table for audit purposes but won't authenticate.Deprecated: until the sunset this response also carries the legacy integer id and *_id fields. Don't use them; read uuid and the *_uuid fields.