Sign in

POST /v1/auth
Authenticate using a public key and cryptographic signature. Request body:
FieldTypeDescription
publicKeystringYour Ed25519 public key (hex)
signaturestringSignature of the challenge (hex)
challengestringThe challenge string that was signed
deviceInfoobjectOptional device metadata
Response:
{
  "success": true,
  "token": "eyJhbG..."
}

Request terminal authentication

POST /v1/auth/request
Request authentication from a terminal session (used for QR code flow). This endpoint is used by the mobile app to initiate authentication with a CLI session via QR code scanning.