---
title: "Get aggregate review cost"
method: GET
path: "/api/cost"
tags: ["daemon"]
---

# Get aggregate review cost

`GET /api/cost`

## Query parameters

- `repo` string[], nullable — Repo root paths (repeatable)
- `branch` string — Filter by branch name
- `branch_empty` 'true' | 'false' — Only jobs with empty/unset branch
- `since` string — Time window (e.g. 7d); default all-time

## Response `200`

OK

- CostAggregate
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `complete` boolean, required
  - `jobs_total` integer, required
  - `jobs_with_cost` integer, required
  - `total_usd` number, double, required

## Other responses

- `default` — Error

## Changes

- **2026-06-09** `c7b117a114ba` — 1 info
  - endpoint added
- **2026-06-09** `538b457f849b` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/kenn-io/apis/roborev/changes/api/cost/get.md)

---

[API](https://skmtc.dev/kenn-io/apis/roborev.md) · [All operations](https://skmtc.dev/kenn-io/apis/roborev/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kenn-io/roborev/revisions/0dfdca81e88d/schema)
