# WorkOS Gemini API Evaluation

**Category:** Auth
**Score:** 76 (B)

This is the agent-readable Devtool Arena evaluation page for WorkOS on Gemini API.

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 76 |
| Grade | B |
| Eval score | 67 |
| Discovery score | 100 |
| Cost | $0.42 |
| Runtime | 2m 28s |
| Tool calls | 28 |
| Errors | 4 |
| Tokens used | 606734 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | https://context7.com/workos/workos-node |
| llms.txt | https://workos.com/llms.txt |
| MCP server | https://workos.com/docs/mcp.md |
| Typed SDK | https://github.com/workos/workos-node |
| OpenAPI | https://workos.com/openapi.json |
| Agent skills | https://github.com/workos/cli/blob/main/CLAUDE.md |
| CLI | https://github.com/workos/cli |

## Evaluation Prompt

````text

# Task
Using https://workos.com/docs, complete the following task:

Using the WorkOS Python SDK, build me a script that manages user invitations via the API:

1. Install the official WorkOS Python SDK (pip install)
2. Use the SDK to:
   a. Send an invitation to "leaderboard-*****@example.com"
   b. List all pending invitations and print them as JSON
   c. Revoke the invitation you just created
3. Print the result of each step clearly labeled (e.g., "=== INVITED ===", "=== PENDING ===", "=== REVOKED ===")

You MUST use the official WorkOS Python SDK — do not construct OAuth URLs or make raw HTTP/REST calls. 

## Execution
After creating the script, run it to verify it works:
```bash
cd /home/daytona/app && python <your_script>.py
```

The script should print output to stdout. If there are errors, debug and fix them until it runs successfully.

````

## Grader Results

| Check | Passed | Weight | Score | Details |
|-------|--------|--------|-------|---------|
| Cost | No | 0 | 0 | $0.42 ($0.40–0.70, expensive) |
| Time | Yes | 0 | 0 | 148s (2–3min, good) |
| Efficiency | No | 0 | 0 | 28 tool calls (>25, inefficient) |
| Found Docs | Yes | 0 | — | Touched docs at workos.com: yes (10 matching tool calls) |
| Zero Errors | No | 0 | — | Tool outputs with errors/tracebacks: 4 |
| Syntax Valid | Yes | 0 | — | Code compiles/parses correctly |
| Created Files | Yes | 0 | — | Generated files: 1 (need ≥1) |
| Full Execution | Yes | 0 | — | Method: full_execution, Exit: 0 |

## Run Artifacts

| Artifact | Value |
|----------|-------|
| Conversation turns | 29 |
| Tool call traces | 28 |
| Generated files | 1 |
| Exit code | 0 |
| Completed at | 2026-10-16T00:12:51.017735+00:00 |

### Generated Files

- /home/daytona/app/manage_invitations.py

## Related Pages

- [Gemini API leaderboard](/leaderboard/gemini/api)
- [Compare Gemini API companies](/leaderboard/gemini/api/compare)
- [Agent Landscape](/leaderboard/discoverability)

Canonical URL: https://devtoolarena.com/gemini/api/workos
