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 probeocx 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 addocx 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 portocx link port [--json] |
--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
link statusocx link status [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/link/status |
link diagnosticsocx link diagnostics [--limit <n>] [--since <iso-time|epoch-ms>] [--json] |
--limit number(任意)、--since string(任意)、--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
link revokeocx 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 recoverocx link recover (--link-id <id> | --operation-id <id>) [--json] | --list [--json] | --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 reconnectocx link reconnect --link-id <id> [--json] |
--link-id string(必須)、--json boolean(任意) |
変更あり/JSON envelope |
POST /api/link/{id}/reconnect |
link cleanupocx link cleanup [--link-id <id>] [--json] |
--link-id string(任意)、--json boolean(任意) |
変更なし/JSON payload |
対象の管理APIなし |
remote-workspace pairocx 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 agentocx remote-workspace agent |
なし | 変更あり/JSON none |
対象の管理APIなし |
remote-workspace statusocx remote-workspace status [--json] |
--json boolean(任意) |
変更なし/JSON payload |
対象の管理APIなし |
connect rotateocx 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 protocolsocx api protocols [--provider <name>] [--json] |
--provider string(任意)、--json boolean(任意) |
変更なし/JSON payload |
GET /api/protocols |
api explainocx api explain --model <id> --inbound <responses|chat|messages> [--feature <key>[,<key>]]... [--json] |
--model string(必須)、--inbound string(必須)、--feature string(任意)、--json boolean(任意) |
変更なし/JSON payload |
POST /api/protocols/plan |
api policyocx api policy [--messages <on|off>] [--unrepresentable <legacy|reject>] [--rollout <switch>=<on|off>]... [--json] |
--messages string(任意)、--unrepresentable string(任意)、--rollout string(任意)、--json boolean(任意) |
変更あり/JSON payload |
GET /api/protocols、PATCH /api/protocols/settings |
connect antigravityocx connect antigravity [--model <id>] [--json] |
--model string(任意)、--json boolean(任意) |
変更あり/JSON payload |
POST /api/gateway-clients/{id}/connect |
connect agyocx connect agy [--json] |
--json boolean(任意) |
変更あり/JSON payload |
POST /api/gateway-clients/{id}/connect |
connect antigravity statusocx connect antigravity|agy status [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/gateway-clients |
disconnect antigravityocx disconnect antigravity|agy [--json] |
--json boolean(任意) |
変更あり/JSON payload |
POST /api/gateway-clients/{id}/disconnect |
disconnectocx disconnect [--keep-catalog] [--recover-config --yes] [--json] [--expect-link <linkId>] | 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 disableocx hub disable [--revoke-clients --client-key <id> ...] [--json] |
--revoke-clients boolean(任意)、--client-key string(任意)、--json boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
access keyocx 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 listocx access key list [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/keys |
access key getocx access key get <id-or-name> [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/keys |
access key setocx 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 commitocx access key rotate commit <id> <rotation-id> [--json] |
--json boolean(任意) |
変更あり/JSON payload |
POST /api/keys/rotate/commit |
access key rotate abortocx access key rotate abort <id> <rotation-id> [--json] |
--json boolean(任意) |
変更あり/JSON payload |
DELETE /api/keys/rotate |
access key removeocx access key remove <id> --yes [--json] |
--yes boolean(必須)、--json boolean(任意) |
変更あり/JSON payload |
DELETE /api/keys |
access endpointsocx access endpoints [--json] |
--json boolean(任意) |
変更なし/JSON envelope |
GET /api/keys |
access modelsocx access models [--json] |
--json boolean(任意) |
変更なし/JSON payload |
対象の管理APIなし |
access testocx access test <model> [--protocol <chat|responses|messages>] [--api-key-stdin] [--json] |
--protocol string(任意)、--json boolean(任意)、--api-key-stdin boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
remote-workspace hub statusocx remote-workspace hub status [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/remote-workspace |
remote-workspace hub runtimesocx remote-workspace hub runtimes [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/remote-workspace/runtimes |
remote-workspace hub sessionsocx remote-workspace hub sessions [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/remote-workspace/sessions |
access key renameocx access key rename <id-or-name> <name> [--json] |
--json boolean(任意) |
変更あり/JSON payload |
GET /api/keys、PATCH /api/keys |
access audio transcribeocx access audio transcribe <file> --model <gpt-4o-transcribe|gpt-4o-mini-transcribe|whisper-1> --api-key-stdin [--json] |
--model string(必須)、--api-key-stdin boolean(必須)、--json boolean(任意) |
変更あり/JSON payload |
対象の管理APIなし |
access audio live-checkocx access audio live-check --model <id> --api-key-stdin [--json] |
--model string(必須)、--api-key-stdin boolean(必須)、--json boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
link checkocx link check (--link-id <id> | --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 updateocx link update (--link-id <id> | --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 syncocx link sync (--link-id <id> | --all) [--no-wait] [--json] | ocx link sync --link-id <id> (--restart-app-server-only | --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-codexocx link restart-codex --link-id <id> [--scope app-server|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 startocx link capture start [--minutes <1-60>] [--json] |
--minutes number(任意)、--json boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
link capture stopocx link capture stop [--json] |
--json boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
link capture statusocx link capture status [--json] |
--json boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
link policyocx link policy [--updates off|notify|auto-when-idle] [--catalog-fanout auto|manual] [--child-codex-restart never|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 routesocx link routes --link-id <id> [--json] |
--link-id string(必須)、--json boolean(任意) |
変更なし/JSON payload |
GET /api/link/{id}/routes |
link routes addocx 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 removeocx 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 orderocx 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 operationsocx link operations [--operation-id <id>] [--json] |
--operation-id string(任意)、--json boolean(任意) |
変更なし/JSON payload |
GET /api/link/operations、GET /api/link/operations/{id} |
link operations resolveocx 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 clearocx link activity clear --link-id <id> [--json] |
--link-id string(必須)、--json boolean(任意) |
変更あり/JSON payload |
POST /api/link/children/activity/clear |
アカウント(44件)
| コマンドと構文 | フラグ・型 | 変更・JSON | ローカル管理API |
|---|---|---|---|
account loginocx account login <provider> [--id <account-id>] [--reauth] [--device] [--method <builder-id|google|github>] [--code -] [--no-wait] [--open-browser <on|off>] [--add-account <on|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 historyocx account history openai <pool-account-id> [--limit <1-200>] [--json] |
--json boolean(任意)、--limit number(任意) |
変更なし/JSON payload |
GET /api/codex-auth/quota/history |
account main reauthocx 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 listocx 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-orcaocx 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 refreshocx 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-couponsocx 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 pauseocx account pause <provider> <account-id|alias|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 resumeocx account resume <provider> <account-id|alias|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-exhaustedocx account pause-exhausted <provider> [--json] |
--json boolean(任意) |
変更あり/JSON envelope |
PUT /api/codex-auth/accounts/pause-exhausted |
account strategyocx account strategy <provider> [quota|round-robin|fill-first|reset-near-weighted|least-loaded|reset-first] [--json] |
--json boolean(任意) |
変更あり/JSON envelope |
GET /api/pool/settings、PUT /api/pool/settings |
account stickyocx account sticky <provider> [1-100] [--json] |
--json boolean(任意) |
変更あり/JSON envelope |
GET /api/pool/settings、PUT /api/pool/settings |
account routesocx account routes anthropic [--file <json-file>|--clear] [--json] |
--file string(任意)、--clear boolean(任意)、--json boolean(任意) |
変更あり/JSON payload |
GET /api/pool/settings、PUT /api/pool/settings |
account auto-switchocx account auto-switch <provider> <status|on|off|threshold <0-100>|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-affinityocx account reset-affinity <anthropic|anthropic2> [--json] |
--json boolean(任意) |
変更あり/JSON envelope |
PUT /api/oauth/accounts/affinity-reset |
account preserve-signed-inocx account preserve-signed-in openai [on|off|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 |
logoutocx logout <provider> [--live] [--json] |
--live boolean(任意)、--json boolean(任意) |
変更あり/JSON envelope |
POST /api/oauth/logout |
account currentocx 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 useocx account use <provider> <account-or-key-id|alias|main|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 clearocx account clear <provider> [--json] |
--json boolean(任意) |
変更あり/JSON envelope |
PUT /api/codex-auth/active |
account aliasocx account alias <provider> <account-or-key-id|alias> <display-name|-> [--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 priorityocx account priority <provider> <account-id|alias|main> [<-100..100|first|earlier|normal|later|last|reset>] [--json] |
--json boolean(任意) |
変更あり/JSON envelope |
GET /api/codex-auth/accounts、GET /api/codex-auth/active、PUT /api/codex-auth/accounts/priority |
account clear-cooldownocx account clear-cooldown <provider> <account-id|alias|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 removeocx account remove <provider> <account-or-key-id|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-keyocx account add-key <provider> [--label <label>] [--json] |
--label string(任意)、--json boolean(任意) |
変更あり/JSON envelope |
POST /api/providers/keys |
account probeocx account probe google-antigravity [<account-id|alias>] [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/oauth/accounts、POST /api/oauth/accounts/probe |
account importocx account import google-antigravity --format cockpit-tools (--file <path>|--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 reauthocx account reauth <provider> [--id <account-id>] [--device] [--code -] [--no-wait] [--open-browser <on|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 codeocx 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 cancelocx 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-creditsocx account reset-credits <account-id|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 doctorocx account main doctor [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/native-main-profiles/doctor |
account main listocx account main list [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/native-main-profiles |
account main registerocx account main register <label> [--json] |
--json boolean(任意) |
変更あり/JSON payload |
POST /api/native-main-profiles/register |
account main addocx 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 statusocx account main reauth status --flow <id> [--json] |
--flow string(必須)、--json boolean(任意) |
変更なし/JSON payload |
GET /api/codex-auth/main/reauth-device |
account main reauth cancelocx account main reauth cancel --flow <id> [--json] |
--flow string(必須)、--json boolean(任意) |
変更あり/JSON payload |
DELETE /api/codex-auth/main/reauth-device |
account main switchocx account main switch <profile-id-or-label> --yes [--json] |
--yes boolean(必須)、--json boolean(任意) |
変更あり/JSON payload |
POST /api/native-main-profiles/switch |
account main recoverocx account main recover [--rollback --yes] [--json] |
--rollback boolean(任意)、--yes boolean(任意)、--json boolean(任意) |
変更あり/JSON payload |
POST /api/native-main-profiles/recover |
account poolocx account pool <provider> [--enabled <on|off>] [--threshold <0-100>] [--strategy <name>] [--sticky <1-100>] [--quota-window <five-hour|weekly|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-remainingocx account use-remaining openai <id|alias|main> <on|off|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 creditsocx account credits openai <id|alias|main> <on|off> [--json]; ocx account credits openai --all <on|off> [--json] |
--all boolean(任意)、--json boolean(任意) |
変更あり/JSON envelope |
GET /api/codex-auth/accounts、PUT /api/codex-auth/accounts/credits |
account quota-activationocx account quota-activation openai <id|alias|main> --window <fiveHour|weekly> <on|off> [--json] |
--window string(必須)、--json boolean(任意) |
変更あり/JSON envelope |
GET /api/codex-auth/accounts、PUT /api/settings |
account anthropic-reset-grantsocx account anthropic-reset-grants [account-id] [--provider anthropic|anthropic2] [--json] |
--provider string(任意)、--json boolean(任意) |
変更なし/JSON envelope |
GET /api/anthropic/reset-grants |
エージェントとルーティング(71件)
| コマンドと構文 | フラグ・型 | 変更・JSON | ローカル管理API |
|---|---|---|---|
agent subagents forceocx agent subagents force <model|-> [--json] |
--json boolean(任意) |
変更あり/JSON payload |
PUT /api/subagent-models |
agent request-user-inputocx agent request-user-input [on|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 rolesocx 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 injectionocx agent injection status [--json]; ocx agent injection set [--model <id|->] [--effort <level|->] [--prompt <text|->] [--guidance <on|off>] [--sync-codex-defaults <on|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 testocx combo test [--combo <id>] [--decision-provider <provider|jev> | --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 discoverocx combo discover [--query <text>] [--json] |
--query string(任意)、--json boolean(任意) |
変更なし/JSON payload |
GET /api/combos/decision-discovery |
message sessionsocx message sessions |
--json boolean(任意)、--host string(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
message sendocx message send |
--thread string(任意)、--name string(任意)、--stdin boolean(必須)、--kind string(任意)、--in-reply-to string(任意)、--json boolean(任意)、--host string(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
message mcpocx 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なし |
advisorocx advisor |
--json boolean(任意)、--context-mode string(任意) |
変更あり/JSON payload |
GET /api/advisor/settings、GET /api/advisor/activity、PUT /api/advisor/settings |
message enableocx message enable |
--port number(任意)、--json boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
message disableocx message disable |
--json boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
message statusocx message status |
--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
message serveocx message serve |
--host string(任意)、--json boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
message hosts probeocx message hosts probe |
--ssh string(必須)、--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
message hosts addocx message hosts add <alias> --ssh <destination> --fingerprint <SHA256> [--json] |
--ssh string(必須)、--fingerprint string(必須)、--json boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
message hosts allow-inboundocx message hosts allow-inbound <alias-or-machine-uuid> [--json] |
--json boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
message hosts deny-inboundocx message hosts deny-inbound <alias-or-machine-uuid> [--json] |
--json boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
message hosts listocx message hosts list |
--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
message hosts removeocx message hosts remove <alias-or-machine-uuid> [--transaction <uuid>] [--json] |
--transaction string(任意)、--json boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
message hosts abandonocx message hosts abandon --transaction <uuid> [--json] |
--transaction string(必須)、--json boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
agent statusocx 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 effortocx agent effort status [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/effort-caps |
agent effort setocx agent effort set [--main <level|->] [--subagent <level|->] [--json] |
--main string(任意)、--subagent string(任意)、--json boolean(任意) |
変更あり/JSON payload |
PUT /api/effort-caps |
agent subagentsocx agent subagents status [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/subagent-models |
agent subagents setocx agent subagents set <model,model...> [--json] |
--json boolean(任意) |
変更あり/JSON payload |
PUT /api/subagent-models |
agent subagents clearocx agent subagents clear [--json] |
--json boolean(任意) |
変更あり/JSON payload |
PUT /api/subagent-models |
agent fallbackocx agent fallback status [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/subagent-model-fallback |
agent fallback setocx agent fallback set [model,model...] [--poll-ms <5000-600000>] [--json] |
--poll-ms number(任意)、--json boolean(任意) |
変更あり/JSON payload |
PUT /api/subagent-model-fallback |
agent fallback clearocx agent fallback clear [--poll-ms <5000-600000>] [--json] |
--poll-ms number(任意)、--json boolean(任意) |
変更あり/JSON payload |
PUT /api/subagent-model-fallback |
agent sidecarocx agent sidecar status [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/sidecar-settings |
agent sidecar webocx agent sidecar web (--list | [--model <id|->] [--backend <openai|anthropic|xai|gemini|exa|->] [--reasoning <level>] [--enabled <on|off>] [--stream-routed-output <on|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 visionocx agent sidecar vision (--list | [--model <id|->] [--backend <openai|anthropic|routed|->] [--reasoning <level>] [--max-descriptions <n>] [--enabled <on|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 |
fallbackocx fallback [status] [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/fallback |
fallback offocx fallback off [--kind model|provider|all] [--provider <name> | --route <selector> | --device <id|alias>] [--json] |
--kind string(任意)、--provider string(任意)、--route string(任意)、--device string(任意)、--json boolean(任意) |
変更あり/JSON payload |
PUT /api/fallback |
fallback onocx fallback on [--kind model|provider|all] [--provider <name> | --route <selector> | --device <id|alias>] [--json] |
--kind string(任意)、--provider string(任意)、--route string(任意)、--device string(任意)、--json boolean(任意) |
変更あり/JSON payload |
PUT /api/fallback |
fallback clearocx fallback clear [--kind model|provider|all] [--provider <name> | --route <selector> | --device <id|alias>] [--json] |
--kind string(任意)、--provider string(任意)、--route string(任意)、--device string(任意)、--json boolean(任意) |
変更あり/JSON payload |
PUT /api/fallback |
fallback localocx fallback local <on|off> --device <id|alias> [--json] |
--device string(任意)、--json boolean(任意) |
変更あり/JSON payload |
PUT /api/fallback |
effortocx effort [status|low|medium|high|xhigh|max|ultra|->] [--json] |
--json boolean(任意) |
変更あり/JSON envelope |
GET /api/effort-caps、GET /api/injection-model、PUT /api/effort-caps |
effort setocx effort set [--main <level|->] [--subagent <level|->] [--injection <level|->] [--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 clearocx effort clear [--json] |
--json boolean(任意) |
変更あり/JSON envelope |
PUT /api/effort-caps、GET /api/effort-caps、GET /api/injection-model |
effort modelocx effort model <provider/model|model> [--json] |
--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
v2 statusocx v2 [status] [--live] [--json] |
--live boolean(任意)、--json boolean(任意) |
変更なし/JSON envelope |
GET /api/v2 |
v2 onocx v2 on [--live] [--json] |
--live boolean(任意)、--json boolean(任意) |
変更あり/JSON envelope |
PUT /api/v2 |
v2 offocx v2 off [--live] [--json] |
--live boolean(任意)、--json boolean(任意) |
変更あり/JSON envelope |
PUT /api/v2 |
v2 modeocx v2 mode <v1|default|v2|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-v1ocx v2 keep-native-v1 <on|off> [--live] [--json] |
--live boolean(任意)、--json boolean(任意) |
変更あり/JSON envelope |
PUT /api/v2 |
v2 threadsocx v2 threads <n> [--live] [--json] |
--live boolean(任意)、--json boolean(任意) |
変更あり/JSON envelope |
PUT /api/v2 |
v2 mode-hintocx v2 mode-hint <text|--clear> [--live] [--json]; ocx v2 mode-hint [--live] [--json] -- <literal-text> |
--clear boolean(任意)、--live boolean(任意)、--json boolean(任意) |
変更あり/JSON envelope |
PUT /api/v2 |
combo listocx combo list [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/combos |
combo showocx combo show <id> [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/combos |
combo setocx combo set <id> [--targets <provider/model[:weight],...> | --targets-file <FILE|->] [--strategy <failover|round-robin|random|least-used|reset-window|jev>] [--sticky <1-100|->] [--cooldown-reprobe <on|off>] [--cooldown-reprobe-interval <ms>] [--effort <low|medium|high|xhigh|max|ultra|->] [--effort-mode <fallback|force|->] [--alias <name|->] [--native-alias [on|off]] [--allow-metered-targets <on|off>] [--display-name <label|->] [--description <text|->] [--decision-provider <provider|-> | --decision-model <route|->] [--decision-timeout <ms|->] [--decision-quota-signals <on|off|->] [--decision-quota-tiers <JSON|->] [--session-pin <duration|->] [--session-pin-effort <pinned|per-turn>] [--rename-from <id>] [--image-input <auto|disabled>] [--reasoning-effort-mode <strict|adaptive>] [--jev-effort-mode <decide|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 removeocx combo remove <id> --yes [--json] |
--yes boolean(必須)、--json boolean(任意) |
変更あり/JSON payload |
DELETE /api/combos |
route policy listocx route policy list [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/routing-profiles |
route policy showocx route policy show <id> [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/routing-profiles |
route policy dry-runocx 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 evaluateocx 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 createocx route policy create <id> --file <FILE|-> [--json] |
--file string(必須)、--json boolean(任意) |
変更あり/JSON envelope |
PUT /api/routing-profiles |
route policy updateocx route policy update <id> --file <FILE|-> --expected-revision <revision> [--json] |
--file string(必須)、--expected-revision string(必須)、--json boolean(任意) |
変更あり/JSON envelope |
PUT /api/routing-profiles |
route policy removeocx route policy remove <id> --yes [--json] |
--yes boolean(必須)、--json boolean(任意) |
変更あり/JSON envelope |
DELETE /api/routing-profiles |
combo statsocx combo stats <id> [--range <7d|30d|all>] [--json] |
--range string(任意)、--json boolean(任意) |
変更なし/JSON envelope |
GET /api/usage |
agent memory-models showocx agent memory-models show [--json] |
--json boolean(任意) |
変更なし/JSON envelope |
GET /api/settings |
agent memory-models setocx agent memory-models set (--file <FILE|-> | [--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 clearocx agent memory-models clear [--json] |
--json boolean(任意) |
変更あり/JSON envelope |
PUT /api/settings |
agent compaction-routing showocx agent compaction-routing show [--json] |
--json boolean(任意) |
変更なし/JSON envelope |
GET /api/settings |
agent compaction-routing setocx agent compaction-routing set (--file <FILE|-> | --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 clearocx agent compaction-routing clear [--json] |
--json boolean(任意) |
変更あり/JSON envelope |
PUT /api/settings |
memoryocx memory [--limit <n>] [--json] |
--limit number(任意)、--json boolean(任意) |
変更なし/JSON payload |
GET /api/system/memory |
route toocx route to <client> <on|off|inherit> [--device <alias|id|this>] [--accounts <all|none|userId,...>] [--model-names <alias|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 statusocx route to status [--device <alias|id|all|this>] [--json] |
--device string(任意)、--json boolean(任意) |
変更なし/JSON payload |
GET /api/route-to |
route to syncocx route to sync [--device <alias|id|all|this>] [--overwrite-conflict] [--json] |
--device string(任意)、--overwrite-conflict boolean(任意)、--json boolean(任意) |
変更あり/JSON payload |
POST /api/route-to/sync |
クライアント連携(41件)
| コマンドと構文 | フラグ・型 | 変更・JSON | ローカル管理API |
|---|---|---|---|
claude configocx claude config status [--json]; ocx claude config set [--enabled <on|off>] [--auth-mode <auto|proxy|subscription>] [--system-env <on|off>] [--fast-mode <on|off>] [--auto-context <on|off>] [--compact-window <tokens|default>] [--context-accounting <1m|200k>] [--inject-agents <on|off>] [--native-passthrough <on|off>] [--small-fast-model <id|->] [--model-map <from=to,...|->] [--blocked-skills <name,name|->] [--web-model <id|->] [--web-backend <openai|anthropic|xai|gemini|exa|->] [--vision-model <id|->] [--vision-backend <openai|anthropic|->] [--json]; or ocx claude config set --first-party <on|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 startocx claude intercept start [--json] |
--json boolean(任意) |
変更あり/JSON payload |
POST /api/claude-intercept/start |
claude desktop statusocx claude desktop status [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/claude-desktop/status |
claude desktop bindocx claude desktop bind <picker-model-id> <provider/model|native/slug> |
なし | 変更あり/JSON none |
PUT /api/claude-desktop/first-party-bindings |
claude desktop unbindocx claude desktop unbind <picker-model-id> |
なし | 変更あり/JSON none |
PUT /api/claude-desktop/first-party-bindings |
claude desktop picker statusocx claude desktop picker status [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/claude-desktop/picker |
claude desktop picker onocx claude desktop picker on |
なし | 変更あり/JSON none |
PUT /api/claude-desktop/picker |
claude desktop picker offocx claude desktop picker off |
なし | 変更あり/JSON none |
PUT /api/claude-desktop/picker |
claude desktop picker trustocx claude desktop picker trust |
なし | 変更あり/JSON none |
GET /api/claude-desktop/picker、PUT /api/claude-desktop/picker |
integration nativeocx integration native [list] [--json]; ocx integration native <claude|claude-desktop|codex|grok> <on|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 clientocx 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|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 statusocx grok status [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/grok |
grok setocx grok set <model,model...> [--json] |
--json boolean(任意) |
変更あり/JSON payload |
PUT /api/grok/selection |
grok excludeocx grok exclude <model,model...> [--json] |
--json boolean(任意) |
変更あり/JSON payload |
GET /api/grok、PUT /api/grok/selection |
grok includeocx grok include <model,model...> [--json] |
--json boolean(任意) |
変更あり/JSON payload |
GET /api/grok、PUT /api/grok/selection |
grok clearocx grok clear [--json] |
--json boolean(任意) |
変更あり/JSON payload |
PUT /api/grok/selection |
grok applyocx grok apply [--json] |
--json boolean(任意) |
変更あり/JSON payload |
POST /api/grok/apply |
integration client statusocx 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 historyocx 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 enableocx integration client enable --client <id> [--profile <id>] [--overwrite-conflict] [--plan-fingerprint <token>] [--model-names <alias|routed>] [--reasoning-default <model=effort> ... | --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 disableocx 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 restoreocx integration client restore --op <opId> [--client aside --profile <id>] [--confirm-drift] [--preview | --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 restoreocx commandcode restore --op <opId> [--confirm-drift] [--preview | --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 statusocx claude config status [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/claude-code |
claude config setocx claude config set [--enabled <on|off>] [--auth-mode <auto|proxy|subscription>] [--system-env <on|off>] [--fast-mode <on|off>] [--auto-context <on|off>] [--compact-window <tokens|default>] [--context-accounting <1m|200k>] [--inject-agents <on|off>] [--native-passthrough <on|off>] [--small-fast-model <id|->] [--model-map <from=to,...|->] [--blocked-skills <name,name|->] [--web-model <id|->] [--web-backend <openai|anthropic|xai|gemini|exa|->] [--vision-model <id|->] [--vision-backend <openai|anthropic|->] [--json]; or ocx claude config set --first-party <on|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 showocx claude desktop show [--json] |
--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
claude desktop moveocx claude desktop move <provider/model> <opus|fable|sonnet|haiku> [--default] |
--default boolean(任意) |
変更あり/JSON none |
対象の管理APIなし |
claude desktop defaultocx claude desktop default <opus|fable|sonnet|haiku> <provider/model|none> |
なし | 変更あり/JSON none |
対象の管理APIなし |
claude desktop exportocx claude desktop export <path|-> |
なし | 変更あり/JSON none |
対象の管理APIなし |
claude desktop importocx claude desktop import <path> [--apply] |
--apply boolean(任意) |
変更あり/JSON none |
POST /api/claude-desktop/apply |
claude desktop applyocx claude desktop [apply] [--first-party | --gateway [--static|--hybrid|--discovery-only]] |
--first-party boolean(任意)、--gateway boolean(任意)、--static boolean(任意)、--hybrid boolean(任意)、--discovery-only boolean(任意) |
変更あり/JSON none |
POST /api/claude-desktop/apply |
integration client previewocx integration client preview --client <id> --operation <apply|overwrite|disable> [--profile <id>] [--model-names <alias|routed>] [--reasoning-default <model=effort> ... | --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 removeocx 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 syncocx integration client sync --client aside [--json] |
--client string(必須)、--json boolean(任意) |
変更あり/JSON envelope |
POST /api/client-integrations/aside/sync |
claude desktop profile showocx claude desktop profile show [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/claude-desktop |
claude desktop profile importocx claude desktop profile import <file|-> [--json] |
--json boolean(任意) |
変更あり/JSON payload |
PUT /api/claude-desktop |
integration native cursor statusocx integration native cursor status [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/native-integrations/cursor |
integration native cursor local-installerocx integration native cursor local-installer [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/native-integrations/cursor/local-installer |
codex-shim installocx codex-shim install |
なし | 変更あり/JSON none |
対象の管理APIなし |
codex-shim statusocx codex-shim status |
なし | 変更なし/JSON none |
対象の管理APIなし |
codex-shim uninstallocx codex-shim uninstall |
なし | 変更あり/JSON none |
対象の管理APIなし |
実験機能(21件)
| コマンドと構文 | フラグ・型 | 変更・JSON | ローカル管理API |
|---|---|---|---|
lab statusocx lab status [--json] |
--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
lab verdictsocx 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 subjectsocx lab subjects [--kind <kind>] [--limit <n>] [--cursor <cursor>] [--json] |
--kind string(任意)、--limit number(任意)、--cursor string(任意)、--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
lab observationsocx 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 eventsocx lab events [--event-kind <event-kind>] [--subject <subject>] [--from <ms>] [--to <ms>] [--excluded <true|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 artifactsocx 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 catalogocx lab catalog [--layer <layer>] [--suite <suite>] [--json] |
--layer string(任意)、--suite string(任意)、--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
lab subjectocx lab subject <subjectId> [--json] |
--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
lab eventocx lab event <eventId> [--json] |
--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
lab artifactocx lab artifact <digest> [--json] |
--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
lab production-signalsocx lab production-signals --subject <id> [--limit <n>] [--json] |
--subject string(必須)、--limit number(任意)、--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
lab public previewocx lab public preview --event <eventId> [--event <eventId> ...] [--json] |
--event string(必須)、--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
lab public exportocx lab public export --event <eventId> [--event <eventId> ...] [--json] |
--event string(必須)、--json boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
lab public verifyocx lab public verify --file <bundle.json> [--json] |
--file string(必須)、--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
lab public importocx lab public import --file <bundle.json> [--json] |
--file string(必須)、--json boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
lab public communityocx lab public community [--json] |
--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
lab automation statusocx lab automation [status] [--json] |
--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
lab automation enableocx lab automation enable [--protocol] [--live] [--json] |
--protocol boolean(任意)、--live boolean(任意)、--json boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
lab automation disableocx lab automation disable [--json] |
--json boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
lab automation runsocx lab automation runs [--limit <n>] [--cursor <c>] [--json] |
--limit number(任意)、--cursor string(任意)、--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
lab runocx lab run --layer <protocol_conformance|live_route_compatibility|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-providerocx codex-provider <status|allow <id> [--yes]|revoke <id>> |
--yes boolean(任意) |
変更あり/JSON none |
対象の管理APIなし |
chatgptocx chatgpt |
なし | 変更あり/JSON none |
対象の管理APIなし |
statusocx status |
--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
resolveocx resolve |
--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
capabilitiesocx capabilities |
--json boolean(任意)、--contracts boolean(任意)、--mutating-only boolean(任意)、--route string(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
syncocx sync [--expect-link <linkId> | --expect-hub-key <apiKeyId>] [--overwrite-conflict [--overwrite-client <id>]] [--local-only] [--json] [--restart-codex] [--restart-app-server-only] [--child <linkId>]... [--restart-children[=app-server] | --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 |
stopocx stop [--json] |
--json boolean(任意) |
変更あり/JSON envelope |
GET /api/stop、POST /api/stop |
service installocx service install [--native|--scheduler] |
--native boolean(任意)、--scheduler boolean(任意) |
変更あり/JSON none |
対象の管理APIなし |
service repairocx service repair |
なし | 変更あり/JSON none |
対象の管理APIなし |
service restartocx service restart |
なし | 変更あり/JSON none |
対象の管理APIなし |
service startocx service start |
なし | 変更あり/JSON none |
対象の管理APIなし |
service stopocx service stop |
なし | 変更あり/JSON none |
対象の管理APIなし |
service statusocx service status [--json] |
--json boolean(任意) |
変更なし/JSON payload |
対象の管理APIなし |
service uninstallocx service uninstall |
なし | 変更あり/JSON none |
対象の管理APIなし |
監視・システム(104件)
| コマンドと構文 | フラグ・型 | 変更・JSON | ローカル管理API |
|---|---|---|---|
updateocx update |
--plan boolean(任意)、--yes boolean(任意)、--json boolean(任意)、--tag string(任意)、--version string(任意)、--expect-plan string(任意)、--not-after string(任意)、--desktop boolean(任意)、--check boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
companionocx companion show [--json] | ocx companion set <key>=<value> [...] [--json] | ocx companion reset [--json] |
--json boolean(任意) |
変更あり/JSON payload |
GET /api/companion/settings、PUT /api/companion/settings |
usageocx usage [--range <today|1d|7d|30d|all>] [--surface <all|codex|claude|grok>] [--since <epoch-ms|ISO-datetime>] [--until <epoch-ms|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 |
logsocx logs [--provider <name>] [--model <id>] [--status <code>] [--conversation <id>] [--account <label>] [--limit <n>] [--follow] [--json|--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 reportocx storage report [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/storage |
storage cleanupocx storage cleanup --percent <0-100> [--mode <quarantine|permanent>] [--yes] [--json] |
--percent number(任意)、--mode string(任意)、--yes boolean(任意)、--json boolean(任意) |
変更あり/JSON payload |
POST /api/storage/cleanup/preview、POST /api/storage/cleanup |
storage trashocx storage trash [list] [--json] | ocx storage trash restore <entry-id> --yes [--json] |
--yes boolean(任意)、--json boolean(任意) |
変更あり/JSON payload |
GET /api/storage/trash、POST /api/storage/trash/restore |
storage policyocx storage policy [show] [--json] | ocx storage policy set [--enabled <true|false>] [--percent <1-100>] [--mode <quarantine|permanent>] [--schedule <startup|daily|weekly|manual>] [--json] | 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 configocx inspect config |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/config |
inspect catalogocx inspect catalog |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/catalog |
inspect routing-analyticsocx inspect routing-analytics |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/routing-analytics |
inspect pacingocx inspect pacing |
--name string(任意)、--json boolean(任意) |
変更なし/JSON payload |
GET /api/provider-request-pacing |
inspect key-providersocx inspect key-providers |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/key-providers |
inspect codex-promptocx inspect codex-prompt |
--text boolean(任意)、--json boolean(任意) |
変更なし/JSON payload |
GET /api/codex-prompt、GET /api/codex-prompt/text |
inspect client-configocx inspect client-config |
--client string(任意)、--json boolean(任意) |
変更なし/JSON payload |
GET /api/client-config |
inspect starocx inspect star |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/github/star |
inspect windows-trayocx inspect windows-tray |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/windows-tray |
system codex-app-serverocx system codex-app-server [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/system/codex-app-server |
system codex-cli-update checkocx system codex-cli-update check [--json] |
--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
system codex-cli-update attestocx 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 planocx system codex-cli-update plan [--channel latest] [--json] |
--channel string(任意)、--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
system codex-cli-update applyocx 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 statusocx system codex-cli-update status <job-id> [--json] |
--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
system codex-restartocx system codex-restart --yes [--json] |
--yes boolean(任意)、--json boolean(任意) |
変更あり/JSON payload |
POST /api/system/codex-restart |
logs filterocx logs filter [--surface <all|codex|claude|grok>] [--model <id>] [--provider <name>] [--status <all|success|errors>] [--time-window <all|15m|1h|24h>] [--min-tok-per-sec <n>] [--max-tok-per-sec <n>] [--intercepted-only] [--protocol-mode <all|native|translated|legacy-bridge|blocked|none>] [--conversation <id>] [--scan-limit <1-2000>] [--limit <1-2000>] [--json|--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 filterocx observe logs filter [--surface <all|codex|claude|grok>] [--model <id>] [--provider <name>] [--status <all|success|errors>] [--time-window <all|15m|1h|24h>] [--min-tok-per-sec <n>] [--max-tok-per-sec <n>] [--intercepted-only] [--protocol-mode <all|native|translated|legacy-bridge|blocked|none>] [--conversation <id>] [--scan-limit <1-2000>] [--limit <1-2000>] [--json|--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 usageocx companion usage [--json] |
--json boolean(任意) |
変更なし/JSON envelope |
GET /api/companion/settings、GET /api/usage |
observe logsocx observe logs [--provider <name>] [--model <id>] [--status <code>] [--conversation <id>] [--account <label>] [--limit <n>] [--follow] [--json|--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 historyocx logs history [--provider <name>] [--model <id>] [--requested-model <id>] [--status <code>] [--conversation <id>] [--surface <name>] [--protocol <responses|chat|messages>] [--api-key-id <id>] [--profile <id>] [--fallback <true|false>] [--from <epoch-ms|ISO-datetime>] [--to <epoch-ms|ISO-datetime>] [--cursor <token>] [--limit <1-100>] [--json|--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 getocx logs get <request-id> [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/request-history/{id} |
logs explainocx logs explain <request-id> [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/request-history/{id}/route-decision |
logs rebuild-indexocx logs rebuild-index [--json] |
--json boolean(任意) |
変更あり/JSON payload |
対象の管理APIなし |
logs index-statusocx logs index-status [--json] |
--json boolean(任意) |
変更あり/JSON payload |
対象の管理APIなし |
observe usageocx observe usage [--range <today|1d|7d|30d|all>] [--surface <all|codex|claude|grok>] [--since <epoch-ms|ISO-datetime>] [--until <epoch-ms|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 compareocx usage compare [--range <today|1d|7d|30d>] [--surface <all|codex|claude|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 storageocx observe storage [--limit <n>] [--json] |
--limit number(任意)、--json boolean(任意) |
変更なし/JSON payload |
GET /api/storage |
observe memoryocx observe memory [--limit <n>] [--json] |
--limit number(任意)、--json boolean(任意) |
変更なし/JSON payload |
GET /api/system/memory |
observe debugocx observe debug [--limit <n>] [--json] |
--limit number(任意)、--json boolean(任意) |
変更なし/JSON payload |
GET /api/debug |
observe claude-inboundocx observe claude-inbound [--limit <n>] [--json] |
--limit number(任意)、--json boolean(任意) |
変更なし/JSON payload |
GET /api/claude/inbound-debug |
observe injectionocx 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 statusocx storage codex-logs status [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/storage/codex-logs |
storage codex-logs protectocx storage codex-logs protect [--mode <compat|quiet>] [--json] |
--mode string(任意)、--json boolean(任意) |
変更あり/JSON payload |
POST /api/storage/codex-logs/protect |
storage codex-logs unprotectocx storage codex-logs unprotect [--json] |
--json boolean(任意) |
変更あり/JSON payload |
POST /api/storage/codex-logs/unprotect |
storage codex-logs repairocx storage codex-logs repair [--json] |
--json boolean(任意) |
変更あり/JSON payload |
POST /api/storage/codex-logs/repair |
storage codex-logs compactocx storage codex-logs compact [--json] |
--json boolean(任意) |
変更あり/JSON payload |
POST /api/storage/codex-logs/compact |
storage trash listocx storage trash list [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/storage/trash |
storage policy showocx storage policy show [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/storage/cleanup-policy |
storage trash restoreocx storage trash restore <entry-id> --yes [--json] |
--yes boolean(必須)、--json boolean(任意) |
変更あり/JSON payload |
POST /api/storage/trash/restore |
storage policy setocx storage policy set [--enabled <true|false>] [--archived-bytes-over <bytes>] [--reduce-to-bytes <bytes> | --remove-oldest-percent <1-100> | --percent <1-100>] [--mode <quarantine|permanent>] [--schedule <startup|daily|weekly|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 runocx storage policy run --yes [--json] |
--yes boolean(必須)、--json boolean(任意) |
変更あり/JSON payload |
POST /api/storage/cleanup-policy/run |
debug providerocx debug provider [status|on|off|reset] |
なし | 変更あり/JSON none |
GET /api/debug、PUT /api/debug |
debug provider statusocx debug provider status |
なし | 変更なし/JSON none |
GET /api/debug |
debug provider onocx debug provider on |
なし | 変更あり/JSON none |
PUT /api/debug |
debug provider offocx debug provider off |
なし | 変更あり/JSON none |
PUT /api/debug |
debug provider resetocx debug provider reset |
なし | 変更あり/JSON none |
PUT /api/debug |
debug provider logsocx debug provider logs [-f|--follow] |
-f boolean(任意)、--follow boolean(任意) |
変更なし/JSON none |
GET /api/debug/logs |
debug usageocx debug usage [status|on|off|reset] |
なし | 変更あり/JSON none |
GET /api/debug、PUT /api/debug |
debug usage statusocx debug usage status |
なし | 変更なし/JSON none |
GET /api/debug |
debug usage onocx debug usage on |
なし | 変更あり/JSON none |
PUT /api/debug |
debug usage offocx debug usage off |
なし | 変更あり/JSON none |
PUT /api/debug |
debug usage resetocx debug usage reset |
なし | 変更あり/JSON none |
PUT /api/debug |
debug usage logsocx debug usage logs [-f|--follow] |
-f boolean(任意)、--follow boolean(任意) |
変更なし/JSON none |
GET /api/debug/usage-logs |
debug injectionocx debug injection [status|on|off|reset] |
なし | 変更あり/JSON none |
GET /api/debug、PUT /api/debug |
debug injection statusocx debug injection status |
なし | 変更なし/JSON none |
GET /api/debug |
debug injection onocx debug injection on |
なし | 変更あり/JSON none |
PUT /api/debug |
debug injection offocx debug injection off |
なし | 変更あり/JSON none |
PUT /api/debug |
debug injection resetocx debug injection reset |
なし | 変更あり/JSON none |
PUT /api/debug |
debug claudeocx debug claude [status|on|off|reset] |
なし | 変更あり/JSON none |
GET /api/debug、PUT /api/debug |
debug claude statusocx debug claude status |
なし | 変更なし/JSON none |
GET /api/debug |
debug claude onocx debug claude on |
なし | 変更あり/JSON none |
PUT /api/debug |
debug claude offocx debug claude off |
なし | 変更あり/JSON none |
PUT /api/debug |
debug claude resetocx debug claude reset |
なし | 変更あり/JSON none |
PUT /api/debug |
system statusocx system status [--json] |
--json boolean(任意) |
変更なし/JSON envelope |
GET /api/settings、GET /api/startup-health、GET /api/system/memory |
system settingsocx system settings [--auto-start <on|off>] [--stream-mode <auto|legacy-tee|eager-relay>] [--desktop-authless <on|off>] [--client-compaction <on|off>] [--show-codex-credits <on|off>] [--account-picker <on|off>] [--main-account-hard-lock <on|off>] [--ultra-fast-tier <on|off>] [--fast-rows <on|off>] [--reserve <on|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 healthocx system startup health [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/startup-health |
system startup install-serviceocx system startup install-service [--json] |
--json boolean(任意) |
変更あり/JSON payload |
POST /api/startup-action |
system startup install-shimocx system startup install-shim [--json] |
--json boolean(任意) |
変更あり/JSON payload |
POST /api/startup-action |
system diagnosticsocx system diagnostics [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/diagnostics/project-config |
system syncocx system sync [--json] |
--json boolean(任意) |
変更あり/JSON payload |
POST /api/sync |
system update checkocx system update check [--channel <latest|preview>] [--json] |
--channel string(任意)、--json boolean(任意) |
変更なし/JSON payload |
GET /api/update/check |
system update runocx system update run [--channel <latest|preview>] [--restart <on|off>] --yes [--json] |
--channel string(任意)、--restart string(任意)、--yes boolean(必須)、--json boolean(任意) |
変更あり/JSON payload |
POST /api/update/run |
system update statusocx system update status <job-id> [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/update/status |
config showocx config show [--json] [--source] |
--source boolean(任意)、--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
config getocx config get <dot.path> [--json] |
--json boolean(任意) |
変更なし/JSON payload |
対象の管理APIなし |
config setocx config set <dot.path> <json-or-string> [--json] |
--json boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
config unsetocx config unset <dot.path> [--json] |
--json boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
config validateocx config validate [path|-] [--json] |
--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
config importocx config import <path|-> --yes [--json] |
--yes boolean(必須)、--json boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
companion showocx companion show [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/companion/settings |
companion setocx companion set <key>=<value> [...] [--json] |
--json boolean(任意) |
変更あり/JSON payload |
PUT /api/companion/settings |
companion resetocx companion reset [--json] |
--json boolean(任意) |
変更あり/JSON payload |
PUT /api/companion/settings |
tray installocx tray install [--no-start] [--json] |
--no-start boolean(任意)、--json boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
tray startocx tray start [--json] |
--json boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
tray stopocx tray stop [--json] |
--json boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
tray statusocx tray status [--json] |
--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
tray uninstallocx tray uninstall [--json] |
--json boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
system healthocx system health [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/system/health |
companion timelineocx companion timeline [--hours <6|24|72|168>] [--bucket-minutes <1-1440>] [--metric <total|input|output|cached>] [--aggregation <sum|average|max>] [--grouping <model|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 statusocx telemetry status [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/telemetry |
telemetry enableocx telemetry enable [--json] |
--json boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
telemetry disableocx telemetry disable [--json] |
--json boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
telemetry profile statusocx telemetry profile status [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/telemetry/profile、GET /api/telemetry/profile/rank |
telemetry profile connectocx telemetry profile connect --handle <handle> [--name <display name>] [--avatar <colour>] [--json] |
--handle string(任意)、--name string(任意)、--avatar string(任意)、--json boolean(任意) |
変更あり/JSON envelope |
対象の管理APIなし |
telemetry profile disconnectocx telemetry profile disconnect [--json] |
--json boolean(任意) |
変更あり/JSON envelope |
DELETE /api/telemetry/profile |
プロバイダーとモデル(54件)
| コマンドと構文 | フラグ・型 | 変更・JSON | ローカル管理API |
|---|---|---|---|
models priceocx models price <provider/model> [--json] |
--json boolean(任意) |
変更なし/JSON envelope |
GET /api/providers/{provider}/model-costs |
models set-priceocx models set-price <provider/model> (--input <N> --output <N> [--cache-read <N>] [--cache-write <N>]|--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 setocx models set <provider/model> [--context-window <tokens|0|->] [--modalities <text,image,audio|->] [--reasoning-efforts <levels|->] [--default-reasoning-effort <level|->] [--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 listocx provider list [--json|--jsonl] |
--json boolean(任意)、--jsonl boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
provider resetsocx provider resets [--limit <n>] [--json] |
--json boolean(任意)、--limit number(任意) |
変更なし/JSON payload |
GET /api/quota-resets |
provider keychainocx provider keychain <name> [status|store|restore] [--json] |
--json boolean(任意) |
変更あり/JSON payload |
GET /api/providers/keychain、POST /api/providers/keychain |
provider addocx provider add <name> [--adapter <id>] [--base-url <url>] [--responses-path <path>] [--auth-mode <key|forward|oauth|local>] [--api-key <key>] [--api-key-transport <x-api-key|bearer>] [--default-model <id>] [--model <id> --text-only] [--google-tool-schema-policy <compatible|reject-lossy>] [--allow-private-network] [--set-default] [--force] [--sync | --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 showocx provider show <name> [--json] |
--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
provider removeocx provider remove <name> [--json]; ocx provider remove <name> --live --yes [--json] |
--live boolean(任意)、--yes boolean(任意)、--json boolean(任意) |
変更あり/JSON envelope |
DELETE /api/providers |
provider set-defaultocx provider set-default <name> [--live] [--json] |
--live boolean(任意)、--json boolean(任意) |
変更あり/JSON envelope |
PATCH /api/providers |
provider editocx provider edit <name> [--adapter <id>] [--base-url <url>] [--default-model <id|->] [--auth-mode <key|forward|oauth|local|->] [--note <text|->] [--api-key-transport <x-api-key|bearer|->] [--headers <json|->] [--enabled <on|off>] [--live-models <on|off>] [--retain-models <id,id|->] [--model <id> --text-only] [--xai-chat <on|off>] [--allow-private-network <on|off>] [--model-context-tier <model=default|long_context>] [--upstream-http-version <http1.1|->] [--fast <on|off>] [--context-window <tokens|->] [--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 testocx 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 quotaocx provider quota [--refresh] [--json] |
--refresh boolean(任意)、--json boolean(任意) |
変更なし/JSON payload |
GET /api/provider-quotas |
provider presetsocx provider presets [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/provider-presets |
provider account-modeocx provider account-mode <pool|direct> [--json] |
--json boolean(任意) |
変更あり/JSON payload |
PATCH /api/providers |
provider selectedocx provider selected <name> [--set <id,id...>|--clear] [--json] |
--set string(任意)、--clear boolean(任意)、--json boolean(任意) |
変更あり/JSON envelope |
GET /api/selected-models、PUT /api/selected-models |
provider import-cc-switchocx provider import-cc-switch [--source <cc-switch.db|config.json>] [--provider <id>]... [--apply | --restore] [--allow-private-network] [--json] |
--source string(任意)、--provider string(任意)、--apply boolean(任意)、--restore boolean(任意)、--allow-private-network boolean(任意)、--json boolean(任意) |
変更あり/JSON payload |
対象の管理APIなし |
models listocx models list [--provider <name>] [--json] |
--provider string(任意)、--json boolean(任意) |
変更なし/JSON envelope |
対象の管理APIなし |
models addocx models add <provider> <modelId> [--display-name <name>] [--context-window <tokens>] [--modalities <text,image,audio>] [--reasoning-efforts <levels|->] [--default-reasoning-effort <level|->] [--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 removeocx models remove <customId|provider/modelId> [--yes] [--live] [--json] |
--yes boolean(任意)、--live boolean(任意)、--json boolean(任意) |
変更あり/JSON envelope |
GET /api/custom-models、DELETE /api/custom-models/{id} |
models list-customocx models list-custom [--json] |
--json boolean(任意) |
変更なし/JSON payload |
対象の管理APIなし |
models liveocx models live [--provider <name>] [--free-only] [--json] |
--provider string(任意)、--free-only boolean(任意)、--json boolean(任意) |
変更なし/JSON payload |
GET /api/models |
models editocx models edit <custom-id> [--model-id <id>] [--display-name <name|->] [--context-window <tokens|0>] [--modalities <text,image,audio|->] [--reasoning-efforts <levels|->] [--default-reasoning-effort <level|->] [--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 enableocx models enable <provider/model|native-model> [--native] [--json] |
--native boolean(任意)、--json boolean(任意) |
変更あり/JSON payload |
PUT /api/model-visibility |
models disableocx models disable <provider/model|native-model> [--native] [--json] |
--native boolean(任意)、--json boolean(任意) |
変更あり/JSON payload |
PUT /api/model-visibility |
models providerocx models provider <name> <on|off> [--json] |
--json boolean(任意) |
変更あり/JSON payload |
GET /api/models、PUT /api/model-visibility |
models selectedocx models selected <provider> [--set <id,id...>|--clear] [--json] |
--set string(任意)、--clear boolean(任意)、--json boolean(任意) |
変更あり/JSON envelope |
GET /api/selected-models、PUT /api/selected-models |
models preset showocx models preset show [--provider <name>] [--json] |
--provider string(任意)、--json boolean(任意) |
変更なし/JSON payload |
GET /api/model-presets |
models preset applyocx models preset apply <provider> [--all] [--json] |
--all boolean(任意)、--json boolean(任意) |
変更あり/JSON payload |
PUT /api/model-presets |
models new-policyocx models new-policy [on|off|admit] [--provider <name>] [--json] |
--provider string(任意)、--json boolean(任意) |
変更あり/JSON payload |
GET /api/model-discovery、PUT /api/model-discovery |
models new-arrivalsocx models new-arrivals [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/model-discovery |
models discoverocx models discover <provider> [--json] |
--json boolean(任意) |
変更あり/JSON payload |
POST /api/model-discovery/refresh |
models context statusocx models context status [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/provider-context-caps |
models context valueocx models context value <tokens> [--set-all] [--json] |
--set-all boolean(任意)、--json boolean(任意) |
変更あり/JSON payload |
PUT /api/provider-context-caps |
models context providerocx models context provider <provider> <on|off> [--value <tokens>] [--json] |
--value number(任意)、--json boolean(任意) |
変更あり/JSON payload |
PUT /api/provider-context-caps |
models context allocx models context all <on|off> [--json] |
--json boolean(任意) |
変更あり/JSON payload |
PUT /api/provider-context-caps |
models shadow statusocx models shadow status [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/shadow-call-settings |
models shadow setocx models shadow set [model|-] [--enabled <on|off>] [--json] |
--enabled string(任意)、--json boolean(任意) |
変更あり/JSON payload |
PUT /api/shadow-call-settings |
models auto-review statusocx models auto-review status [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/auto-review-settings |
models auto-review setocx models auto-review set [model|-] [--enabled <on|off>] [--json] |
--enabled string(任意)、--json boolean(任意) |
変更あり/JSON payload |
PUT /api/auto-review-settings |
alias listocx alias list [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/aliases |
alias setocx alias set <provider|provider/native-model-id> <alias> [--json] |
--json boolean(任意) |
変更あり/JSON payload |
PUT /api/providers/{provider}/alias、PUT /api/providers/{provider}/model-aliases |
alias rmocx alias rm <provider|provider/native-model-id> [--json] |
--json boolean(任意) |
変更あり/JSON payload |
PUT /api/providers/{provider}/alias、PUT /api/providers/{provider}/model-aliases |
alias defaultsocx alias defaults <on|off> [--provider <name>] [--json] |
--provider string(任意)、--json boolean(任意) |
変更あり/JSON payload |
PUT /api/default-aliases |
alias template setocx alias template set <provider> <template> [--json] |
--json boolean(任意) |
変更あり/JSON payload |
PUT /api/providers/{provider}/alias-template |
alias template rmocx alias template rm <provider> [--json] |
--json boolean(任意) |
変更あり/JSON payload |
PUT /api/providers/{provider}/alias-template |
alias template showocx alias template show [<provider>] [--json] |
--json boolean(任意) |
変更なし/JSON payload |
GET /api/aliases |
provider pacingocx provider pacing <name> [--json]; ocx provider pacing <name> [--enabled <on|off>] [--rpm <number>] [--min-interval-ms <integer>] [--max-concurrent <integer>] [--json]; ocx provider pacing <name> --file <FILE|-> [--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 snapshotocx provider snapshot [--json] |
--json boolean(任意) |
変更なし/JSON envelope |
GET /api/config |
provider applyocx provider apply --baseline <FILE|-> --file <FILE|-> [--yes] [--json] |
--baseline string(必須)、--file string(必須)、--yes boolean(任意)、--json boolean(任意) |
変更あり/JSON payload |
PUT /api/providers |
models display-nameocx models display-name <provider/raw-model> (--set <text> | --clear) [--json] |
--set string(任意)、--clear boolean(任意)、--json boolean(任意) |
変更あり/JSON envelope |
PUT /api/providers/{provider}/model-display-names |
models order statusocx models order status [--json] |
--json boolean(任意) |
変更なし/JSON envelope |
GET /api/subagent-models |
models order setocx models order set (--models <csv> | --mode <default|alphabetical|provider|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 resetocx 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 |
対象を明示し、フォールバックの課金を確認 |
