v1

Cli Auth Start

Start a device-code auth flow for the CLI.

Unauthenticated: the CLI has no credential yet — that's what it's obtaining. The human authorizes out-of-band in the dashboard.

post/v1/auth/cli/start

Request

  • Base URL
    https://api.ellipsis.dev
  • URL
    https://api.ellipsis.dev/v1/auth/cli/start
  • Auth
    none declared

Response

Successful Response

device_codestring required

The secret the CLI polls with. Never shown to the human.

expires_ininteger required

Seconds until the flow expires and a new one must be started.

intervalinteger required

Minimum seconds to wait between polls.

user_codestring required

The short code the human enters (or confirms) in the dashboard.

verification_uristring required

The dashboard page where the human approves the flow.

verification_uri_completestring required

The approval page with the user code pre-filled — open this directly.

Changes

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