Skip to main content
GET
List repositories available to an organization

Permissions

Requires a service user with the Read permission at the organization level.

Query parameters

  • filter_name — Filter repositories by name (case-insensitive substring match).
  • only_repo_paths — Only return repositories matching these paths.
  • exclude_repo_paths — Exclude repositories matching these paths.
  • load_indexing_status — Whether to include indexing status in the response (default: true). Set to false for faster responses when indexing status is not needed.

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 <= 100
filter_name
string | null
only_repo_paths
string[] | null
exclude_repo_paths
string[] | null
load_indexing_status
boolean
default:true

Response

Successful Response

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