Skip to main content
POST
Import Codex CODEX_HOME after the human authorizes

Authorizations

Authorization
string
header
required

Runtime context-key (rctx_*) issued by the Ravi gateway. Required for every non-open scope. Bootstrap the first key with ravi daemon init-admin-key; rotate, derive, and revoke via the ravi context family. Specs: runtime/context-keys, sdk/auth.

Body

application/json
agents
string

Comma-separated agent allowlist (default: main)

id
string

Login id from start

label
string

Credential label (default: codex-home)

setProvider
boolean

Also run agents.set provider codex

Response

Success — body conforms to the @Returns schema.

agents
object[]
required
credential
object
required
credentialCreated
boolean
required
login
object
required