---
title: "Get Eval Token Usage Route"
method: GET
path: "/api/v1/eval/{run_id}/token-usage"
tags: ["eval"]
---

# Get Eval Token Usage Route

`GET /api/v1/eval/{run_id}/token-usage`

## Request

- Base URL: `https://api.trajectory.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.trajectory.ai/api/v1/eval/{run_id}/token-usage`
- Auth: none declared

## Path parameters

- `run_id` string, required

## Response `200`

Successful Response

- EvalTokenUsageResponse
  - `eval_run_id` string, required: Evaluation run whose rollouts were summed.
  - `trajectory_count` integer, required: Completed rollouts the totals cover.
  - `prompt_tokens` integer, required: Input tokens summed over every model call; past 10,000 rollouts, scaled up from a uniform sample.
  - `completion_tokens` integer, required: Output tokens summed over every model call; past 10,000 rollouts, scaled up from a uniform sample.

## Changes

- **2026-10-07** `db059a2d3fb0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/trajectory/apis/trajectory-api/changes/api/v1/eval/:run_id/token-usage/get.md)

---

[API](https://skmtc.dev/trajectory/apis/trajectory-api.md) - [All operations](https://skmtc.dev/trajectory/apis/trajectory-api/llms.txt) - [OpenAPI document](https://skmtc.dev/trajectory/apis/trajectory-api/revisions/5b5a8ae4b4a4?raw)
