| POST |
/api/auth/setup |
Initial bootstrap configuration with optional 2FA |
Setup Nonce |
| POST |
/api/auth/setup/skip-2fa |
Complete initial station bootstrap without 2FA |
Setup Nonce |
| POST |
/api/auth/login |
Sign in with username and master passphrase |
No |
| POST |
/api/auth/logout |
Terminate session and invalidate auth cookies |
Yes |
| GET |
/api/auth/status |
Verify active session, user profile, and 2FA status |
Yes |
| GET |
/api/auth/session |
Inspect active session token and expiry |
Yes |
| GET |
/api/auth/config |
Query public authentication feature & provider availability |
No |
| POST |
/api/auth/2fa/verify |
Submit 6-digit TOTP verification code |
In-Challenge |
| POST |
/api/auth/2fa/backup |
Submit and burn emergency single-use recovery code |
In-Challenge |
| POST |
/api/user/2fa/enroll |
Initiate authenticated self-service TOTP 2FA enrollment |
Yes |
| POST |
/api/user/2fa/confirm |
Confirm TOTP code, activate 2FA, and mint backup codes |
Yes |
| POST |
/api/user/2fa/disable |
Deactivate 2FA with master password and CSRF validation |
Yes |
| POST |
/api/auth/passkey/login-challenge |
Request WebAuthn authentication assertion challenge |
No |
| POST |
/api/auth/passkey/login-verify |
Verify client biometric/hardware passkey assertion |
In-Challenge |
| POST |
/api/auth/passkey/register-challenge |
Request WebAuthn credential registration options |
Yes |
| POST |
/api/auth/passkey/register-verify |
Verify and enroll WebAuthn hardware passkey |
Yes |
| GET |
/api/auth/passkey/status |
Query station passkey availability status |
No |
| POST |
/api/auth/password-reset/request |
Request password reset token via email or console |
No |
| GET |
/api/auth/password-reset/verify |
Verify validity of password reset token |
No |
| POST |
/api/auth/password-reset/confirm |
Confirm password rotation with cryptographic token |
No |
| POST |
/api/auth/verify-email/request |
Dispatch email confirmation verification link |
No / Yes |
| GET |
/api/auth/verify-email/confirm |
Confirm email verification token and update account status |
No |
| GET |
/api/user/profile |
Retrieve operator profile, email, PGP keys, timezone |
Yes |
| POST |
/api/user/profile |
Update operator profile, timezone, PGP/SSH keys, variables |
Yes |
| GET |
/api/user/passkey |
List registered passkey credentials for current user |
Yes |
| POST |
/api/user/passkey |
Update or enroll passkey credential metadata |
Yes |
| DELETE |
/api/user/passkey |
Revoke passkey credential |
Yes |
| GET |
/api/user/api-keys |
List personal scoped API keys |
Yes |
| POST |
/api/user/api-keys |
Create scoped API key (Rate limited: 10/min) |
Yes |
| DELETE |
/api/user/api-keys |
Revoke personal API key |
Yes |
| POST |
/api/user/jwt/mint |
Mint scoped HS256 / EdDSA JWT token |
Yes |
| POST |
/api/user/jwt/verify |
Validate and inspect JWT token signature |
Yes |
| GET |
/api/user/federated-identities |
List linked federated OAuth/OIDC accounts |
Yes |
| DELETE |
/api/user/federated-identities/:provider |
Unlink federated identity (with fallback defense) |
Yes |
| GET |
/api/admin/users |
List all registered sovereign users |
Admin |
| POST |
/api/admin/users |
Provision new managed operator or admin account |
Admin |
| PUT |
/api/admin/users/:id/role |
Update user role with sole-admin defense |
Admin |
| POST |
/api/admin/users/:id/suspend |
Suspend user account and invalidate active sessions |
Admin |
| POST |
/api/admin/users/:id/unsuspend |
Re-activate suspended account |
Admin |
| DELETE |
/api/admin/users/:id |
Remove user account with sole-admin defense |
Admin |
| POST |
/api/admin/backup-codes/generate |
Generate emergency recovery codes batch |
Admin |
| GET |
/api/admin/password-resets |
List pending unexpired password reset tokens |
Admin |
| GET |
/api/admin/replication/status |
SQLite continuous replication node status & LSN |
Admin |
| GET |
/api/admin/replication/journal |
Stream SQLite replication WAL changeset journal |
Admin |
| POST |
/api/admin/replication/apply |
Apply replication changeset on standby node |
Admin |
| GET |
/api/admin/audit/stream |
Real-time Server-Sent Events (SSE) audit trail feed |
Admin |
| GET |
/api/admin/mail/config |
Retrieve sanitized transactional mail configuration and active provider |
Admin |
| POST |
/api/admin/mail/config |
Persist and hot-reload mail configuration with CSRF & secret masking |
Admin |
| POST |
/api/admin/mail/test |
Dispatch live signed diagnostic test email through active pipeline |
Admin |
| POST |
/api/auth/reset |
Factory reset station and purge all SQLite state |
Admin Only |
| GET |
/api/settings |
Retrieve user preferences and theme variables |
Yes |
| POST |
/api/settings |
Save user preferences and theme variables |
Yes |
| GET |
/api/consent |
Check GDPR and telemetry consent status |
No |
| POST |
/api/consent |
Update consent preferences (Rate limited: 20/min) |
No |