---
title: "Get Bot Repo Ai Spend"
method: GET
path: "/github-app/bot-repos/{repo_id}/ai-spend"
tags: ["github-app"]
---

# Get Bot Repo Ai Spend

`GET /github-app/bot-repos/{repo_id}/ai-spend`

AI review spend for one repo: this month against its limit, the median
cost of a pass, and how many pushes it analysed in the last 30 days, so the
settings page can price each review mode for this repo. Also whether the
caller's plan allows AI review on this repo, the balance a pass would draw
on and which pool that is (null when unreadable), and why the bot last
refused a paid pass (null when it did not).

## Path parameters

- `repo_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-26** `29a9df53f763` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/repowise/apis/repowise-hosted-api/changes/github-app/bot-repos/:repo_id/ai-spend/get.md)

---

[API](https://skmtc.dev/repowise/apis/repowise-hosted-api.md) · [All operations](https://skmtc.dev/repowise/apis/repowise-hosted-api/llms.txt) · [OpenAPI document](https://skmtc.dev/repowise/apis/repowise-hosted-api/revisions/29a9df53f763?raw)
