WorkOS Command Guide (si workos)
si workos provides WorkOS operational APIs with account context and environment-aware auth.
Related docs
Command surface
Auth and context
Organization and user management
Memberships, invitations, directories
Raw API mode
Safety guidance
- Use environment-specific contexts (
prod|staging|dev) for separation. - Validate organization IDs before membership/invitation writes.
- Prefer JSON output in CI pipelines.
- Keep WorkOS keys in vault-managed env refs.
Troubleshooting
si workos auth status --jsonsi workos doctor --jsonsi providers health --provider workos --json- Validate selected env/account and key source.
