OpenAPI 3.1.02026-08-18856183.8 KB
64da737bcc9e
Whoami Endpoint
Return the authenticated user and token-selected org, if any.
Same JWT shape as /api/auth/me — accessible from the CLI via the Bearer access_token issued by /oauth/token. Used both as codag whoami and as the post-login validation step in codag setup.
get/v1/whoami
Response
Successful Response