Infrastructure

Api Auth Verify Device

Verify a device code by entering the user_code shown in the CLI.

Called from the web dashboard after the user logs in and enters their code. Requires a valid session (cookie or bearer token) so the CLI token can be tied to the authenticated user. Falls back to creating an anonymous session when no user context is available (e.g. first-time sign-up via device flow).

post/api/auth/verify

Request body

user_codestring required

Response

Successful Response

{"stackTrail":"paths:/api/auth/verify:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes