Skip to main content
GET
List scopes the caller can attach Review triggers to
Lists the account, namespace, and repository scopes the caller can attach Devin Review auto-review triggers to. Use a repository scope’s target as repository when you create a trigger.

Permissions

Requires a service user or personal access token with the ManageReview permission in the organization. A personal access token acts as its user. Account-wide ManageReview lets the caller manage every scope; organization-level ManageReview covers only the repositories that organization can access.

Behavior

  • A namespace scope (git_organization) means every repository under it qualifies.
  • search filters scopes by a case-insensitive substring of the target.
  • status is available when the caller can attach triggers to the scope; any other value says why not, and next_action says what would fix it.
  • Returns 404 when Review triggers are not enabled for the organization.

Authorizations

Authorization
string
header
required

Service User credential (prefix: cog_)

Path Parameters

org_id
string
required

Organization ID (prefix: org-)

Example:

"org-abc123def456"

Query Parameters

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

Substring filter.

Maximum string length: 512

Response

Successful Response

items
ReviewScopeCapabilityResponse · 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).