# Twelve Labs Grok API Evaluation

**Category:** Video Infra
**Score:** 67 (C)

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

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 67 |
| Grade | C |
| Eval score | 60 |
| Discovery score | 86 |
| Cost | $1.43 |
| Runtime | 11m 42s |
| Tool calls | 49 |
| Errors | 1 |
| Tokens used | 1960720 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | https://context7.com/twelvelabs-io/twelvelabs-python |
| llms.txt | https://twelvelabs.io/llms.txt |
| MCP server | https://docs.twelvelabs.io/_mcp/server |
| Typed SDK | https://pypi.org/pypi/twelvelabs/json |
| OpenAPI | https://docs.twelvelabs.io/openapi.json |
| Agent skills | https://github.com/twelvelabs-io/twelve-labs-claude-code-plugin |
| CLI | Not found |

## Evaluation Prompt

````text

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

Using the Twelve Labs Python SDK, build me a script that demonstrates video infrastructure capabilities:

1. Install the official Twelve Labs Python SDK (pip install)
2. Upload or ingest a sample video (you can use this public video URL: https://sample-videos.com/video321/mp4/720/big_buck_bunny_720p_1mb.mp4)
3. Wait for processing/indexing to complete (poll status if the API is async)
4. Search or query the video content — for example, search for "bunny" or query a specific timestamp
5. Print the result as JSON with fields: video_id, status, and either search_results or video_metadata

You MUST use the official Twelve Labs 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.43 (≥$1.00, too expensive) |
| Time | No | 0 | 0 | 702s (≥10min, too slow) |
| Efficiency | No | 0 | 0 | 49 tool calls (>25, inefficient) |
| Found Docs | Yes | 0 | — | Touched [REDACTED:TENANT] at [REDACTED:TENANT].twelvelabs.io: yes (12 matching tool calls) |
| Zero Errors | No | 0 | — | Tool outputs with errors/tracebacks: 1 |
| 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 | 50 |
| Tool call traces | 49 |
| Generated files | 1 |
| Exit code | 0 |
| Completed at | 2026-10-19T17:19:30.561874+00:00 |

### Generated Files

- /home/daytona/app/video_infrastructure.py

## Related Pages

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

Canonical URL: https://devtoolarena.com/grok/api/twelve-labs
