auth

Atomically exchange code and PKCE verifier for the rotated CLI bearer.

Changed on
post/api/v1/auth/cli-reauth/redeem

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/auth/cli-reauth/redeem
  • Auth: none required

Request body

codestring required
pkce_verifierstring required

Response

Rotated bearer disclosed once to the initiating shell.

session_idstring required

A prefixed UUIDv7, e.g. org_0198….

session_tokenstring required

Rotated CLI bearer. Client stores it silently and never prints or logs it.

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • warning

      added the new payload_too_large enum value to the / response property for the response status

    • warning

      added the new payload_too_large enum value to the / response property for the response status

    • warning

      added the new payload_too_large enum value to the / response property for the response status

    • warning

      added the new payload_too_large enum value to the / response property for the response status

    • warning

      added the new payload_too_large enum value to the / response property for the response status

    • warning

      added the new unprocessable enum value to the / response property for the response status

    • warning

      added the new unprocessable enum value to the / response property for the response status

    • warning

      added the new unprocessable enum value to the / response property for the response status

    • warning

      added the new unprocessable enum value to the / response property for the response status

    • warning

      added the new unprocessable enum value to the / response property for the response status