# BetterStack Claude Code API Evaluation

**Category:** Observability
**Score:** 61 (C)

This is the agent-readable Devtool Arena evaluation page for BetterStack on Claude Code API.

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 61 |
| Grade | C |
| Eval score | 64 |
| Discovery score | 57 |
| Cost | $0.71 |
| Runtime | 4m 38s |
| Tool calls | 34 |
| Errors | 4 |
| Tokens used | 957863 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | https://context7.com/betterstack |
| llms.txt | Not found |
| MCP server | https://betterstack.com/docs/getting-started/integrations/mcp/ |
| Typed SDK | https://github.com/logtail/logtail-js |
| OpenAPI | Not found |
| Agent skills | https://betterstack.com/docs/getting-started/integrations/mcp/ |
| CLI | Not found |

## Evaluation Prompt

````text

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

Using BetterStack:

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 | No | 0 | 0 | $0.71 ($0.70–1.00, very expensive) |
| Time | No | 0 | 0 | 278s (3–5min, slow) |
| Efficiency | No | 0 | 0 | 34 tool calls (>25, inefficient) |
| Found Docs | Yes | 0 | — | Touched docs at betterstack.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 | 40 |
| Tool call traces | 34 |
| Generated files | 1 |
| Exit code | 0 |
| Completed at | 2026-09-23T04:15:00.90728+00:00 |

### Generated Files

- /home/daytona/app/betterstack_reporter.py

## Related Pages

- [Claude Code API leaderboard](/leaderboard/claudecode/api)
- [Compare Claude Code API companies](/leaderboard/claudecode/api/compare)
- [Agent Landscape](/leaderboard/discoverability)

Canonical URL: https://devtoolarena.com/claudecode/api/betterstack
