OpenCodexのocxコマンド辞典

OpenCodex v2.100.7のocxコマンドと引数を目的別に検索し、変更の有無、JSON出力、利用条件を確かめるCLI索引。

OpenCodex v2.100.7のコマンドを探すための索引です。移行時の比較対象はv2.100.5です。公開された最上位コマンドの名前は両版で共通です。公式の機能宣言のうち、このページで構文と引数を扱うのは旧版で396件、v2.100.7で402件です。 版の比較 · CLIの公式資料

自分の環境で引数を確かめる

まず、自分の端末で実行されるCLIの版を調べます。コマンドを調べるときは、子コマンドの名前まで指定してヘルプを読みます。JSONを使うスクリプトでは、そのコマンドがJSON出力に対応しているか確認します。 v2.100.5のヘルプの階層 · v2.100.5の終了コード

ocx --version
ocx help status
ocx help config validate
ocx capabilities --json
よく使う入口 主な条件と結果
ocx status --json 実行中のプロキシとCLIの状態をJSONで返す。認証や生成応答は経路ごとに確認
ocx resolve --json 設定ホーム、実効ポート、生存の判定を確認。終了1は判定不能
ocx ready カタログを含む準備状態を確認
ocx config validate 設定ファイルの構文と受け入れ条件を調べる
ocx api explain --model deepseek/deepseek-flash --inbound responses --json 入力形式と選択したモデルから、上流へ送信する前に経路を調べる
ocx start / ocx stop プロキシを起動・停止する。停止の終了コード79はCodexの履歴整理が未完了、80は共有設定の復元などの終了処理が保留。プロキシの管理元も確認する
ocx restore [back] 通常は管理対象のCodex設定を復元。back は稼働中のプロキシに再接続する操作

コマンドを続けて実行する場合は、終了コードと実行結果の両方を確認します。変更のリクエストが届いたか分からないときは、再実行の前に読み取りコマンドで現在の状態を確かめます。 v2.100.5のライフサイクル · v2.100.5のプロトコル経路

トップレベルの入口

用途 公開の名前
準備・起動・停止 init、start、stop、restore、recover-history、uninstall、service、codex-shim、tray、sync、sync-cache、catalog、doctor、gui、update、restart、health、ready、resolve
プロバイダー・モデル login、provider、account、alias、models
振り分け・エージェント advisor、companion、combo、route、effort、fallback、agent、v2
クライアント連携 codex-provider、export、grok、integration、claude、codex、opencode、mcode、mmx、zcode、commandcode、cmd
ログ・運用・設定 debug、observe、inspect、logs、usage、storage、config、system、telemetry、capabilities
接続・アクセス connect、link、remote-workspace、disconnect、hub、access、api、message
条件付きの機能 chatgpt、lab。対応版、OS、設定を個別に確認
公開の別名 setup → init、eject → restore、remove → uninstall、model → models
別に実装された入口 logout、ensure、status、api-key、memory。ヘルプとバージョン表示は起動時の引数処理にもある

公開トップレベル登録のほかに、UIやランチャーから使う非公開登録が7行あります。利用手順の互換性は公開ヘルプで確認します。下の宣言表にない子コマンドは、同じ版のヘルプとCLI分冊を個別に照合してください。 トップレベルの一覧 · コマンドの振り分け

運用者本人が扱う操作

公式資料は次の3件を運用者本人が扱う操作に分類しています。教材、ログ収集、実行検証の対象外とし、402件の公開機能宣言とは別に名前と出典を掲載します。

公開機能宣言の索引

公開された402件の実行パスを ocx capabilities --json のフラグ、型、必須指定、状態変更、管理APIに対応させています。設定や確認入力は、同じ版の子コマンドのヘルプを参照します。変更なしの診断にも通信やクォータ更新を伴う場合があります。

接続・リモート(53件)

