github-app

Get Bot Repo 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).

get/github-app/bot-repos/{repo_id}/ai-spend

Path parameters

repo_idstring required

Response

Successful Response

{"stackTrail":"paths:/github-app/bot-repos/{repo_id}/ai-spend:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

Changed in 1 of the 16 revisions of this API.1