OpenAI Command Guide (si orbit openai)
si orbit openai provides authenticated OpenAI operations with context management, project administration, usage analytics, and raw access.
Related docs
Command surface
Auth and context
si orbit openai auth supports two modes:
api(default): validates OpenAI API-key auth againstapi.openai.com.codex: validates ChatGPT/Codex plan-token auth from SI codex profiles (OpenClaw-style non-API-key flow).
Model and project administration
Key management
Usage and monitoring
Raw API mode
--admin when explicitly targeting admin APIs.
Safety guidance
- Separate runtime API key and admin API key usage.
- Prefer account-specific context over global env defaults in CI.
- Treat usage/cost reports as operational telemetry and store artifacts.
- Keep raw mode payloads in files for reviewable change history.
Troubleshooting
si orbit openai auth status --jsonsi orbit openai doctor --jsonsi orbit list --provider openai --json- Verify org/project context values and key source precedence.

