v1
latestOpenAPI 3.0.02026-07-249055687.1 KBrepos
List repositories
Lists repositories for the specified organization.
This endpoint consumes 1 unit of your quota.
This endpoint requires the following org token scopes:
- repo:list
get/orgs/{org_slug}/repos
Path parameters
org_slugstring required
The slug of the organization
Query parameters
sort'name' | 'updated_at' | 'created_at'
Field to sort repositories by.
direction'asc' | 'desc'
Sort direction.
per_pageinteger
pageinteger
include_archivedboolean
Include archived repositories in the results
workspacestring
Filter repositories by workspace. When provided (including empty string), only repos in that workspace are returned.
Response
Lists repositories for the specified organization. The authenticated user must be a member of the organization.