---
title: "Get Cost Budget"
method: GET
path: "/api/v1/costs/{run_id}"
---

# Get Cost Budget

`GET /api/v1/costs/{run_id}`

Return budget status for a specific run, within the caller's scope.

Loads the persisted cost tracker from ``.sdd/runtime/costs/{run_id}.json``
and returns its ``BudgetStatus`` as JSON.

Scope: every figure is the caller's tenant's share of the run, not the
run's total - the run file holds the spend of every tenant that spent
against it, and only the caller's is replayed.  ``tenant_id`` in the
response names the scope the figures belong to.

## Path parameters

- `run_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `404` — No cost data for run
- `422` — Validation Error

---

[API](https://skmtc.net/sipyourdrink-ltd/apis/bernstein-task-server.md) · [All operations](https://skmtc.net/sipyourdrink-ltd/apis/bernstein-task-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sipyourdrink-ltd/bernstein-task-server/revisions/d52fab9681ed/schema)
