Get fork by team

Fetch the fork record for an upstream repo owned by a specific team.

Endpoints

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

Usage

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

Success

200 OK with the fork record.

{
  "uuid": "...",
  "status": "completed",
  "created_at": "2026-03-09T12:00:00Z"
}

Errors

  • 403 Forbidden when caller lacks access to upstream repo or fork team visibility scope.
  • 404 Not Found when upstream repo, fork team, or fork record is not found.

Common auth errors are documented on the API overview page.