---
title: "Get Internal Run Costs"
method: GET
path: "/api/v1/internal-cost/runs"
tags: ["billing"]
---

# Get Internal Run Costs

`GET /api/v1/internal-cost/runs`

## 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/internal-cost/runs`
- Auth: none declared

## Query parameters

- `start_at` string, date-time, nullable: Inclusive run launch timestamp
- `end_at` string, date-time, nullable: Exclusive run launch timestamp
- `sort` 'run_name' | 'launched_by' | 'run_id' | 'type' | 'model' | 'agent' | 'benchmark' | 'backend' | 'launch_at' | 'duration_seconds' | 'status' | 'public_total_cost' | 'public_sandbox_cost' | 'public_training_cost' | 'public_inference_cost' | 'public_grading_cost' | 'public_other_cost' | 'total_cost' | 'sandbox_cost' | 'training_cost' | 'inference_cost' | 'grading_cost' | 'other_cost' | 'organization_name'
- `order` 'asc' | 'desc'
- `offset` integer
- `limit` integer
- `search` string
- `run_type` 'training' | 'eval', nullable

## Response `200`

Successful Response

- InternalRunCostsResponse
  - `items` InternalRunCostRow[], required
    - `organization_id` string, required
    - `organization_key` string, required
    - `organization_name` string, required
    - `run_id` string, required
    - `run_name` string, required
    - `launched_by` string, nullable, required
    - `type` 'training' | 'eval', required
    - `model` string, nullable, required
    - `agent` string, nullable, required
    - `benchmark` string, nullable, required
    - `backend` string, nullable, required
    - `launch_at` string, date-time, required
    - `duration_seconds` number, nullable, required
    - `status` string, nullable, required
    - `total_cost` number, nullable, required
    - `sandbox_cost` number, nullable, required
    - `training_cost` number, nullable, required
    - `inference_cost` number, nullable, required
    - `grading_cost` number, nullable, required
    - `other_cost` number, nullable, required
    - `public_total_cost` number, nullable
    - `public_sandbox_cost` number, nullable
    - `public_training_cost` number, nullable
    - `public_inference_cost` number, nullable
    - `public_grading_cost` number, nullable
    - `public_other_cost` number, nullable
    - `public_unpriced_categories` string[]
    - `tinker_cost_basis` 'provider_reported' | 'provider_reported_partial' | 'estimate'
    - `unpriced_categories` string[], required
  - `total` integer, required
  - `observed_at` string, date-time, required
  - `tracking_enabled` boolean, required
  - `basis` 'provider_estimate'

## Changes

- **2026-10-13** `87263cd34ac5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/trajectory/apis/trajectory-api/changes/api/v1/internal-cost/runs/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)
