v1

latestOpenAPI 3.1.02026-08-0413468163.9 KB
v1-cli

Cli Auth Complete

Complete CLI auth after OAuth.

Called by frontend after successful OAuth. Creates an API key and updates the session so CLI can retrieve it.

Handles new users by auto-creating a personal org.

Requires: Authenticated user (Supabase JWT)

Body: session_id: Session ID from CLI

post/v1/cli/auth/complete

Response

Successful Response

{"stackTrail":"paths:/v1/cli/auth/complete:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}