Get fork

Fetch fork metadata for a repo that is itself a fork.

Endpoints

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

Usage

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

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 repo.
  • 404 Not Found when repo or fork record does not exist.

Common auth errors are documented on the API overview page.