auth

Cli Auth Poll

Poll a CLI session (no auth; the device_code is the bearer secret).

Returns the API key exactly once — on the first poll after approval — then nulls it and marks the session consumed. Subsequent polls never re-expose it. Expired/unknown sessions report their status so the CLI can stop.

post/v1/auth/cli/poll

Request body

device_codestring required

Response

Successful Response

statusstring required
api_keystring nullable

Changes

No recorded changes to this endpoint across all 1 revision of this API.