v6

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01485121699.8 KB
authentication

Device Code Request

Initiate device authorization flow for CLI login.

The CLI calls this to get a device_code and user_code. The user enters the user_code in the web dashboard after SSO login to authorize the CLI session.

post/auth/cli/device

Request body

client_namestring

Response

Successful Response

device_codestring required
user_codestring required
verification_uristring required
expires_ininteger required
intervalinteger required