---
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

---

[API](https://skmtc.net/kenn-io/apis/roborev.md) · [All operations](https://skmtc.net/kenn-io/apis/roborev/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kenn-io/roborev/versions/fe4e5cad4210/schema)
