Auth & Key Management
Login (exchange for token)
Exchange the master key for a short-lived API token.
POST
Creates a short-lived API token by exchanging the master key. Useful for granting temporary access without sharing the master key itself.
The returned token works with all authenticated endpoints (execution, file I/O, sessions) but not with admin endpoints that require the master key (key management).
Requires the master key. DB-backed auth must be enabled.
Tokens created via login are regular DB-backed keys internally. They appear in
GET /auth/keys and can be revoked with DELETE /auth/keys/:id.