CLI Auth
Exchange a CLI authorization code for an API key
Changed onCompletes the CLI browser-login flow: verifies the single-use authorization code and its PKCE code_verifier, then mints and returns the approved API key exactly once.
post/v1/cli/auth/token
Request
- Base URLhttps://api.roark.ai
- URLhttps://api.roark.ai/v1/cli/auth/token
- AuthHTTP bearer
Request body
Response
The minted API key
Changes
- breaking
the response property
/became nullable for the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- breaking
- info
endpoint added
- info