# Datadog Codex API Evaluation

**Category:** Observability
**Score:** 81 (B)

This is the agent-readable Devtool Arena evaluation page for Datadog on Codex API.

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 81 |
| Grade | B |
| Eval score | 73 |
| Discovery score | 100 |
| Cost | $0.25 |
| Runtime | 1m 34s |
| Tool calls | 24 |
| Errors | 4 |
| Tokens used | 578066 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | https://context7.com/datadog/datadog-agent |
| llms.txt | https://docs.datadoghq.com/llms.txt |
| MCP server | https://github.com/datadog-labs/mcp-server |
| Typed SDK | https://github.com/DataDog/datadog-api-client-typescript |
| OpenAPI | https://github.com/DataDog/datadog-api-client-python/blob/master/.generator/schemas/v1/openapi.yaml |
| Agent skills | https://github.com/DataDog/datadog-agent/blob/main/CLAUDE.md |
| CLI | https://github.com/DataDog/datadog-ci |

## Evaluation Prompt

````text

# Task
Using https://docs.datadoghq.com/api/la*****/, complete the following task:

Using Datadog:

1. Submit a custom metric called "*****.leaderboard.score" with value 42 and tags ["env:*****", "leaderboard:sapient"]
2. Create an event with title "Leaderboard Test" and text "Integration ***** event from Lightsage Leaderboard"
3. Print the API responses as JSON, including the status of each operation. 

## 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 | Yes | 0 | 0 | $0.25 ($0.20–0.40, good) |
| Time | Yes | 0 | 1 | 94s (1–2min, great) |
| Efficiency | Yes | 0 | 0 | 24 tool calls (≤25, below average) |
| Found Docs | Yes | 0 | — | Touched docs at docs.datadoghq.com: yes (20 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 | 28 |
| Tool call traces | 24 |
| Generated files | 1 |
| Exit code | 0 |
| Completed at | 2026-09-27T02:04:20.547533+00:00 |

### Generated Files

- /home/daytona/app/report_datadog.py

## Related Pages

- [Codex API leaderboard](/leaderboard/codex/api)
- [Compare Codex API companies](/leaderboard/codex/api/compare)
- [Agent Landscape](/leaderboard/discoverability)

Canonical URL: https://devtoolarena.com/codex/api/datadog
