GitLab CI/CD Project Import API

Operations related to importing projects

Operations 19

GET /api/v4/projects/{id}/export Get export status #
POST /api/v4/projects/{id}/export Start export #
GET /api/v4/projects/{id}/export/download Download export #
POST /api/v4/projects/{id}/export_relations Start relations export #
GET /api/v4/projects/{id}/export_relations/download Download relations export #
GET /api/v4/projects/{id}/export_relations/status Relations export status #
POST /api/v4/projects/import/authorize Workhorse authorize the project import upload #
POST /api/v4/projects/import Create a new project import #
GET /api/v4/projects/{id}/import Get a project import status #
POST /api/v4/projects/{id}/import/git Import a project from a Git URL #
POST /api/v4/projects/remote-import Create a new project import using a remote object storage path #
POST /api/v4/projects/import-relation/authorize Workhorse authorize the project relation import upload #
POST /api/v4/projects/import-relation Re-import a relation into a project #
GET /api/v4/projects/{id}/relation-imports Get the statuses of relation imports for specified project #
POST /api/v4/projects/remote-import-s3 Create a new project import using a file from AWS S3 #
POST /api/v4/import/bitbucket Import a BitBucket Cloud repository #
POST /api/v4/import/bitbucket_server Import a BitBucket Server repository #
POST /api/v4/import/github Import a GitHub project #
POST /api/v4/import/github/cancel Cancel GitHub project import #

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/gitlab-ci-project-import-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

gitlab-ci-project-import-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: GitLab Project Import API
  version: v4
  description: Operations related to importing projects
servers:
- url: https://gitlab.com
tags:


# --- truncated at 32 KB (94 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/gitlab-ci/refs/heads/main/openapi/gitlab-ci-project-import-api-openapi.yml