List forks

List fork records for a given upstream repo.

Endpoints

GET /api/v1/teams/{team_slug}/repos/{repo_slug}/forks
GET /api/v1/users/{username}/repos/{repo_slug}/forks
Authenticated

Request

Query parameters: page, per_page.

Usage

curl --header "Authorization: Bearer $GHIT_API_TOKEN" "$GHIT_API_URL/v1/teams/platform/repos/website/forks"

Success

200 OK with a paginated list of fork records.

{
  "results": [
    {
      "uuid": "...",
      "status": "completed",
      "created_at": "2026-03-09T12:00:00Z"
    }
  ],
  "next": null,
  "previous": null
}

Errors

  • 403 Forbidden when caller lacks access to upstream repo.
  • 404 Not Found when upstream repo is not found.

Common auth errors are documented on the API overview page.