Get fork by user

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

Endpoints

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

Usage

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

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.
  • 404 Not Found when upstream repo, fork user, or fork record is not found.

Common auth errors are documented on the API overview page.