GitHub Enterprise Migrations API

Move projects to or from GitHub.

Operations 22

GET /orgs/{org}/migrations List organization migrations #
POST /orgs/{org}/migrations Start an organization migration #
GET /orgs/{org}/migrations/{migration_id} Get an organization migration status #
GET /orgs/{org}/migrations/{migration_id}/archive Download an organization migration archive #
DELETE /orgs/{org}/migrations/{migration_id}/archive Delete an organization migration archive #
DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock Unlock an organization repository #
GET /orgs/{org}/migrations/{migration_id}/repositories List repositories in an organization migration #
GET /repos/{owner}/{repo}/import Get an import status #
PUT /repos/{owner}/{repo}/import Start an import #
PATCH /repos/{owner}/{repo}/import Update an import #
DELETE /repos/{owner}/{repo}/import Cancel an import #
GET /repos/{owner}/{repo}/import/authors Get commit authors #
PATCH /repos/{owner}/{repo}/import/authors/{author_id} Map a commit author #
GET /repos/{owner}/{repo}/import/large_files Get large files #
PATCH /repos/{owner}/{repo}/import/lfs Update Git LFS preference #
GET /user/migrations List user migrations #
POST /user/migrations Start a user migration #
GET /user/migrations/{migration_id} Get a user migration status #
GET /user/migrations/{migration_id}/archive Download a user migration archive #
DELETE /user/migrations/{migration_id}/archive Delete a user migration archive #
DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock Unlock a user repository #
GET /user/migrations/{migration_id}/repositories List repositories for a user migration #

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/github-enterprise:github-enterprise-migrations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

github-enterprise-migrations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Github Enterprise Migrations API
  version: 1.1.4
  contact:
    name: Support
    url: https://support.github.com/contact?tags=dotcom-rest-api
  license:
    name: MIT
    url: https://spdx.org/licenses/MIT
  termsOfService: https://docs.github.com/articles/github-terms-of-service
  x-github-plan: ghec
  description: 'Operations tagged migrations across 2 of this provider''s published API definitions: github-enterprise-ghec-openapi.json, github-enterprise-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.github.com
tags:


# --- truncated at 32 KB (151 KB total) ---
# Full source: https://artifacts.apis.io/github-enterprise/openapi/github-enterprise-migrations-api-openapi.yml