コマンドと構文 フラグ・型 変更・JSON ローカル管理API
link probe
ocx link probe <alias> [--proxy-command <cmd> --ssh-user <user> --ssh-port <port> [--ssh-identity-file <path>]] [--exclusive] [--json]
--proxy-command string(任意)、--ssh-user string(任意)、--ssh-port number(任意)、--ssh-identity-file string(任意)、--exclusive boolean(任意)、--json boolean(任意) 変更あり/JSON payload POST /api/link/probe
link add
ocx link add <alias> [--expect-fingerprint SHA256:…] [--proxy-command <cmd> --ssh-user <user> --ssh-port <port> [--ssh-identity-file <path>]] [--exclusive] [--operation-id <id>] [--require-ephemeral] [--json]
--expect-fingerprint string(任意)、--proxy-command string(任意)、--ssh-user string(任意)、--ssh-port number(任意)、--ssh-identity-file string(任意)、--exclusive boolean(任意)、--operation-id string(任意)、--require-ephemeral boolean(任意)、--json boolean(任意) 変更あり/JSON payload POST /api/link/probe、POST /api/link/confirm-host、POST /api/link/apply
link port
ocx link port [--json]
--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
link status
ocx link status [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/link/status
link diagnostics
ocx link diagnostics [--limit <n>] [--since <iso-time&#124;epoch-ms>] [--json]
--limit number(任意)、--since string(任意)、--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
link revoke
ocx link revoke --link-id <id> [--force --yes] [--operation-id <id>] [--json]
--link-id string(必須)、--json boolean(任意)、--force boolean(任意)、--yes boolean(任意)、--operation-id string(任意) 変更あり/JSON envelope DELETE /api/link/{id}
link recover
ocx link recover (--link-id <id> &#124; --operation-id <id>) [--json] &#124; --list [--json] &#124; --forget --link-id <id> --yes [--json]
--link-id string(任意)、--operation-id string(任意)、--list boolean(任意)、--forget boolean(任意)、--yes boolean(任意)、--json boolean(任意) 変更あり/JSON envelope POST /api/link/recover、GET /api/link/recover
link reconnect
ocx link reconnect --link-id <id> [--json]
--link-id string(必須)、--json boolean(任意) 変更あり/JSON envelope POST /api/link/{id}/reconnect
link cleanup
ocx link cleanup [--link-id <id>] [--json]
--link-id string(任意)、--json boolean(任意) 変更なし/JSON payload 対象の管理APIなし
remote-workspace pair
ocx remote-workspace pair <hub-url> --pairing-code-stdin --root <absolute-path> [--root <absolute-path> ...] [--toolchain-root <absolute-directory> ...] [--executor-helper <absolute-file>] [--name <device-name>] [--json]
--json boolean(任意)、--pairing-code-stdin boolean(任意)、--root string(任意)、--toolchain-root string(任意)、--executor-helper string(任意)、--name string(任意) 変更あり/JSON payload 対象の管理APIなし
remote-workspace agent
ocx remote-workspace agent
なし 変更あり/JSON none 対象の管理APIなし
remote-workspace status
ocx remote-workspace status [--json]
--json boolean(任意) 変更なし/JSON payload 対象の管理APIなし
connect rotate
ocx connect rotate
--pairing-code-stdin boolean(任意)、--admin-token-stdin boolean(任意)、--json boolean(任意) 変更あり/JSON payload POST /api/keys/rotate、POST /api/keys/rotate/commit、DELETE /api/keys/rotate
api protocols
ocx api protocols [--provider <name>] [--json]
--provider string(任意)、--json boolean(任意) 変更なし/JSON payload GET /api/protocols
api explain
ocx api explain --model <id> --inbound <responses&#124;chat&#124;messages> [--feature <key>[,<key>]]... [--json]
--model string(必須)、--inbound string(必須)、--feature string(任意)、--json boolean(任意) 変更なし/JSON payload POST /api/protocols/plan
api policy
ocx api policy [--messages <on&#124;off>] [--unrepresentable <legacy&#124;reject>] [--rollout <switch>=<on&#124;off>]... [--json]
--messages string(任意)、--unrepresentable string(任意)、--rollout string(任意)、--json boolean(任意) 変更あり/JSON payload GET /api/protocols、PATCH /api/protocols/settings
connect antigravity
ocx connect antigravity [--model <id>] [--json]
--model string(任意)、--json boolean(任意) 変更あり/JSON payload POST /api/gateway-clients/{id}/connect
connect agy
ocx connect agy [--json]
--json boolean(任意) 変更あり/JSON payload POST /api/gateway-clients/{id}/connect
connect antigravity status
ocx connect antigravity&#124;agy status [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/gateway-clients
disconnect antigravity
ocx disconnect antigravity&#124;agy [--json]
--json boolean(任意) 変更あり/JSON payload POST /api/gateway-clients/{id}/disconnect
disconnect
ocx disconnect [--keep-catalog] [--recover-config --yes] [--json] [--expect-link <linkId>] &#124; ocx disconnect --orphaned-token --yes [--json]
--keep-catalog boolean(任意)、--recover-config boolean(任意)、--expect-link string(任意)、--orphaned-token boolean(任意)、--yes boolean(任意)、--json boolean(任意) 変更あり/JSON payload 対象の管理APIなし
hub disable
ocx hub disable [--revoke-clients --client-key <id> ...] [--json]
--revoke-clients boolean(任意)、--client-key string(任意)、--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
access key
ocx access key list [--json]
--json boolean(任意) 変更あり/JSON payload GET /api/keys、POST /api/keys、PATCH /api/keys、DELETE /api/keys、POST /api/keys/rotate、POST /api/keys/rotate/commit、DELETE /api/keys/rotate
access key list
ocx access key list [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/keys
access key get
ocx access key get <id-or-name> [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/keys
access key set
ocx access key set <id-or-name> [--allow-provider <name>]... [--allow-model <id>]... [--clear] [--json]
--allow-provider string(任意)、--allow-model string(任意)、--clear boolean(任意)、--json boolean(任意) 変更あり/JSON payload GET /api/keys、PATCH /api/keys
access key rotate commit
ocx access key rotate commit <id> <rotation-id> [--json]
--json boolean(任意) 変更あり/JSON payload POST /api/keys/rotate/commit
access key rotate abort
ocx access key rotate abort <id> <rotation-id> [--json]
--json boolean(任意) 変更あり/JSON payload DELETE /api/keys/rotate
access key remove
ocx access key remove <id> --yes [--json]
--yes boolean(必須)、--json boolean(任意) 変更あり/JSON payload DELETE /api/keys
access endpoints
ocx access endpoints [--json]
--json boolean(任意) 変更なし/JSON envelope GET /api/keys
access models
ocx access models [--json]
--json boolean(任意) 変更なし/JSON payload 対象の管理APIなし
access test
ocx access test <model> [--protocol <chat&#124;responses&#124;messages>] [--api-key-stdin] [--json]
--protocol string(任意)、--json boolean(任意)、--api-key-stdin boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
remote-workspace hub status
ocx remote-workspace hub status [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/remote-workspace
remote-workspace hub runtimes
ocx remote-workspace hub runtimes [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/remote-workspace/runtimes
remote-workspace hub sessions
ocx remote-workspace hub sessions [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/remote-workspace/sessions
access key rename
ocx access key rename <id-or-name> <name> [--json]
--json boolean(任意) 変更あり/JSON payload GET /api/keys、PATCH /api/keys
access audio transcribe
ocx access audio transcribe <file> --model <gpt-4o-transcribe&#124;gpt-4o-mini-transcribe&#124;whisper-1> --api-key-stdin [--json]
--model string(必須)、--api-key-stdin boolean(必須)、--json boolean(任意) 変更あり/JSON payload 対象の管理APIなし
access audio live-check
ocx access audio live-check --model <id> --api-key-stdin [--json]
--model string(必須)、--api-key-stdin boolean(必須)、--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
link check
ocx link check (--link-id <id> &#124; --all) [--no-wait] [--json]
--link-id string(任意)、--all boolean(任意)、--no-wait boolean(任意)、--json boolean(任意) 変更あり/JSON payload POST /api/link/children/operations、GET /api/link/children/jobs/{jobId}
link update
ocx link update (--link-id <id> &#124; --all) --yes [--no-wait] [--json]
--link-id string(任意)、--all boolean(任意)、--yes boolean(必須)、--no-wait boolean(任意)、--json boolean(任意) 変更あり/JSON payload POST /api/link/children/operations、GET /api/link/children/jobs/{jobId}
link sync
ocx link sync (--link-id <id> &#124; --all) [--no-wait] [--json] &#124; ocx link sync --link-id <id> (--restart-app-server-only &#124; --restart-codex --yes) [--ignore-activity] [--no-wait] [--json]
--link-id string(任意)、--all boolean(任意)、--restart-app-server-only boolean(任意)、--restart-codex boolean(任意)、--yes boolean(任意)、--ignore-activity boolean(任意)、--no-wait boolean(任意)、--json boolean(任意) 変更あり/JSON payload POST /api/link/children/operations、GET /api/link/children/jobs/{jobId}
link restart-codex
ocx link restart-codex --link-id <id> [--scope app-server&#124;codex] --yes [--ignore-activity] [--no-wait] [--json]
--link-id string(必須)、--scope string(任意)、--yes boolean(必須)、--ignore-activity boolean(任意)、--no-wait boolean(任意)、--json boolean(任意) 変更あり/JSON payload POST /api/link/children/operations、GET /api/link/children/jobs/{jobId}
link capture start
ocx link capture start [--minutes <1-60>] [--json]
--minutes number(任意)、--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
link capture stop
ocx link capture stop [--json]
--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
link capture status
ocx link capture status [--json]
--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
link policy
ocx link policy [--updates off&#124;notify&#124;auto-when-idle] [--catalog-fanout auto&#124;manual] [--child-codex-restart never&#124;app-server-when-idle] [--idle-after-minutes <1-60>] [--json]
--updates string(任意)、--catalog-fanout string(任意)、--child-codex-restart string(任意)、--idle-after-minutes number(任意)、--json boolean(任意) 変更あり/JSON payload GET /api/link/children/policy、PUT /api/link/children/policy
link routes
ocx link routes --link-id <id> [--json]
--link-id string(必須)、--json boolean(任意) 変更なし/JSON payload GET /api/link/{id}/routes
link routes add
ocx link routes add --link-id <id> --route <alias> [--position <n>] [--json]
--link-id string(必須)、--route string(必須)、--position number(任意)、--json boolean(任意) 変更あり/JSON payload POST /api/link/{id}/routes
link routes remove
ocx link routes remove --link-id <id> --route <alias> [--json]
--link-id string(必須)、--route string(必須)、--json boolean(任意) 変更あり/JSON payload POST /api/link/{id}/routes
link routes order
ocx link routes order --link-id <id> --routes <alias,alias,...> [--json]
--link-id string(必須)、--routes string(必須)、--json boolean(任意) 変更あり/JSON payload POST /api/link/{id}/routes
link operations
ocx link operations [--operation-id <id>] [--json]
--operation-id string(任意)、--json boolean(任意) 変更なし/JSON payload GET /api/link/operations、GET /api/link/operations/{id}
link operations resolve
ocx link operations resolve --operation-id <id> --yes [--json]
--operation-id string(必須)、--yes boolean(必須)、--json boolean(任意) 変更あり/JSON payload POST /api/link/operations/{id}/resolve
link activity clear
ocx link activity clear --link-id <id> [--json]
--link-id string(必須)、--json boolean(任意) 変更あり/JSON payload POST /api/link/children/activity/clear

アカウント(44件)

コマンドと構文 フラグ・型 変更・JSON ローカル管理API
account login
ocx account login <provider> [--id <account-id>] [--reauth] [--device] [--method <builder-id&#124;google&#124;github>] [--code -] [--no-wait] [--open-browser <on&#124;off>] [--add-account <on&#124;off>] [--accept-antigravity-risk] [--json]
--id string(任意)、--reauth boolean(任意)、--device boolean(任意)、--method string(任意)、--code string(任意)、--no-wait boolean(任意)、--json boolean(任意)、--open-browser string(任意)、--add-account string(任意)、--accept-antigravity-risk boolean(任意) 変更あり/JSON payload POST /api/oauth/login、GET /api/oauth/status、POST /api/oauth/login/code、POST /api/codex-auth/login、GET /api/codex-auth/login-status、POST /api/codex-auth/login/code
account history
ocx account history openai <pool-account-id> [--limit <1-200>] [--json]
--json boolean(任意)、--limit number(任意) 変更なし/JSON payload GET /api/codex-auth/quota/history
account main reauth
ocx account main reauth --device [--no-wait] [--json]
--device boolean(任意)、--no-wait boolean(任意)、--flow string(任意)、--json boolean(任意) 変更あり/JSON payload POST /api/codex-auth/main/reauth-device、GET /api/codex-auth/main/reauth-device、DELETE /api/codex-auth/main/reauth-device
account list
ocx account list [provider] [--all] [--quota [--refresh]] [--json]
--all boolean(任意)、--quota boolean(任意)、--refresh boolean(任意)、--json boolean(任意) 変更なし/JSON envelope GET /api/oauth/providers、GET /api/codex-auth/accounts、GET /api/codex-auth/active、GET /api/oauth/accounts、GET /api/providers/keys
account import-orca
ocx account import-orca --source <orca-data-directory> --registry <orca-data.json> [--apply] [--json]
--source string(必須)、--registry string(必須)、--apply boolean(任意)、--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
account refresh
ocx account refresh <provider> [--json]
--json boolean(任意) 変更あり/JSON envelope POST /api/codex-auth/accounts/refresh、GET /api/codex-auth/active、GET /api/provider-quotas
account grok-reset-coupons
ocx account grok-reset-coupons [account-id] [--consume --yes [--token-id <token-id>] [--operation-id <uuid>]] [--json]
--consume boolean(任意)、--yes boolean(任意)、--token-id string(任意)、--operation-id string(任意)、--json boolean(任意) 変更あり/JSON payload GET /api/grok/reset-coupons、POST /api/grok/reset-coupons/consume
account pause
ocx account pause <provider> <account-id&#124;alias&#124;main> [--json]
--json boolean(任意) 変更あり/JSON envelope GET /api/codex-auth/accounts、PUT /api/codex-auth/accounts/pause、GET /api/oauth/accounts、PUT /api/oauth/accounts/pause、GET /api/providers/keys、PUT /api/providers/keys/pause
account resume
ocx account resume <provider> <account-id&#124;alias&#124;main> [--if-healthy] [--json]
--if-healthy boolean(任意)、--json boolean(任意) 変更あり/JSON envelope GET /api/codex-auth/accounts、PUT /api/codex-auth/accounts/pause、GET /api/oauth/accounts、PUT /api/oauth/accounts/pause、GET /api/providers/keys、PUT /api/providers/keys/pause
account pause-exhausted
ocx account pause-exhausted <provider> [--json]
--json boolean(任意) 変更あり/JSON envelope PUT /api/codex-auth/accounts/pause-exhausted
account strategy
ocx account strategy <provider> [quota&#124;round-robin&#124;fill-first&#124;reset-near-weighted&#124;least-loaded&#124;reset-first] [--json]
--json boolean(任意) 変更あり/JSON envelope GET /api/pool/settings、PUT /api/pool/settings
account sticky
ocx account sticky <provider> [1-100] [--json]
--json boolean(任意) 変更あり/JSON envelope GET /api/pool/settings、PUT /api/pool/settings
account routes
ocx account routes anthropic [--file <json-file>&#124;--clear] [--json]
--file string(任意)、--clear boolean(任意)、--json boolean(任意) 変更あり/JSON payload GET /api/pool/settings、PUT /api/pool/settings
account auto-switch
ocx account auto-switch <provider> <status&#124;on&#124;off&#124;threshold <0-100>&#124;inherit> [--account <id>] [--json]
--json boolean(任意)、--account string(任意) 変更あり/JSON envelope GET /api/codex-auth/active、PUT /api/codex-auth/auto-switch、GET /api/oauth/accounts/pool、PUT /api/oauth/accounts/pool、GET /api/oauth/accounts、PUT /api/oauth/accounts/auto-switch、GET /api/codex-auth/accounts
account reset-affinity
ocx account reset-affinity <anthropic&#124;anthropic2> [--json]
--json boolean(任意) 変更あり/JSON envelope PUT /api/oauth/accounts/affinity-reset
account preserve-signed-in
ocx account preserve-signed-in openai [on&#124;off&#124;status] [--apply-to-bound] [--json]
--apply-to-bound boolean(任意)、--json boolean(任意) 変更あり/JSON payload GET /api/codex-auth/preserve-signed-in、PUT /api/codex-auth/preserve-signed-in
logout
ocx logout <provider> [--live] [--json]
--live boolean(任意)、--json boolean(任意) 変更あり/JSON envelope POST /api/oauth/logout
account current
ocx account current <provider> [--json]
--json boolean(任意) 変更なし/JSON envelope GET /api/codex-auth/accounts、GET /api/codex-auth/active、GET /api/oauth/accounts、GET /api/providers/keys
account use
ocx account use <provider> <account-or-key-id&#124;alias&#124;main&#124;auto> [--json]
--json boolean(任意) 変更あり/JSON envelope GET /api/codex-auth/accounts、GET /api/codex-auth/active、PUT /api/codex-auth/active、PUT /api/oauth/accounts/active、PUT /api/providers/keys/active
account clear
ocx account clear <provider> [--json]
--json boolean(任意) 変更あり/JSON envelope PUT /api/codex-auth/active
account alias
ocx account alias <provider> <account-or-key-id&#124;alias> <display-name&#124;-> [--json]
--json boolean(任意) 変更あり/JSON envelope GET /api/codex-auth/accounts、PUT /api/codex-auth/accounts/alias、PUT /api/oauth/accounts/alias、PUT /api/providers/keys/alias
account priority
ocx account priority <provider> <account-id&#124;alias&#124;main> [<-100..100&#124;first&#124;earlier&#124;normal&#124;later&#124;last&#124;reset>] [--json]
--json boolean(任意) 変更あり/JSON envelope GET /api/codex-auth/accounts、GET /api/codex-auth/active、PUT /api/codex-auth/accounts/priority
account clear-cooldown
ocx account clear-cooldown <provider> <account-id&#124;alias&#124;main> [--json]
--json boolean(任意) 変更あり/JSON envelope GET /api/codex-auth/accounts、GET /api/oauth/accounts、POST /api/codex-auth/accounts/clear-cooldown、POST /api/oauth/accounts/clear-cooldown
account remove
ocx account remove <provider> <account-or-key-id&#124;alias> --yes [--json]
--yes boolean(必須)、--json boolean(任意) 変更あり/JSON envelope GET /api/codex-auth/accounts、GET /api/codex-auth/active、GET /api/oauth/accounts、GET /api/providers/keys、DELETE /api/codex-auth/accounts、DELETE /api/oauth/accounts、DELETE /api/providers/keys
account add-key
ocx account add-key <provider> [--label <label>] [--json]
--label string(任意)、--json boolean(任意) 変更あり/JSON envelope POST /api/providers/keys
account probe
ocx account probe google-antigravity [<account-id&#124;alias>] [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/oauth/accounts、POST /api/oauth/accounts/probe
account import
ocx account import google-antigravity --format cockpit-tools (--file <path>&#124;--stdin) [--accept-antigravity-risk] [--json]
--format string(必須)、--file string(任意)、--stdin boolean(任意)、--accept-antigravity-risk boolean(任意)、--json boolean(任意) 変更あり/JSON envelope POST /api/oauth/accounts/import
account reauth
ocx account reauth <provider> [--id <account-id>] [--device] [--code -] [--no-wait] [--open-browser <on&#124;off>] [--json]
--id string(任意)、--device boolean(任意)、--code string(任意)、--no-wait boolean(任意)、--json boolean(任意)、--open-browser string(任意) 変更あり/JSON payload POST /api/codex-auth/login、GET /api/codex-auth/login-status、POST /api/codex-auth/login/code、POST /api/oauth/login、GET /api/oauth/status、POST /api/oauth/login/code
account code
ocx account code <provider> [--flow <flow-id>] [--code -] [--json]
--flow string(任意)、--code string(任意)、--json boolean(任意) 変更あり/JSON payload POST /api/codex-auth/login/code、POST /api/oauth/login/code
account cancel
ocx account cancel <provider> [--flow <flow-id>] [--json]
--flow string(任意)、--json boolean(任意) 変更あり/JSON payload POST /api/codex-auth/login/cancel、POST /api/oauth/login/cancel
account reset-credits
ocx account reset-credits <account-id&#124;main> [--consume --yes [--operation-id <uuid>]] [--json]
--consume boolean(任意)、--yes boolean(任意)、--operation-id string(任意)、--json boolean(任意) 変更あり/JSON payload GET /api/codex-auth/reset-credits、POST /api/codex-auth/reset-credits/consume
account main doctor
ocx account main doctor [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/native-main-profiles/doctor
account main list
ocx account main list [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/native-main-profiles
account main register
ocx account main register <label> [--json]
--json boolean(任意) 変更あり/JSON payload POST /api/native-main-profiles/register
account main add
ocx account main add <label>
なし 変更あり/JSON none POST /api/native-main-profiles/stage、POST /api/native-main-profiles/stage/heartbeat、POST /api/native-main-profiles/stage/finish、POST /api/native-main-profiles/stage/cancel
account main reauth status
ocx account main reauth status --flow <id> [--json]
--flow string(必須)、--json boolean(任意) 変更なし/JSON payload GET /api/codex-auth/main/reauth-device
account main reauth cancel
ocx account main reauth cancel --flow <id> [--json]
--flow string(必須)、--json boolean(任意) 変更あり/JSON payload DELETE /api/codex-auth/main/reauth-device
account main switch
ocx account main switch <profile-id-or-label> --yes [--json]
--yes boolean(必須)、--json boolean(任意) 変更あり/JSON payload POST /api/native-main-profiles/switch
account main recover
ocx account main recover [--rollback --yes] [--json]
--rollback boolean(任意)、--yes boolean(任意)、--json boolean(任意) 変更あり/JSON payload POST /api/native-main-profiles/recover
account pool
ocx account pool <provider> [--enabled <on&#124;off>] [--threshold <0-100>] [--strategy <name>] [--sticky <1-100>] [--quota-window <five-hour&#124;weekly&#124;max-utilization>] [--json]
--enabled string(任意)、--threshold number(任意)、--strategy string(任意)、--sticky number(任意)、--quota-window string(任意)、--json boolean(任意) 変更あり/JSON envelope GET /api/pool/settings、PUT /api/pool/settings
account use-remaining
ocx account use-remaining openai <id&#124;alias&#124;main> <on&#124;off&#124;status> [--json]
--json boolean(任意) 変更あり/JSON envelope GET /api/codex-auth/accounts、GET /api/codex-auth/accounts/use-remaining、PUT /api/codex-auth/accounts/use-remaining
account credits
ocx account credits openai <id&#124;alias&#124;main> <on&#124;off> [--json]; ocx account credits openai --all <on&#124;off> [--json]
--all boolean(任意)、--json boolean(任意) 変更あり/JSON envelope GET /api/codex-auth/accounts、PUT /api/codex-auth/accounts/credits
account quota-activation
ocx account quota-activation openai <id&#124;alias&#124;main> --window <fiveHour&#124;weekly> <on&#124;off> [--json]
--window string(必須)、--json boolean(任意) 変更あり/JSON envelope GET /api/codex-auth/accounts、PUT /api/settings
account anthropic-reset-grants
ocx account anthropic-reset-grants [account-id] [--provider anthropic&#124;anthropic2] [--json]
--provider string(任意)、--json boolean(任意) 変更なし/JSON envelope GET /api/anthropic/reset-grants

エージェントとルーティング(71件)

コマンドと構文 フラグ・型 変更・JSON ローカル管理API
agent subagents force
ocx agent subagents force <model&#124;-> [--json]
--json boolean(任意) 変更あり/JSON payload PUT /api/subagent-models
agent request-user-input
ocx agent request-user-input [on&#124;off] [--json]
--json boolean(任意) 変更あり/JSON payload GET /api/codex-auth/features/default-mode-request-user-input、PUT /api/codex-auth/features/default-mode-request-user-input
agent roles
ocx agent roles [status] [--json]; ocx agent roles set <role> <model> [--effort <level>] [--json]; ocx agent roles suggest [--model <id>] [--apply] [--json]
--json boolean(任意)、--effort string(任意)、--model string(任意)、--apply boolean(任意) 変更あり/JSON payload GET /api/codex-agent-roles、PUT /api/codex-agent-roles/{role}、POST /api/codex-agent-roles/auto-assign
agent injection
ocx agent injection status [--json]; ocx agent injection set [--model <id&#124;->] [--effort <level&#124;->] [--prompt <text&#124;->] [--guidance <on&#124;off>] [--sync-codex-defaults <on&#124;off>] [--json]; ocx agent injection suggest <work description> [--model <id>] [--apply] [--json]
--json boolean(任意)、--model string(任意)、--effort string(任意)、--prompt string(任意)、--guidance string(任意)、--apply boolean(任意)、--sync-codex-defaults string(任意) 変更あり/JSON payload GET /api/injection-model、PUT /api/injection-model、POST /api/injection-model/suggest
combo test
ocx combo test [--combo <id>] [--decision-provider <provider&#124;jev> &#124; --decision-model <route>] [--decision-timeout <ms>] [--json]
--combo string(任意)、--decision-provider string(任意)、--decision-model string(任意)、--decision-timeout number(任意)、--json boolean(任意) 変更あり/JSON payload GET /api/combos、POST /api/combos/decision-test
combo discover
ocx combo discover [--query <text>] [--json]
--query string(任意)、--json boolean(任意) 変更なし/JSON payload GET /api/combos/decision-discovery
message sessions
ocx message sessions
--json boolean(任意)、--host string(任意) 変更なし/JSON envelope 対象の管理APIなし
message send
ocx message send
--thread string(任意)、--name string(任意)、--stdin boolean(必須)、--kind string(任意)、--in-reply-to string(任意)、--json boolean(任意)、--host string(任意) 変更あり/JSON envelope 対象の管理APIなし
message mcp
ocx message mcp --codex <absolute-cli-path> --codex-home <absolute-existing-home> [--allow-reply-read] [--allow-resume --resume-socket <absolute-existing-unix-socket> --resume-permissions <profile-id>]
--codex string(必須)、--codex-home string(必須)、--allow-reply-read boolean(任意)、--allow-resume boolean(任意)、--resume-socket string(任意)、--resume-permissions string(任意) 変更あり/JSON none 対象の管理APIなし
advisor
ocx advisor
--json boolean(任意)、--context-mode string(任意) 変更あり/JSON payload GET /api/advisor/settings、GET /api/advisor/activity、PUT /api/advisor/settings
message enable
ocx message enable
--port number(任意)、--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
message disable
ocx message disable
--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
message status
ocx message status
--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
message serve
ocx message serve
--host string(任意)、--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
message hosts probe
ocx message hosts probe
--ssh string(必須)、--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
message hosts add
ocx message hosts add <alias> --ssh <destination> --fingerprint <SHA256> [--json]
--ssh string(必須)、--fingerprint string(必須)、--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
message hosts allow-inbound
ocx message hosts allow-inbound <alias-or-machine-uuid> [--json]
--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
message hosts deny-inbound
ocx message hosts deny-inbound <alias-or-machine-uuid> [--json]
--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
message hosts list
ocx message hosts list
--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
message hosts remove
ocx message hosts remove <alias-or-machine-uuid> [--transaction <uuid>] [--json]
--transaction string(任意)、--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
message hosts abandon
ocx message hosts abandon --transaction <uuid> [--json]
--transaction string(必須)、--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
agent status
ocx agent status [--json]
--json boolean(任意) 変更なし/JSON envelope GET /api/v2、GET /api/injection-model、GET /api/effort-caps、GET /api/subagent-models、GET /api/subagent-model-fallback、GET /api/sidecar-settings
agent effort
ocx agent effort status [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/effort-caps
agent effort set
ocx agent effort set [--main <level&#124;->] [--subagent <level&#124;->] [--json]
--main string(任意)、--subagent string(任意)、--json boolean(任意) 変更あり/JSON payload PUT /api/effort-caps
agent subagents
ocx agent subagents status [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/subagent-models
agent subagents set
ocx agent subagents set <model,model...> [--json]
--json boolean(任意) 変更あり/JSON payload PUT /api/subagent-models
agent subagents clear
ocx agent subagents clear [--json]
--json boolean(任意) 変更あり/JSON payload PUT /api/subagent-models
agent fallback
ocx agent fallback status [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/subagent-model-fallback
agent fallback set
ocx agent fallback set [model,model...] [--poll-ms <5000-600000>] [--json]
--poll-ms number(任意)、--json boolean(任意) 変更あり/JSON payload PUT /api/subagent-model-fallback
agent fallback clear
ocx agent fallback clear [--poll-ms <5000-600000>] [--json]
--poll-ms number(任意)、--json boolean(任意) 変更あり/JSON payload PUT /api/subagent-model-fallback
agent sidecar
ocx agent sidecar status [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/sidecar-settings
agent sidecar web
ocx agent sidecar web (--list &#124; [--model <id&#124;->] [--backend <openai&#124;anthropic&#124;xai&#124;gemini&#124;exa&#124;->] [--reasoning <level>] [--enabled <on&#124;off>] [--stream-routed-output <on&#124;off>]) [--json]
--list boolean(任意)、--model string(任意)、--backend string(任意)、--reasoning string(任意)、--enabled string(任意)、--json boolean(任意)、--stream-routed-output string(任意) 変更あり/JSON payload GET /api/sidecar-settings、PUT /api/sidecar-settings
agent sidecar vision
ocx agent sidecar vision (--list &#124; [--model <id&#124;->] [--backend <openai&#124;anthropic&#124;routed&#124;->] [--reasoning <level>] [--max-descriptions <n>] [--enabled <on&#124;off>] [--timeout-ms <1-2147483647>]) [--json]
--list boolean(任意)、--model string(任意)、--backend string(任意)、--reasoning string(任意)、--max-descriptions number(任意)、--enabled string(任意)、--json boolean(任意)、--timeout-ms number(任意) 変更あり/JSON payload GET /api/sidecar-settings、PUT /api/sidecar-settings
fallback
ocx fallback [status] [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/fallback
fallback off
ocx fallback off [--kind model&#124;provider&#124;all] [--provider <name> &#124; --route <selector> &#124; --device <id&#124;alias>] [--json]
--kind string(任意)、--provider string(任意)、--route string(任意)、--device string(任意)、--json boolean(任意) 変更あり/JSON payload PUT /api/fallback
fallback on
ocx fallback on [--kind model&#124;provider&#124;all] [--provider <name> &#124; --route <selector> &#124; --device <id&#124;alias>] [--json]
--kind string(任意)、--provider string(任意)、--route string(任意)、--device string(任意)、--json boolean(任意) 変更あり/JSON payload PUT /api/fallback
fallback clear
ocx fallback clear [--kind model&#124;provider&#124;all] [--provider <name> &#124; --route <selector> &#124; --device <id&#124;alias>] [--json]
--kind string(任意)、--provider string(任意)、--route string(任意)、--device string(任意)、--json boolean(任意) 変更あり/JSON payload PUT /api/fallback
fallback local
ocx fallback local <on&#124;off> --device <id&#124;alias> [--json]
--device string(任意)、--json boolean(任意) 変更あり/JSON payload PUT /api/fallback
effort
ocx effort [status&#124;low&#124;medium&#124;high&#124;xhigh&#124;max&#124;ultra&#124;->] [--json]
--json boolean(任意) 変更あり/JSON envelope GET /api/effort-caps、GET /api/injection-model、PUT /api/effort-caps
effort set
ocx effort set [--main <level&#124;->] [--subagent <level&#124;->] [--injection <level&#124;->] [--json]
--main string(任意)、--subagent string(任意)、--injection string(任意)、--json boolean(任意) 変更あり/JSON envelope PUT /api/effort-caps、PUT /api/injection-model、GET /api/effort-caps、GET /api/injection-model
effort clear
ocx effort clear [--json]
--json boolean(任意) 変更あり/JSON envelope PUT /api/effort-caps、GET /api/effort-caps、GET /api/injection-model
effort model
ocx effort model <provider/model&#124;model> [--json]
--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
v2 status
ocx v2 [status] [--live] [--json]
--live boolean(任意)、--json boolean(任意) 変更なし/JSON envelope GET /api/v2
v2 on
ocx v2 on [--live] [--json]
--live boolean(任意)、--json boolean(任意) 変更あり/JSON envelope PUT /api/v2
v2 off
ocx v2 off [--live] [--json]
--live boolean(任意)、--json boolean(任意) 変更あり/JSON envelope PUT /api/v2
v2 mode
ocx v2 mode <v1&#124;default&#124;v2&#124;v2-plaintext> [--live] [--json] [--acknowledge-surface-advisory] [--acknowledge-plaintext-agent-messages]
--live boolean(任意)、--json boolean(任意)、--acknowledge-surface-advisory boolean(任意)、--acknowledge-plaintext-agent-messages boolean(任意) 変更あり/JSON envelope PUT /api/v2
v2 keep-native-v1
ocx v2 keep-native-v1 <on&#124;off> [--live] [--json]
--live boolean(任意)、--json boolean(任意) 変更あり/JSON envelope PUT /api/v2
v2 threads
ocx v2 threads <n> [--live] [--json]
--live boolean(任意)、--json boolean(任意) 変更あり/JSON envelope PUT /api/v2
v2 mode-hint
ocx v2 mode-hint <text&#124;--clear> [--live] [--json]; ocx v2 mode-hint [--live] [--json] -- <literal-text>
--clear boolean(任意)、--live boolean(任意)、--json boolean(任意) 変更あり/JSON envelope PUT /api/v2
combo list
ocx combo list [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/combos
combo show
ocx combo show <id> [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/combos
combo set
ocx combo set <id> [--targets <provider/model[:weight],...> &#124; --targets-file <FILE&#124;->] [--strategy <failover&#124;round-robin&#124;random&#124;least-used&#124;reset-window&#124;jev>] [--sticky <1-100&#124;->] [--cooldown-reprobe <on&#124;off>] [--cooldown-reprobe-interval <ms>] [--effort <low&#124;medium&#124;high&#124;xhigh&#124;max&#124;ultra&#124;->] [--effort-mode <fallback&#124;force&#124;->] [--alias <name&#124;->] [--native-alias [on&#124;off]] [--allow-metered-targets <on&#124;off>] [--display-name <label&#124;->] [--description <text&#124;->] [--decision-provider <provider&#124;-> &#124; --decision-model <route&#124;->] [--decision-timeout <ms&#124;->] [--decision-quota-signals <on&#124;off&#124;->] [--decision-quota-tiers <JSON&#124;->] [--session-pin <duration&#124;->] [--session-pin-effort <pinned&#124;per-turn>] [--rename-from <id>] [--image-input <auto&#124;disabled>] [--reasoning-effort-mode <strict&#124;adaptive>] [--jev-effort-mode <decide&#124;client>] [--json]
--allow-metered-targets string(任意)、--targets string(任意)、--strategy string(任意)、--sticky string(任意)、--cooldown-reprobe string(任意)、--cooldown-reprobe-interval string(任意)、--effort string(任意)、--effort-mode string(任意)、--alias string(任意)、--display-name string(任意)、--description string(任意)、--decision-provider string(任意)、--decision-model string(任意)、--decision-timeout string(任意)、--decision-quota-signals string(任意)、--decision-quota-tiers string(任意)、--session-pin string(任意)、--session-pin-effort string(任意)、--rename-from string(任意)、--json boolean(任意)、--native-alias string(任意)、--targets-file string(任意)、--image-input string(任意)、--reasoning-effort-mode string(任意)、--jev-effort-mode string(任意) 変更あり/JSON payload GET /api/combos、PUT /api/combos
combo remove
ocx combo remove <id> --yes [--json]
--yes boolean(必須)、--json boolean(任意) 変更あり/JSON payload DELETE /api/combos
route policy list
ocx route policy list [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/routing-profiles
route policy show
ocx route policy show <id> [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/routing-profiles
route policy dry-run
ocx route policy dry-run <id> [--model-context <tokens>] [--tools] [--image] [--structured-output] [--json]
--model-context number(任意)、--tools boolean(任意)、--image boolean(任意)、--structured-output boolean(任意)、--json boolean(任意) 変更あり/JSON payload POST /api/routing-profiles/dry-run
route policy evaluate
ocx route policy evaluate <id> [--model-context <tokens>] [--tools] [--image] [--structured-output] [--json]
--model-context number(任意)、--tools boolean(任意)、--image boolean(任意)、--structured-output boolean(任意)、--json boolean(任意) 変更あり/JSON payload POST /api/routing-profiles/dry-run
route policy create
ocx route policy create <id> --file <FILE&#124;-> [--json]
--file string(必須)、--json boolean(任意) 変更あり/JSON envelope PUT /api/routing-profiles
route policy update
ocx route policy update <id> --file <FILE&#124;-> --expected-revision <revision> [--json]
--file string(必須)、--expected-revision string(必須)、--json boolean(任意) 変更あり/JSON envelope PUT /api/routing-profiles
route policy remove
ocx route policy remove <id> --yes [--json]
--yes boolean(必須)、--json boolean(任意) 変更あり/JSON envelope DELETE /api/routing-profiles
combo stats
ocx combo stats <id> [--range <7d&#124;30d&#124;all>] [--json]
--range string(任意)、--json boolean(任意) 変更なし/JSON envelope GET /api/usage
agent memory-models show
ocx agent memory-models show [--json]
--json boolean(任意) 変更なし/JSON envelope GET /api/settings
agent memory-models set
ocx agent memory-models set (--file <FILE&#124;-> &#124; [--extract-model <model> [--extract-effort <effort>]] [--consolidation-model <model> [--consolidation-effort <effort>]]) [--json]
--file string(任意)、--extract-model string(任意)、--extract-effort string(任意)、--consolidation-model string(任意)、--consolidation-effort string(任意)、--json boolean(任意) 変更あり/JSON envelope PUT /api/settings
agent memory-models clear
ocx agent memory-models clear [--json]
--json boolean(任意) 変更あり/JSON envelope PUT /api/settings
agent compaction-routing show
ocx agent compaction-routing show [--json]
--json boolean(任意) 変更なし/JSON envelope GET /api/settings
agent compaction-routing set
ocx agent compaction-routing set (--file <FILE&#124;-> &#124; --model <model> [--effort <effort>] [--triggers <manual,auto>] [--sources <selector,...>]) [--json]
--file string(任意)、--model string(任意)、--effort string(任意)、--triggers string(任意)、--sources string(任意)、--json boolean(任意) 変更あり/JSON envelope PUT /api/settings
agent compaction-routing clear
ocx agent compaction-routing clear [--json]
--json boolean(任意) 変更あり/JSON envelope PUT /api/settings
memory
ocx memory [--limit <n>] [--json]
--limit number(任意)、--json boolean(任意) 変更なし/JSON payload GET /api/system/memory
route to
ocx route to <client> <on&#124;off&#124;inherit> [--device <alias&#124;id&#124;this>] [--accounts <all&#124;none&#124;userId,...>] [--model-names <alias&#124;routed>] [--overwrite-conflict] [--local] [--json]
--device string(任意)、--json boolean(任意)、--overwrite-conflict boolean(任意)、--local boolean(任意)、--accounts string(任意)、--model-names string(任意) 変更あり/JSON payload PUT /api/route-to
route to status
ocx route to status [--device <alias&#124;id&#124;all&#124;this>] [--json]
--device string(任意)、--json boolean(任意) 変更なし/JSON payload GET /api/route-to
route to sync
ocx route to sync [--device <alias&#124;id&#124;all&#124;this>] [--overwrite-conflict] [--json]
--device string(任意)、--overwrite-conflict boolean(任意)、--json boolean(任意) 変更あり/JSON payload POST /api/route-to/sync

クライアント連携(41件)

コマンドと構文 フラグ・型 変更・JSON ローカル管理API
claude config
ocx claude config status [--json]; ocx claude config set [--enabled <on&#124;off>] [--auth-mode <auto&#124;proxy&#124;subscription>] [--system-env <on&#124;off>] [--fast-mode <on&#124;off>] [--auto-context <on&#124;off>] [--compact-window <tokens&#124;default>] [--context-accounting <1m&#124;200k>] [--inject-agents <on&#124;off>] [--native-passthrough <on&#124;off>] [--small-fast-model <id&#124;->] [--model-map <from=to,...&#124;->] [--blocked-skills <name,name&#124;->] [--web-model <id&#124;->] [--web-backend <openai&#124;anthropic&#124;xai&#124;gemini&#124;exa&#124;->] [--vision-model <id&#124;->] [--vision-backend <openai&#124;anthropic&#124;->] [--json]; or ocx claude config set --first-party <on&#124;off> [--json]
--enabled string(任意)、--auth-mode string(任意)、--system-env string(任意)、--fast-mode string(任意)、--auto-context string(任意)、--compact-window string(任意)、--context-accounting string(任意)、--inject-agents string(任意)、--native-passthrough string(任意)、--small-fast-model string(任意)、--model-map string(任意)、--blocked-skills string(任意)、--web-model string(任意)、--web-backend string(任意)、--vision-model string(任意)、--vision-backend string(任意)、--first-party string(任意)、--json boolean(任意) 変更あり/JSON payload GET /api/claude-code、PUT /api/claude-code
claude intercept start
ocx claude intercept start [--json]
--json boolean(任意) 変更あり/JSON payload POST /api/claude-intercept/start
claude desktop status
ocx claude desktop status [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/claude-desktop/status
claude desktop bind
ocx claude desktop bind <picker-model-id> <provider/model&#124;native/slug>
なし 変更あり/JSON none PUT /api/claude-desktop/first-party-bindings
claude desktop unbind
ocx claude desktop unbind <picker-model-id>
なし 変更あり/JSON none PUT /api/claude-desktop/first-party-bindings
claude desktop picker status
ocx claude desktop picker status [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/claude-desktop/picker
claude desktop picker on
ocx claude desktop picker on
なし 変更あり/JSON none PUT /api/claude-desktop/picker
claude desktop picker off
ocx claude desktop picker off
なし 変更あり/JSON none PUT /api/claude-desktop/picker
claude desktop picker trust
ocx claude desktop picker trust
なし 変更あり/JSON none GET /api/claude-desktop/picker、PUT /api/claude-desktop/picker
integration native
ocx integration native [list] [--json]; ocx integration native <claude&#124;claude-desktop&#124;codex&#124;grok> <on&#124;off> [--json]
--json boolean(任意) 変更あり/JSON payload GET /api/native-integrations、PUT /api/native-integrations/claude、PUT /api/native-integrations/claude-desktop、PUT /api/native-integrations/codex、PUT /api/native-integrations/grok
integration client
ocx integration client status [--client <id>] [--profile <id>] [--json]; ocx integration client history [--client <id>] [--profile <id>] [--json]; ocx integration client enable --client <id> [--profile <id>] [--overwrite-conflict] [--model-names <alias&#124;routed>] [--json]; ocx integration client disable --client <id> [--profile <id>] [--json]; ocx integration client restore --op <opId> [--client aside --profile <id>] [--confirm-drift] [--json]
--model-names string(任意)、--client string(任意)、--profile number(任意)、--json boolean(任意)、--overwrite-conflict boolean(任意)、--op string(任意)、--confirm-drift boolean(任意) 変更あり/JSON payload GET /api/client-integrations、GET /api/client-integrations/{clientId}、GET /api/client-integrations/aside/profiles、GET /api/client-integrations/aside/profiles/{profileId}、GET /api/client-integrations/journal、GET /api/client-integrations/aside/profiles/journal、GET /api/client-integrations/aside/profiles/{profileId}/journal、PUT /api/client-integrations/{clientId}、PUT /api/client-integrations/aside/profiles、PUT /api/client-integrations/aside/profiles/{profileId}、POST /api/client-integrations/restore、POST /api/client-integrations/aside/profiles/{profileId}/restore
grok status
ocx grok status [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/grok
grok set
ocx grok set <model,model...> [--json]
--json boolean(任意) 変更あり/JSON payload PUT /api/grok/selection
grok exclude
ocx grok exclude <model,model...> [--json]
--json boolean(任意) 変更あり/JSON payload GET /api/grok、PUT /api/grok/selection
grok include
ocx grok include <model,model...> [--json]
--json boolean(任意) 変更あり/JSON payload GET /api/grok、PUT /api/grok/selection
grok clear
ocx grok clear [--json]
--json boolean(任意) 変更あり/JSON payload PUT /api/grok/selection
grok apply
ocx grok apply [--json]
--json boolean(任意) 変更あり/JSON payload POST /api/grok/apply
integration client status
ocx integration client status [--client <id>] [--profile <id>] [--json]
--client string(任意)、--profile number(任意)、--json boolean(任意) 変更なし/JSON payload GET /api/client-integrations、GET /api/client-integrations/{clientId}、GET /api/client-integrations/aside/profiles、GET /api/client-integrations/aside/profiles/{profileId}
integration client history
ocx integration client history [--client <id>] [--profile <id>] [--json]
--client string(任意)、--profile number(任意)、--json boolean(任意) 変更なし/JSON payload GET /api/client-integrations/journal、GET /api/client-integrations/aside/profiles/journal、GET /api/client-integrations/aside/profiles/{profileId}/journal
integration client enable
ocx integration client enable --client <id> [--profile <id>] [--overwrite-conflict] [--plan-fingerprint <token>] [--model-names <alias&#124;routed>] [--reasoning-default <model=effort> ... &#124; --clear-reasoning-defaults] [--json]
--model-names string(任意)、--client string(必須)、--profile number(任意)、--overwrite-conflict boolean(任意)、--json boolean(任意)、--plan-fingerprint string(任意)、--reasoning-default string(任意)、--clear-reasoning-defaults boolean(任意) 変更あり/JSON payload PUT /api/client-integrations/{clientId}、PUT /api/client-integrations/aside/profiles、PUT /api/client-integrations/aside/profiles/{profileId}
integration client disable
ocx integration client disable --client <id> [--profile <id>] [--plan-fingerprint <token>] [--json]
--client string(必須)、--profile number(任意)、--json boolean(任意)、--plan-fingerprint string(任意) 変更あり/JSON payload PUT /api/client-integrations/{clientId}、PUT /api/client-integrations/aside/profiles、PUT /api/client-integrations/aside/profiles/{profileId}
integration client restore
ocx integration client restore --op <opId> [--client aside --profile <id>] [--confirm-drift] [--preview &#124; --plan-fingerprint <token>] [--json]
--op string(必須)、--client string(任意)、--profile number(任意)、--confirm-drift boolean(任意)、--json boolean(任意)、--preview boolean(任意)、--plan-fingerprint string(任意) 変更あり/JSON payload POST /api/client-integrations/restore、POST /api/client-integrations/aside/profiles/{profileId}/restore、POST /api/client-integrations/restore/preview、POST /api/client-integrations/aside/profiles/{profileId}/preview
commandcode restore
ocx commandcode restore --op <opId> [--confirm-drift] [--preview &#124; --plan-fingerprint <token>] [--json]
--op string(必須)、--confirm-drift boolean(任意)、--preview boolean(任意)、--plan-fingerprint string(任意)、--json boolean(任意) 変更あり/JSON payload POST /api/client-integrations/commandcode/restore、POST /api/client-integrations/commandcode/restore/preview
claude config status
ocx claude config status [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/claude-code
claude config set
ocx claude config set [--enabled <on&#124;off>] [--auth-mode <auto&#124;proxy&#124;subscription>] [--system-env <on&#124;off>] [--fast-mode <on&#124;off>] [--auto-context <on&#124;off>] [--compact-window <tokens&#124;default>] [--context-accounting <1m&#124;200k>] [--inject-agents <on&#124;off>] [--native-passthrough <on&#124;off>] [--small-fast-model <id&#124;->] [--model-map <from=to,...&#124;->] [--blocked-skills <name,name&#124;->] [--web-model <id&#124;->] [--web-backend <openai&#124;anthropic&#124;xai&#124;gemini&#124;exa&#124;->] [--vision-model <id&#124;->] [--vision-backend <openai&#124;anthropic&#124;->] [--json]; or ocx claude config set --first-party <on&#124;off> [--json]
--enabled string(任意)、--auth-mode string(任意)、--system-env string(任意)、--fast-mode string(任意)、--auto-context string(任意)、--compact-window string(任意)、--context-accounting string(任意)、--inject-agents string(任意)、--native-passthrough string(任意)、--small-fast-model string(任意)、--model-map string(任意)、--blocked-skills string(任意)、--web-model string(任意)、--web-backend string(任意)、--vision-model string(任意)、--vision-backend string(任意)、--first-party string(任意)、--json boolean(任意) 変更あり/JSON payload GET /api/claude-code、PUT /api/claude-code
claude desktop show
ocx claude desktop show [--json]
--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
claude desktop move
ocx claude desktop move <provider/model> <opus&#124;fable&#124;sonnet&#124;haiku> [--default]
--default boolean(任意) 変更あり/JSON none 対象の管理APIなし
claude desktop default
ocx claude desktop default <opus&#124;fable&#124;sonnet&#124;haiku> <provider/model&#124;none>
なし 変更あり/JSON none 対象の管理APIなし
claude desktop export
ocx claude desktop export <path&#124;->
なし 変更あり/JSON none 対象の管理APIなし
claude desktop import
ocx claude desktop import <path> [--apply]
--apply boolean(任意) 変更あり/JSON none POST /api/claude-desktop/apply
claude desktop apply
ocx claude desktop [apply] [--first-party &#124; --gateway [--static&#124;--hybrid&#124;--discovery-only]]
--first-party boolean(任意)、--gateway boolean(任意)、--static boolean(任意)、--hybrid boolean(任意)、--discovery-only boolean(任意) 変更あり/JSON none POST /api/claude-desktop/apply
integration client preview
ocx integration client preview --client <id> --operation <apply&#124;overwrite&#124;disable> [--profile <id>] [--model-names <alias&#124;routed>] [--reasoning-default <model=effort> ... &#124; --clear-reasoning-defaults] [--json]
--model-names string(任意)、--client string(必須)、--profile number(任意)、--operation string(必須)、--reasoning-default string(任意)、--clear-reasoning-defaults boolean(任意)、--json boolean(任意) 変更なし/JSON payload POST /api/client-integrations/preview、POST /api/client-integrations/aside/profiles/{profileId}/preview
integration client history remove
ocx integration client history remove --op <opId> --yes [--client aside [--profile <id>]] [--json]
--op string(必須)、--yes boolean(必須)、--client string(任意)、--profile number(任意)、--json boolean(任意) 変更あり/JSON payload DELETE /api/client-integrations/journal、DELETE /api/client-integrations/aside/profiles/journal、DELETE /api/client-integrations/aside/profiles/{profileId}/journal
integration client sync
ocx integration client sync --client aside [--json]
--client string(必須)、--json boolean(任意) 変更あり/JSON envelope POST /api/client-integrations/aside/sync
claude desktop profile show
ocx claude desktop profile show [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/claude-desktop
claude desktop profile import
ocx claude desktop profile import <file&#124;-> [--json]
--json boolean(任意) 変更あり/JSON payload PUT /api/claude-desktop
integration native cursor status
ocx integration native cursor status [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/native-integrations/cursor
integration native cursor local-installer
ocx integration native cursor local-installer [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/native-integrations/cursor/local-installer
codex-shim install
ocx codex-shim install
なし 変更あり/JSON none 対象の管理APIなし
codex-shim status
ocx codex-shim status
なし 変更なし/JSON none 対象の管理APIなし
codex-shim uninstall
ocx codex-shim uninstall
なし 変更あり/JSON none 対象の管理APIなし

実験機能(21件)

コマンドと構文 フラグ・型 変更・JSON ローカル管理API
lab status
ocx lab status [--json]
--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
lab verdicts
ocx lab verdicts [--subject <subject>] [--layer <layer>] [--suite <suite>] [--verdict <verdict>] [--from <ms>] [--to <ms>] [--limit <n>] [--cursor <cursor>] [--json]
--subject string(任意)、--layer string(任意)、--suite string(任意)、--verdict string(任意)、--from number(任意)、--to number(任意)、--limit number(任意)、--cursor string(任意)、--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
lab subjects
ocx lab subjects [--kind <kind>] [--limit <n>] [--cursor <cursor>] [--json]
--kind string(任意)、--limit number(任意)、--cursor string(任意)、--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
lab observations
ocx lab observations [--subject <subject>] [--layer <layer>] [--suite <suite>] [--scenario <scenario>] [--outcome <outcome>] [--execution-mode <execution-mode>] [--from <ms>] [--to <ms>] [--limit <n>] [--cursor <cursor>] [--json]
--subject string(任意)、--layer string(任意)、--suite string(任意)、--scenario string(任意)、--outcome string(任意)、--execution-mode string(任意)、--from number(任意)、--to number(任意)、--limit number(任意)、--cursor string(任意)、--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
lab events
ocx lab events [--event-kind <event-kind>] [--subject <subject>] [--from <ms>] [--to <ms>] [--excluded <true&#124;false>] [--limit <n>] [--cursor <cursor>] [--json]
--event-kind string(任意)、--subject string(任意)、--from number(任意)、--to number(任意)、--excluded string(任意)、--limit number(任意)、--cursor string(任意)、--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
lab artifacts
ocx lab artifacts [--status <status>] [--artifact-class <artifact-class>] [--limit <n>] [--cursor <cursor>] [--json]
--status string(任意)、--artifact-class string(任意)、--limit number(任意)、--cursor string(任意)、--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
lab catalog
ocx lab catalog [--layer <layer>] [--suite <suite>] [--json]
--layer string(任意)、--suite string(任意)、--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
lab subject
ocx lab subject <subjectId> [--json]
--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
lab event
ocx lab event <eventId> [--json]
--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
lab artifact
ocx lab artifact <digest> [--json]
--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
lab production-signals
ocx lab production-signals --subject <id> [--limit <n>] [--json]
--subject string(必須)、--limit number(任意)、--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
lab public preview
ocx lab public preview --event <eventId> [--event <eventId> ...] [--json]
--event string(必須)、--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
lab public export
ocx lab public export --event <eventId> [--event <eventId> ...] [--json]
--event string(必須)、--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
lab public verify
ocx lab public verify --file <bundle.json> [--json]
--file string(必須)、--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
lab public import
ocx lab public import --file <bundle.json> [--json]
--file string(必須)、--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
lab public community
ocx lab public community [--json]
--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
lab automation status
ocx lab automation [status] [--json]
--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
lab automation enable
ocx lab automation enable [--protocol] [--live] [--json]
--protocol boolean(任意)、--live boolean(任意)、--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
lab automation disable
ocx lab automation disable [--json]
--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
lab automation runs
ocx lab automation runs [--limit <n>] [--cursor <c>] [--json]
--limit number(任意)、--cursor string(任意)、--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
lab run
ocx lab run --layer <protocol_conformance&#124;live_route_compatibility&#124;task_effectiveness> --scenario <id> [--provider <name>] [--model <id>] [--json]
--layer string(必須)、--scenario string(必須)、--provider string(任意)、--model string(任意)、--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし

起動・停止(14件)

コマンドと構文 フラグ・型 変更・JSON ローカル管理API
codex-provider
ocx codex-provider <status&#124;allow <id> [--yes]&#124;revoke <id>>
--yes boolean(任意) 変更あり/JSON none 対象の管理APIなし
chatgpt
ocx chatgpt
なし 変更あり/JSON none 対象の管理APIなし
status
ocx status
--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
resolve
ocx resolve
--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
capabilities
ocx capabilities
--json boolean(任意)、--contracts boolean(任意)、--mutating-only boolean(任意)、--route string(任意) 変更なし/JSON envelope 対象の管理APIなし
sync
ocx sync [--expect-link <linkId> &#124; --expect-hub-key <apiKeyId>] [--overwrite-conflict [--overwrite-client <id>]] [--local-only] [--json] [--restart-codex] [--restart-app-server-only] [--child <linkId>]... [--restart-children[=app-server] &#124; --restart-children=codex --yes]
--overwrite-conflict boolean(任意)、--overwrite-client string(任意)、--local-only boolean(任意)、--json boolean(任意)、--restart-codex boolean(任意)、--restart-app-server-only boolean(任意)、--restart-desktop-app boolean(任意)、--expect-link string(任意)、--expect-hub-key string(任意)、--child string(任意)、--restart-children string(任意)、--yes boolean(任意) 変更あり/JSON payload POST /api/client-integrations/aside/sync、POST /api/client-integrations/pi/sync
stop
ocx stop [--json]
--json boolean(任意) 変更あり/JSON envelope GET /api/stop、POST /api/stop
service install
ocx service install [--native&#124;--scheduler]
--native boolean(任意)、--scheduler boolean(任意) 変更あり/JSON none 対象の管理APIなし
service repair
ocx service repair
なし 変更あり/JSON none 対象の管理APIなし
service restart
ocx service restart
なし 変更あり/JSON none 対象の管理APIなし
service start
ocx service start
なし 変更あり/JSON none 対象の管理APIなし
service stop
ocx service stop
なし 変更あり/JSON none 対象の管理APIなし
service status
ocx service status [--json]
--json boolean(任意) 変更なし/JSON payload 対象の管理APIなし
service uninstall
ocx service uninstall
なし 変更あり/JSON none 対象の管理APIなし

監視・システム(104件)

コマンドと構文 フラグ・型 変更・JSON ローカル管理API
update
ocx update
--plan boolean(任意)、--yes boolean(任意)、--json boolean(任意)、--tag string(任意)、--version string(任意)、--expect-plan string(任意)、--not-after string(任意)、--desktop boolean(任意)、--check boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
companion
ocx companion show [--json] &#124; ocx companion set <key>=<value> [...] [--json] &#124; ocx companion reset [--json]
--json boolean(任意) 変更あり/JSON payload GET /api/companion/settings、PUT /api/companion/settings
usage
ocx usage [--range <today&#124;1d&#124;7d&#124;30d&#124;all>] [--surface <all&#124;codex&#124;claude&#124;grok>] [--since <epoch-ms&#124;ISO-datetime>] [--until <epoch-ms&#124;ISO-datetime>] [--provider <name>] [--model <id>] [--api-key-id <id>] [--search <text>] [--json]
--range string(任意)、--surface string(任意)、--since string(任意)、--until string(任意)、--provider string(任意)、--model string(任意)、--json boolean(任意)、--api-key-id string(任意)、--search string(任意) 変更なし/JSON payload GET /api/usage
logs
ocx logs [--provider <name>] [--model <id>] [--status <code>] [--conversation <id>] [--account <label>] [--limit <n>] [--follow] [--json&#124;--jsonl]; ocx logs --follow --events [--limit <1-2000>]
--provider string(任意)、--model string(任意)、--status string(任意)、--conversation string(任意)、--conversationId string(任意)、--account string(任意)、--limit number(任意)、--follow boolean(任意)、-f boolean(任意)、--json boolean(任意)、--jsonl boolean(任意)、--events boolean(任意) 変更なし/JSON payload GET /api/logs
storage report
ocx storage report [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/storage
storage cleanup
ocx storage cleanup --percent <0-100> [--mode <quarantine&#124;permanent>] [--yes] [--json]
--percent number(任意)、--mode string(任意)、--yes boolean(任意)、--json boolean(任意) 変更あり/JSON payload POST /api/storage/cleanup/preview、POST /api/storage/cleanup
storage trash
ocx storage trash [list] [--json] &#124; ocx storage trash restore <entry-id> --yes [--json]
--yes boolean(任意)、--json boolean(任意) 変更あり/JSON payload GET /api/storage/trash、POST /api/storage/trash/restore
storage policy
ocx storage policy [show] [--json] &#124; ocx storage policy set [--enabled <true&#124;false>] [--percent <1-100>] [--mode <quarantine&#124;permanent>] [--schedule <startup&#124;daily&#124;weekly&#124;manual>] [--json] &#124; ocx storage policy run --yes [--json]
--enabled string(任意)、--percent number(任意)、--mode string(任意)、--schedule string(任意)、--yes boolean(任意)、--json boolean(任意) 変更あり/JSON payload GET /api/storage/cleanup-policy、PUT /api/storage/cleanup-policy、POST /api/storage/cleanup-policy/run
inspect config
ocx inspect config
--json boolean(任意) 変更なし/JSON payload GET /api/config
inspect catalog
ocx inspect catalog
--json boolean(任意) 変更なし/JSON payload GET /api/catalog
inspect routing-analytics
ocx inspect routing-analytics
--json boolean(任意) 変更なし/JSON payload GET /api/routing-analytics
inspect pacing
ocx inspect pacing
--name string(任意)、--json boolean(任意) 変更なし/JSON payload GET /api/provider-request-pacing
inspect key-providers
ocx inspect key-providers
--json boolean(任意) 変更なし/JSON payload GET /api/key-providers
inspect codex-prompt
ocx inspect codex-prompt
--text boolean(任意)、--json boolean(任意) 変更なし/JSON payload GET /api/codex-prompt、GET /api/codex-prompt/text
inspect client-config
ocx inspect client-config
--client string(任意)、--json boolean(任意) 変更なし/JSON payload GET /api/client-config
inspect star
ocx inspect star
--json boolean(任意) 変更なし/JSON payload GET /api/github/star
inspect windows-tray
ocx inspect windows-tray
--json boolean(任意) 変更なし/JSON payload GET /api/windows-tray
system codex-app-server
ocx system codex-app-server [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/system/codex-app-server
system codex-cli-update check
ocx system codex-cli-update check [--json]
--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
system codex-cli-update attest
ocx system codex-cli-update attest [--candidate <absolute-path> --npm-prefix <absolute-path> --npm-cli <absolute-path> --node <absolute-path>] [--json]
--candidate string(任意)、--npm-prefix string(任意)、--npm-cli string(任意)、--node string(任意)、--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
system codex-cli-update plan
ocx system codex-cli-update plan [--channel latest] [--json]
--channel string(任意)、--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
system codex-cli-update apply
ocx system codex-cli-update apply --plan-id <32-hex> --yes [--request-id <key>] [--json]
--plan-id string(任意)、--yes boolean(任意)、--request-id string(任意)、--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
system codex-cli-update status
ocx system codex-cli-update status <job-id> [--json]
--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
system codex-restart
ocx system codex-restart --yes [--json]
--yes boolean(任意)、--json boolean(任意) 変更あり/JSON payload POST /api/system/codex-restart
logs filter
ocx logs filter [--surface <all&#124;codex&#124;claude&#124;grok>] [--model <id>] [--provider <name>] [--status <all&#124;success&#124;errors>] [--time-window <all&#124;15m&#124;1h&#124;24h>] [--min-tok-per-sec <n>] [--max-tok-per-sec <n>] [--intercepted-only] [--protocol-mode <all&#124;native&#124;translated&#124;legacy-bridge&#124;blocked&#124;none>] [--conversation <id>] [--scan-limit <1-2000>] [--limit <1-2000>] [--json&#124;--jsonl]
--surface string(任意)、--model string(任意)、--provider string(任意)、--status string(任意)、--time-window string(任意)、--min-tok-per-sec number(任意)、--max-tok-per-sec number(任意)、--intercepted-only boolean(任意)、--protocol-mode string(任意)、--conversation string(任意)、--conversationId string(任意)、--scan-limit number(任意)、--limit number(任意)、--json boolean(任意)、--jsonl boolean(任意) 変更なし/JSON envelope GET /api/logs
observe logs filter
ocx observe logs filter [--surface <all&#124;codex&#124;claude&#124;grok>] [--model <id>] [--provider <name>] [--status <all&#124;success&#124;errors>] [--time-window <all&#124;15m&#124;1h&#124;24h>] [--min-tok-per-sec <n>] [--max-tok-per-sec <n>] [--intercepted-only] [--protocol-mode <all&#124;native&#124;translated&#124;legacy-bridge&#124;blocked&#124;none>] [--conversation <id>] [--scan-limit <1-2000>] [--limit <1-2000>] [--json&#124;--jsonl]
--surface string(任意)、--model string(任意)、--provider string(任意)、--status string(任意)、--time-window string(任意)、--min-tok-per-sec number(任意)、--max-tok-per-sec number(任意)、--intercepted-only boolean(任意)、--protocol-mode string(任意)、--conversation string(任意)、--conversationId string(任意)、--scan-limit number(任意)、--limit number(任意)、--json boolean(任意)、--jsonl boolean(任意) 変更なし/JSON envelope GET /api/logs
companion usage
ocx companion usage [--json]
--json boolean(任意) 変更なし/JSON envelope GET /api/companion/settings、GET /api/usage
observe logs
ocx observe logs [--provider <name>] [--model <id>] [--status <code>] [--conversation <id>] [--account <label>] [--limit <n>] [--follow] [--json&#124;--jsonl]; ocx observe logs --follow --events [--limit <1-2000>]
--provider string(任意)、--model string(任意)、--status string(任意)、--conversation string(任意)、--conversationId string(任意)、--account string(任意)、--limit number(任意)、--follow boolean(任意)、-f boolean(任意)、--json boolean(任意)、--jsonl boolean(任意)、--events boolean(任意) 変更なし/JSON payload GET /api/logs
logs history
ocx logs history [--provider <name>] [--model <id>] [--requested-model <id>] [--status <code>] [--conversation <id>] [--surface <name>] [--protocol <responses&#124;chat&#124;messages>] [--api-key-id <id>] [--profile <id>] [--fallback <true&#124;false>] [--from <epoch-ms&#124;ISO-datetime>] [--to <epoch-ms&#124;ISO-datetime>] [--cursor <token>] [--limit <1-100>] [--json&#124;--jsonl]
--provider string(任意)、--model string(任意)、--requested-model string(任意)、--status number(任意)、--conversation string(任意)、--conversationId string(任意)、--surface string(任意)、--protocol string(任意)、--api-key-id string(任意)、--profile string(任意)、--fallback string(任意)、--from string(任意)、--to string(任意)、--cursor string(任意)、--limit number(任意)、--json boolean(任意)、--jsonl boolean(任意) 変更なし/JSON payload GET /api/request-history
logs get
ocx logs get <request-id> [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/request-history/{id}
logs explain
ocx logs explain <request-id> [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/request-history/{id}/route-decision
logs rebuild-index
ocx logs rebuild-index [--json]
--json boolean(任意) 変更あり/JSON payload 対象の管理APIなし
logs index-status
ocx logs index-status [--json]
--json boolean(任意) 変更あり/JSON payload 対象の管理APIなし
observe usage
ocx observe usage [--range <today&#124;1d&#124;7d&#124;30d&#124;all>] [--surface <all&#124;codex&#124;claude&#124;grok>] [--since <epoch-ms&#124;ISO-datetime>] [--until <epoch-ms&#124;ISO-datetime>] [--provider <name>] [--model <id>] [--api-key-id <id>] [--search <text>] [--top <1-1000>] [--json]
--range string(任意)、--surface string(任意)、--since string(任意)、--until string(任意)、--provider string(任意)、--model string(任意)、--json boolean(任意)、--api-key-id string(任意)、--top number(任意)、--search string(任意) 変更なし/JSON payload GET /api/usage
usage compare
ocx usage compare [--range <today&#124;1d&#124;7d&#124;30d>] [--surface <all&#124;codex&#124;claude&#124;grok>] [--provider <name>] [--model <id>] [--api-key-id <id>] [--json]
--range string(任意)、--surface string(任意)、--provider string(任意)、--model string(任意)、--api-key-id string(任意)、--json boolean(任意) 変更なし/JSON envelope GET /api/usage
observe storage
ocx observe storage [--limit <n>] [--json]
--limit number(任意)、--json boolean(任意) 変更なし/JSON payload GET /api/storage
observe memory
ocx observe memory [--limit <n>] [--json]
--limit number(任意)、--json boolean(任意) 変更なし/JSON payload GET /api/system/memory
observe debug
ocx observe debug [--limit <n>] [--json]
--limit number(任意)、--json boolean(任意) 変更なし/JSON payload GET /api/debug
observe claude-inbound
ocx observe claude-inbound [--limit <n>] [--json]
--limit number(任意)、--json boolean(任意) 変更なし/JSON payload GET /api/claude/inbound-debug
observe injection
ocx observe injection [--limit <n>] [--json]; ocx observe injection --follow [--limit <1-2000>] [--jsonl]
--limit number(任意)、--follow boolean(任意)、--jsonl boolean(任意)、--json boolean(任意) 変更なし/JSON payload GET /api/debug/injection-logs
storage codex-logs status
ocx storage codex-logs status [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/storage/codex-logs
storage codex-logs protect
ocx storage codex-logs protect [--mode <compat&#124;quiet>] [--json]
--mode string(任意)、--json boolean(任意) 変更あり/JSON payload POST /api/storage/codex-logs/protect
storage codex-logs unprotect
ocx storage codex-logs unprotect [--json]
--json boolean(任意) 変更あり/JSON payload POST /api/storage/codex-logs/unprotect
storage codex-logs repair
ocx storage codex-logs repair [--json]
--json boolean(任意) 変更あり/JSON payload POST /api/storage/codex-logs/repair
storage codex-logs compact
ocx storage codex-logs compact [--json]
--json boolean(任意) 変更あり/JSON payload POST /api/storage/codex-logs/compact
storage trash list
ocx storage trash list [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/storage/trash
storage policy show
ocx storage policy show [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/storage/cleanup-policy
storage trash restore
ocx storage trash restore <entry-id> --yes [--json]
--yes boolean(必須)、--json boolean(任意) 変更あり/JSON payload POST /api/storage/trash/restore
storage policy set
ocx storage policy set [--enabled <true&#124;false>] [--archived-bytes-over <bytes>] [--reduce-to-bytes <bytes> &#124; --remove-oldest-percent <1-100> &#124; --percent <1-100>] [--mode <quarantine&#124;permanent>] [--schedule <startup&#124;daily&#124;weekly&#124;manual>] [--json]
--enabled string(任意)、--percent number(任意)、--mode string(任意)、--schedule string(任意)、--json boolean(任意)、--archived-bytes-over number(任意)、--reduce-to-bytes number(任意)、--remove-oldest-percent number(任意) 変更あり/JSON payload PUT /api/storage/cleanup-policy
storage policy run
ocx storage policy run --yes [--json]
--yes boolean(必須)、--json boolean(任意) 変更あり/JSON payload POST /api/storage/cleanup-policy/run
debug provider
ocx debug provider [status&#124;on&#124;off&#124;reset]
なし 変更あり/JSON none GET /api/debug、PUT /api/debug
debug provider status
ocx debug provider status
なし 変更なし/JSON none GET /api/debug
debug provider on
ocx debug provider on
なし 変更あり/JSON none PUT /api/debug
debug provider off
ocx debug provider off
なし 変更あり/JSON none PUT /api/debug
debug provider reset
ocx debug provider reset
なし 変更あり/JSON none PUT /api/debug
debug provider logs
ocx debug provider logs [-f&#124;--follow]
-f boolean(任意)、--follow boolean(任意) 変更なし/JSON none GET /api/debug/logs
debug usage
ocx debug usage [status&#124;on&#124;off&#124;reset]
なし 変更あり/JSON none GET /api/debug、PUT /api/debug
debug usage status
ocx debug usage status
なし 変更なし/JSON none GET /api/debug
debug usage on
ocx debug usage on
なし 変更あり/JSON none PUT /api/debug
debug usage off
ocx debug usage off
なし 変更あり/JSON none PUT /api/debug
debug usage reset
ocx debug usage reset
なし 変更あり/JSON none PUT /api/debug
debug usage logs
ocx debug usage logs [-f&#124;--follow]
-f boolean(任意)、--follow boolean(任意) 変更なし/JSON none GET /api/debug/usage-logs
debug injection
ocx debug injection [status&#124;on&#124;off&#124;reset]
なし 変更あり/JSON none GET /api/debug、PUT /api/debug
debug injection status
ocx debug injection status
なし 変更なし/JSON none GET /api/debug
debug injection on
ocx debug injection on
なし 変更あり/JSON none PUT /api/debug
debug injection off
ocx debug injection off
なし 変更あり/JSON none PUT /api/debug
debug injection reset
ocx debug injection reset
なし 変更あり/JSON none PUT /api/debug
debug claude
ocx debug claude [status&#124;on&#124;off&#124;reset]
なし 変更あり/JSON none GET /api/debug、PUT /api/debug
debug claude status
ocx debug claude status
なし 変更なし/JSON none GET /api/debug
debug claude on
ocx debug claude on
なし 変更あり/JSON none PUT /api/debug
debug claude off
ocx debug claude off
なし 変更あり/JSON none PUT /api/debug
debug claude reset
ocx debug claude reset
なし 変更あり/JSON none PUT /api/debug
system status
ocx system status [--json]
--json boolean(任意) 変更なし/JSON envelope GET /api/settings、GET /api/startup-health、GET /api/system/memory
system settings
ocx system settings [--auto-start <on&#124;off>] [--stream-mode <auto&#124;legacy-tee&#124;eager-relay>] [--desktop-authless <on&#124;off>] [--client-compaction <on&#124;off>] [--show-codex-credits <on&#124;off>] [--account-picker <on&#124;off>] [--main-account-hard-lock <on&#124;off>] [--ultra-fast-tier <on&#124;off>] [--fast-rows <on&#124;off>] [--reserve <on&#124;off>] [--json]
--auto-start string(任意)、--stream-mode string(任意)、--desktop-authless string(任意)、--client-compaction string(任意)、--json boolean(任意)、--show-codex-credits string(任意)、--account-picker string(任意)、--main-account-hard-lock string(任意)、--ultra-fast-tier string(任意)、--fast-rows string(任意)、--reserve string(任意) 変更あり/JSON envelope GET /api/settings、PUT /api/settings
system startup health
ocx system startup health [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/startup-health
system startup install-service
ocx system startup install-service [--json]
--json boolean(任意) 変更あり/JSON payload POST /api/startup-action
system startup install-shim
ocx system startup install-shim [--json]
--json boolean(任意) 変更あり/JSON payload POST /api/startup-action
system diagnostics
ocx system diagnostics [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/diagnostics/project-config
system sync
ocx system sync [--json]
--json boolean(任意) 変更あり/JSON payload POST /api/sync
system update check
ocx system update check [--channel <latest&#124;preview>] [--json]
--channel string(任意)、--json boolean(任意) 変更なし/JSON payload GET /api/update/check
system update run
ocx system update run [--channel <latest&#124;preview>] [--restart <on&#124;off>] --yes [--json]
--channel string(任意)、--restart string(任意)、--yes boolean(必須)、--json boolean(任意) 変更あり/JSON payload POST /api/update/run
system update status
ocx system update status <job-id> [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/update/status
config show
ocx config show [--json] [--source]
--source boolean(任意)、--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
config get
ocx config get <dot.path> [--json]
--json boolean(任意) 変更なし/JSON payload 対象の管理APIなし
config set
ocx config set <dot.path> <json-or-string> [--json]
--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
config unset
ocx config unset <dot.path> [--json]
--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
config validate
ocx config validate [path&#124;-] [--json]
--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
config import
ocx config import <path&#124;-> --yes [--json]
--yes boolean(必須)、--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
companion show
ocx companion show [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/companion/settings
companion set
ocx companion set <key>=<value> [...] [--json]
--json boolean(任意) 変更あり/JSON payload PUT /api/companion/settings
companion reset
ocx companion reset [--json]
--json boolean(任意) 変更あり/JSON payload PUT /api/companion/settings
tray install
ocx tray install [--no-start] [--json]
--no-start boolean(任意)、--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
tray start
ocx tray start [--json]
--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
tray stop
ocx tray stop [--json]
--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
tray status
ocx tray status [--json]
--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
tray uninstall
ocx tray uninstall [--json]
--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
system health
ocx system health [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/system/health
companion timeline
ocx companion timeline [--hours <6&#124;24&#124;72&#124;168>] [--bucket-minutes <1-1440>] [--metric <total&#124;input&#124;output&#124;cached>] [--aggregation <sum&#124;average&#124;max>] [--grouping <model&#124;modelAccount>] [--model <provider/model> ...] [--hide-provider <name> ...] [--json]
--hours number(任意)、--bucket-minutes number(任意)、--metric string(任意)、--aggregation string(任意)、--grouping string(任意)、--model string(任意)、--hide-provider string(任意)、--json boolean(任意) 変更なし/JSON payload GET /api/usage/timeline
telemetry status
ocx telemetry status [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/telemetry
telemetry enable
ocx telemetry enable [--json]
--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
telemetry disable
ocx telemetry disable [--json]
--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
telemetry profile status
ocx telemetry profile status [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/telemetry/profile、GET /api/telemetry/profile/rank
telemetry profile connect
ocx telemetry profile connect --handle <handle> [--name <display name>] [--avatar <colour>] [--json]
--handle string(任意)、--name string(任意)、--avatar string(任意)、--json boolean(任意) 変更あり/JSON envelope 対象の管理APIなし
telemetry profile disconnect
ocx telemetry profile disconnect [--json]
--json boolean(任意) 変更あり/JSON envelope DELETE /api/telemetry/profile

プロバイダーとモデル(54件)

コマンドと構文 フラグ・型 変更・JSON ローカル管理API
models price
ocx models price <provider/model> [--json]
--json boolean(任意) 変更なし/JSON envelope GET /api/providers/{provider}/model-costs
models set-price
ocx models set-price <provider/model> (--input <N> --output <N> [--cache-read <N>] [--cache-write <N>]&#124;--auto) [--json]
--input number(任意)、--output number(任意)、--cache-read number(任意)、--cache-write number(任意)、--auto boolean(任意)、--json boolean(任意) 変更あり/JSON envelope PUT /api/providers/{provider}/model-costs
models set
ocx models set <provider/model> [--context-window <tokens&#124;0&#124;->] [--modalities <text,image,audio&#124;->] [--reasoning-efforts <levels&#124;->] [--default-reasoning-effort <level&#124;->] [--reset] [--json]
--context-window string(任意)、--modalities string(任意)、--reasoning-efforts string(任意)、--default-reasoning-effort string(任意)、--reset boolean(任意)、--json boolean(任意) 変更あり/JSON envelope PUT /api/model-settings
provider list
ocx provider list [--json&#124;--jsonl]
--json boolean(任意)、--jsonl boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
provider resets
ocx provider resets [--limit <n>] [--json]
--json boolean(任意)、--limit number(任意) 変更なし/JSON payload GET /api/quota-resets
provider keychain
ocx provider keychain <name> [status&#124;store&#124;restore] [--json]
--json boolean(任意) 変更あり/JSON payload GET /api/providers/keychain、POST /api/providers/keychain
provider add
ocx provider add <name> [--adapter <id>] [--base-url <url>] [--responses-path <path>] [--auth-mode <key&#124;forward&#124;oauth&#124;local>] [--api-key <key>] [--api-key-transport <x-api-key&#124;bearer>] [--default-model <id>] [--model <id> --text-only] [--google-tool-schema-policy <compatible&#124;reject-lossy>] [--allow-private-network] [--set-default] [--force] [--sync &#124; --live] [--json]
--adapter string(任意)、--base-url string(任意)、--api-key string(任意)、--api-key-transport string(任意)、--default-model string(任意)、--model string(任意)、--text-only boolean(任意)、--google-tool-schema-policy string(任意)、--allow-private-network boolean(任意)、--set-default boolean(任意)、--force boolean(任意)、--sync boolean(任意)、--json boolean(任意)、--live boolean(任意)、--responses-path string(任意)、--auth-mode string(任意) 変更あり/JSON envelope GET /api/providers、GET /api/provider-presets、POST /api/providers
provider show
ocx provider show <name> [--json]
--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
provider remove
ocx provider remove <name> [--json]; ocx provider remove <name> --live --yes [--json]
--live boolean(任意)、--yes boolean(任意)、--json boolean(任意) 変更あり/JSON envelope DELETE /api/providers
provider set-default
ocx provider set-default <name> [--live] [--json]
--live boolean(任意)、--json boolean(任意) 変更あり/JSON envelope PATCH /api/providers
provider edit
ocx provider edit <name> [--adapter <id>] [--base-url <url>] [--default-model <id&#124;->] [--auth-mode <key&#124;forward&#124;oauth&#124;local&#124;->] [--note <text&#124;->] [--api-key-transport <x-api-key&#124;bearer&#124;->] [--headers <json&#124;->] [--enabled <on&#124;off>] [--live-models <on&#124;off>] [--retain-models <id,id&#124;->] [--model <id> --text-only] [--xai-chat <on&#124;off>] [--allow-private-network <on&#124;off>] [--model-context-tier <model=default&#124;long_context>] [--upstream-http-version <http1.1&#124;->] [--fast <on&#124;off>] [--context-window <tokens&#124;->] [--json]
--adapter string(任意)、--base-url string(任意)、--default-model string(任意)、--auth-mode string(任意)、--note string(任意)、--api-key-transport string(任意)、--headers string(任意)、--enabled string(任意)、--live-models string(任意)、--retain-models string(任意)、--model string(任意)、--text-only boolean(任意)、--xai-chat string(任意)、--allow-private-network string(任意)、--model-context-tier string(任意)、--json boolean(任意)、--upstream-http-version string(任意)、--fast string(任意)、--context-window string(任意) 変更あり/JSON payload PATCH /api/providers
provider test
ocx provider test <name> [--model <id> [--yes]] [--json]
--model string(任意)、--yes boolean(任意)、--json boolean(任意) 変更あり/JSON payload POST /api/providers/test、POST /api/providers/test-completion
provider quota
ocx provider quota [--refresh] [--json]
--refresh boolean(任意)、--json boolean(任意) 変更なし/JSON payload GET /api/provider-quotas
provider presets
ocx provider presets [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/provider-presets
provider account-mode
ocx provider account-mode <pool&#124;direct> [--json]
--json boolean(任意) 変更あり/JSON payload PATCH /api/providers
provider selected
ocx provider selected <name> [--set <id,id...>&#124;--clear] [--json]
--set string(任意)、--clear boolean(任意)、--json boolean(任意) 変更あり/JSON envelope GET /api/selected-models、PUT /api/selected-models
provider import-cc-switch
ocx provider import-cc-switch [--source <cc-switch.db&#124;config.json>] [--provider <id>]... [--apply &#124; --restore] [--allow-private-network] [--json]
--source string(任意)、--provider string(任意)、--apply boolean(任意)、--restore boolean(任意)、--allow-private-network boolean(任意)、--json boolean(任意) 変更あり/JSON payload 対象の管理APIなし
models list
ocx models list [--provider <name>] [--json]
--provider string(任意)、--json boolean(任意) 変更なし/JSON envelope 対象の管理APIなし
models add
ocx models add <provider> <modelId> [--display-name <name>] [--context-window <tokens>] [--modalities <text,image,audio>] [--reasoning-efforts <levels&#124;->] [--default-reasoning-effort <level&#124;->] [--live] [--json]
--display-name string(任意)、--context-window number(任意)、--modalities string(任意)、--reasoning-efforts string(任意)、--default-reasoning-effort string(任意)、--live boolean(任意)、--json boolean(任意) 変更あり/JSON envelope POST /api/custom-models
models remove
ocx models remove <customId&#124;provider/modelId> [--yes] [--live] [--json]
--yes boolean(任意)、--live boolean(任意)、--json boolean(任意) 変更あり/JSON envelope GET /api/custom-models、DELETE /api/custom-models/{id}
models list-custom
ocx models list-custom [--json]
--json boolean(任意) 変更なし/JSON payload 対象の管理APIなし
models live
ocx models live [--provider <name>] [--free-only] [--json]
--provider string(任意)、--free-only boolean(任意)、--json boolean(任意) 変更なし/JSON payload GET /api/models
models edit
ocx models edit <custom-id> [--model-id <id>] [--display-name <name&#124;->] [--context-window <tokens&#124;0>] [--modalities <text,image,audio&#124;->] [--reasoning-efforts <levels&#124;->] [--default-reasoning-effort <level&#124;->] [--json]
--model-id string(任意)、--display-name string(任意)、--context-window number(任意)、--modalities string(任意)、--reasoning-efforts string(任意)、--default-reasoning-effort string(任意)、--json boolean(任意) 変更あり/JSON payload PUT /api/custom-models/{id}
models enable
ocx models enable <provider/model&#124;native-model> [--native] [--json]
--native boolean(任意)、--json boolean(任意) 変更あり/JSON payload PUT /api/model-visibility
models disable
ocx models disable <provider/model&#124;native-model> [--native] [--json]
--native boolean(任意)、--json boolean(任意) 変更あり/JSON payload PUT /api/model-visibility
models provider
ocx models provider <name> <on&#124;off> [--json]
--json boolean(任意) 変更あり/JSON payload GET /api/models、PUT /api/model-visibility
models selected
ocx models selected <provider> [--set <id,id...>&#124;--clear] [--json]
--set string(任意)、--clear boolean(任意)、--json boolean(任意) 変更あり/JSON envelope GET /api/selected-models、PUT /api/selected-models
models preset show
ocx models preset show [--provider <name>] [--json]
--provider string(任意)、--json boolean(任意) 変更なし/JSON payload GET /api/model-presets
models preset apply
ocx models preset apply <provider> [--all] [--json]
--all boolean(任意)、--json boolean(任意) 変更あり/JSON payload PUT /api/model-presets
models new-policy
ocx models new-policy [on&#124;off&#124;admit] [--provider <name>] [--json]
--provider string(任意)、--json boolean(任意) 変更あり/JSON payload GET /api/model-discovery、PUT /api/model-discovery
models new-arrivals
ocx models new-arrivals [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/model-discovery
models discover
ocx models discover <provider> [--json]
--json boolean(任意) 変更あり/JSON payload POST /api/model-discovery/refresh
models context status
ocx models context status [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/provider-context-caps
models context value
ocx models context value <tokens> [--set-all] [--json]
--set-all boolean(任意)、--json boolean(任意) 変更あり/JSON payload PUT /api/provider-context-caps
models context provider
ocx models context provider <provider> <on&#124;off> [--value <tokens>] [--json]
--value number(任意)、--json boolean(任意) 変更あり/JSON payload PUT /api/provider-context-caps
models context all
ocx models context all <on&#124;off> [--json]
--json boolean(任意) 変更あり/JSON payload PUT /api/provider-context-caps
models shadow status
ocx models shadow status [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/shadow-call-settings
models shadow set
ocx models shadow set [model&#124;-] [--enabled <on&#124;off>] [--json]
--enabled string(任意)、--json boolean(任意) 変更あり/JSON payload PUT /api/shadow-call-settings
models auto-review status
ocx models auto-review status [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/auto-review-settings
models auto-review set
ocx models auto-review set [model&#124;-] [--enabled <on&#124;off>] [--json]
--enabled string(任意)、--json boolean(任意) 変更あり/JSON payload PUT /api/auto-review-settings
alias list
ocx alias list [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/aliases
alias set
ocx alias set <provider&#124;provider/native-model-id> <alias> [--json]
--json boolean(任意) 変更あり/JSON payload PUT /api/providers/{provider}/alias、PUT /api/providers/{provider}/model-aliases
alias rm
ocx alias rm <provider&#124;provider/native-model-id> [--json]
--json boolean(任意) 変更あり/JSON payload PUT /api/providers/{provider}/alias、PUT /api/providers/{provider}/model-aliases
alias defaults
ocx alias defaults <on&#124;off> [--provider <name>] [--json]
--provider string(任意)、--json boolean(任意) 変更あり/JSON payload PUT /api/default-aliases
alias template set
ocx alias template set <provider> <template> [--json]
--json boolean(任意) 変更あり/JSON payload PUT /api/providers/{provider}/alias-template
alias template rm
ocx alias template rm <provider> [--json]
--json boolean(任意) 変更あり/JSON payload PUT /api/providers/{provider}/alias-template
alias template show
ocx alias template show [<provider>] [--json]
--json boolean(任意) 変更なし/JSON payload GET /api/aliases
provider pacing
ocx provider pacing <name> [--json]; ocx provider pacing <name> [--enabled <on&#124;off>] [--rpm <number>] [--min-interval-ms <integer>] [--max-concurrent <integer>] [--json]; ocx provider pacing <name> --file <FILE&#124;-> [--json]
--enabled string(任意)、--rpm number(任意)、--min-interval-ms number(任意)、--max-concurrent number(任意)、--file string(任意)、--json boolean(任意) 変更あり/JSON envelope GET /api/config、GET /api/provider-request-pacing、PATCH /api/providers
provider snapshot
ocx provider snapshot [--json]
--json boolean(任意) 変更なし/JSON envelope GET /api/config
provider apply
ocx provider apply --baseline <FILE&#124;-> --file <FILE&#124;-> [--yes] [--json]
--baseline string(必須)、--file string(必須)、--yes boolean(任意)、--json boolean(任意) 変更あり/JSON payload PUT /api/providers
models display-name
ocx models display-name <provider/raw-model> (--set <text> &#124; --clear) [--json]
--set string(任意)、--clear boolean(任意)、--json boolean(任意) 変更あり/JSON envelope PUT /api/providers/{provider}/model-display-names
models order status
ocx models order status [--json]
--json boolean(任意) 変更なし/JSON envelope GET /api/subagent-models
models order set
ocx models order set (--models <csv> &#124; --mode <default&#124;alphabetical&#124;provider&#124;most-used>) [--json]
--models string(任意)、--mode string(任意)、--json boolean(任意) 変更あり/JSON envelope GET /api/subagent-models、GET /api/models、GET /api/usage、PUT /api/subagent-models
models order reset
ocx models order reset [--json]
--json boolean(任意) 変更あり/JSON envelope PUT /api/subagent-models

v2.100.5からの移行と実行確認

ocx --version
ocx help config validate
ocx help api explain
ocx capabilities --json

v2.100.7で増えた公開宣言は account probe、connect agy、connect antigravity、connect antigravity status、disconnect antigravity、models discover の6件です。診断や検出でも上流に通信する操作があるため、引数なしで一括実行せずヘルプで送信先を確認します。

調べること 実行条件 結果の例
ocx config validate --json 設定ファイルがある {"ok":true,"source":"…/config.json"}。上流資格情報は検査しない
ocx api explain --model deepseek/deepseek-flash --inbound responses --json OpenCodexが稼働し管理接続が通る basis: "preview" と candidates。候補のproviderを確認
ocx status --json CLIと稼働中プロキシの設定先が一致 版情報と稼働状態。上流・カタログの成功は別途確認

モデル名を解決できていない場合、予想したプロバイダーと別の候補が表示されることがあります。 candidates[].provider と upstream が意図どおりであることを確認してから生成へ進みます。

症状から確認する

症状 切り分け 確認コマンド・画面 次の操作
管理HTTPへ接続できない 設定ホームと稼働ポートが違う ocx resolve --json と ocx --version プロキシの実効ポートと版を揃える
期待したプロバイダーと違う 既定候補、モデル登録、別名 ocx api explain --model ... --inbound responses --json 対象を明示し、フォールバックの課金を確認