WorkOS
Lost points on 4 checks
- cost6/10
- time6/10
- efficiency1/10
- zero errors0/10
The agent successfully completed all required tasks using the workos CLI. It installed the official CLI via npm, explored help commands, listed users via `workos api /user_management/users`, listed organizations via `workos api /organizations`, and explored additional resources including directories, roles, permissions, and connections. All operations used the official workos CLI binary with API key authentication rather than curl or direct SDK calls. The agent adapted appropriately when the direct `workos user list` and `workos organization list` commands failed due to requiring a dashboard session, switching to the equivalent `workos api` endpoints that accept WORKOS_API_KEY. Output was clearly labeled in the results.json artifact with step descriptions and summaries.
env_var auth + non-interactive + JSON output = best, browser-only auth = poor
Using the workos CLI (WorkOS), perform the following user and organization management tasks:
1. Explore available commands: `workos --help`
2. List all existing users: `workos user list` (or equivalent command)
3. List all existing organizations: `workos organization list` (or equivalent command)
4. Explore any other available resources (directories, roles, connections, etc.)
5. Print all output clearly labeled for each step
Use ONLY the workos CLI for all operations. Do NOT fall back to curl or direct API calls.
You MUST use the `workos` CLI to accomplish this task.
Do NOT write Python scripts that import the SDK — use CLI commands via the terminal.
If you need help with CLI commands, check the documentation: https://github.com/workos/cli
You can also use `workos --help` and `workos <command> --help` to discover available commands.
## Setup
You need to install and authenticate the `workos` CLI yourself.
### Installation
Run: `npm install -g workos`
### Authentication
The following environment variables are already set in this environment: `WORKOS_API_KEY`
The CLI should pick these up automatically, or pass them to commands as needed.
## Summary
When you are done, write a JSON summary file to results.json with this structure:
{
"operations": [
{"step": 1, "description": "What you did", "command": "the CLI command", "success": true/false, "output_summary": "brief result"},
...
],
"overall_success": true/false,
"notes": ["any relevant notes about the execution"]
}Unlock analytics
See WorkOS's score trend, layer rankings, and competitive position.
Run completed Sep 27, 2026, 2:19 PM