Skip to main content
GET
List exact-repository Review billing rules
Lists the repository billing rules for Devin Review that the caller can manage in the enterprise account. Each rule charges future Review usage on one exact repository to an organization or a budget. Create or change a rule with Set a repository billing rule and remove one with Delete a repository billing rule.

Permissions

Requires a service user or personal access token with the ManageReview permission at the enterprise level.

Behavior

  • Results are paginated. Pass first (page size) and after (the previous page’s end_cursor) while has_next_page is true.
  • repository is owner/repo for github.com and host/path for other providers.
  • bill_to.type is organization or budget, and bill_to.id is the organization ID or budget ID that pays.
Billing rules decide who pays for reviews. To manage which pull requests are reviewed automatically, use the Review triggers API: list triggers, create, replace, or delete triggers, and list trigger scopes.

Authorizations

Authorization
string
header
required

Service User credential (prefix: cog_)

Query Parameters

after
string | null
first
integer
default:100
Required range: 1 <= x <= 200

Response

Successful Response

items
ReviewRepoBillingRuleResponse · object[]
required
end_cursor
string | null

Cursor to fetch the next page, or None if this is the last page.

has_next_page
boolean
default:false

Whether there are more items available after this page.

total
integer | null

Optional total count (can be omitted for performance).