REST API
Auth Info
Report whether the gateway requires an auth token.
Returns whether BG_TOKEN is set. Used by the dashboard to decide whether to show the login screen.
Endpoints
| Method | Path | Description |
|---|---|---|
GET | /v1/auth/info | Returns the configured BG_TOKEN only to dashboard callers that present the bg_session cookie. Bearer callers get authEnabled: true without the token. they already know it, and refusing to echo it limits the blast radius of any future API leak (proxy logs, accidental forwarding). |