# Convex Grok API Evaluation

**Category:** Database
**Score:** 71 (C)

This is the agent-readable Devtool Arena evaluation page for Convex on Grok API.

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 71 |
| Grade | C |
| Eval score | 65 |
| Discovery score | 86 |
| Cost | $1.15 |
| Runtime | 10m 17s |
| Tool calls | 33 |
| Errors | 0 |
| Tokens used | 1181595 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | https://context7.com/get-convex/convex-backend |
| llms.txt | https://convex.dev/llms.txt |
| MCP server | https://github.com/convex/mcp |
| Typed SDK | https://registry.npmjs.org/convex |
| OpenAPI | Not found |
| Agent skills | https://docs.convex.dev/ai/using-claude-code |
| CLI | https://docs.convex.dev/cli |

## Evaluation Prompt

````text

# Task
Using https://[REDACTED:TENANT].convex.dev, complete the following task:

Using the Convex Python SDK, build me a script that performs CRUD operations:

1. Install the official Convex Python SDK (pip install)
2. Connect to Convex using the SDK
3. Create a table/collection called "leaderboard_*****" with fields: id, name (string), score (number), created_at (timestamp)
4. Insert 3 records: ("Alice", 95), ("Bob", 87), ("Charlie", 92)
5. Query all records sorted by score descending
6. Update Bob's score to 91
7. Delete Charlie's record
8. Query again and print the final state as JSON

You MUST use the official Convex Python SDK — do not 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 | $1.15 (≥$1.00, too expensive) |
| Time | No | 0 | 0 | 617s (≥10min, too slow) |
| Efficiency | No | 0 | 0 | 33 tool calls (>25, inefficient) |
| Found Docs | Yes | 0 | — | Touched [REDACTED:TENANT] at [REDACTED:TENANT].convex.dev: yes (12 matching tool calls) |
| Zero Errors | Yes | 0 | — | No errors in tool outputs |
| Syntax Valid | Yes | 0 | — | Code compiles/parses correctly |
| Created Files | Yes | 0 | — | Generated files: 9 (need ≥1) |
| Full Execution | Yes | 0 | — | Method: full_execution, Exit: 0 |

## Run Artifacts

| Artifact | Value |
|----------|-------|
| Conversation turns | 34 |
| Tool call traces | 33 |
| Generated files | 9 |
| Exit code | 0 |
| Completed at | 2026-10-19T16:31:27.12272+00:00 |

### Generated Files

- /home/daytona/app/package.json
- /home/daytona/app/convex/schema.ts
- /home/daytona/app/leaderboard_crud.py
- /home/daytona/app/convex/leaderboard.ts
- /home/daytona/app/convex/_generated/api.js
- /home/daytona/app/convex/_generated/api.d.ts
- /home/daytona/app/convex/_generated/server.js
- /home/daytona/app/convex/_generated/server.d.ts
- /home/daytona/app/convex/_generated/dataModel.d.ts

## Related Pages

- [Grok API leaderboard](/grok/api)
- [Compare Grok API companies](/grok/api/compare)
- [Agent Landscape](/discoverability)

Canonical URL: https://devtoolarena.com/grok/api/convex
