Manage Codex API upstream
Save profiles with clovapi add, then apply with clovapi switch for Codex — official subscriptions or third-party APIs.
Install CLI
$
npm i -g @clovapi/cli$
clovapi add --name prod$
clovapi switch --cli codex prodAutomatic API format
When switching to Codex, clovapi picks the upstream protocol that CLI expects.
openai-responses
/v1/responses · OpenAI Responses API, preferred by Codex and related agents.