OpenAI Command Guide (si openai)
si openai provides authenticated OpenAI operations with context management, project administration, usage analytics, and raw access.
Related docs
Command surface
Auth and context
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 openai auth status --jsonsi openai doctor --jsonsi providers health --provider openai --json- Verify org/project context values and key source precedence.
