CLI pairing
The browser pairing flow behind `renza login`: start a pairing, approve it in the browser on the auth origin, poll to collect the minted org-scoped key. Documented for completeness — the CLI drives this for you.
Begin CLI browser pairing
POST/v1/public/auth/cli/start
Public. Starts a device pairing for `renza login`: returns a secret `device_code` (poll with it) and a short `user_code` + browser URL where the user approves it — minting a user key that acts as them.
Public — no authentication required. Supports idempotency keys.
Powers the `renza login` browser pairing flow; not called directly.
Poll a CLI pairing
POST/v1/public/auth/cli/poll
Public. The CLI polls with its `device_code`. While the user hasn't acted → `pending`; once approved → `approved` with the one-time `api_key` (the pairing is then consumed); else `denied` / `expired`.
Public — no authentication required. Supports idempotency keys.
Powers the `renza login` browser pairing flow; not called directly.
Body parameters
device_codestringrequired
Returns
200The current pairing status (and the key once approved).
Failures use the standard error envelope with a closed set of codes.