auth
Cli Auth Approve
Approve a pending CLI session for the authenticated user.
Called by the /connect page through the web proxy, so the caller is the logged-in user (resolved by get_current_org). Mints a fresh, labeled API key for that user, stamps it onto the session, and marks it approved. The raw key is stored on the session only until the CLI's next poll retrieves it (single-use), never exposed to the browser.
post/v1/auth/cli/approve
Request
- Base URLhttps://api.roxels.ai (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.