GitLab GraphQL API

GraphQL is a query language for APIs. You can use it to request the exact data you need, and therefore limit the number of requests you need. GraphQL data is arranged in types, so your client can use client-side GraphQL libraries to consume the API and avoid manual parsing. There are no fixed endpoints and no data model, so you can add to the API without creating breaking changes. This enables us to have a versionless API.

Documentation

Other Resources

🔗
Deprecation
https://docs.gitlab.com/ee/api/graphql/#deprecation-and-removal-process
🔗
GraphQL
https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/graphql/gitlab-graphql.md
🔗
APIsJSON
https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/apis.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/arazzo/gitlab-add-group-badge-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/arazzo/gitlab-add-project-badge-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/arazzo/gitlab-approve-group-access-request-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/arazzo/gitlab-approve-project-access-request-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/arazzo/gitlab-attach-alert-metric-image-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/arazzo/gitlab-cleanup-merged-branch-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/arazzo/gitlab-create-and-protect-branch-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/arazzo/gitlab-create-branch-from-default-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/arazzo/gitlab-ensure-branch-exists-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/arazzo/gitlab-find-and-run-manual-job-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/arazzo/gitlab-inspect-failed-jobs-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/arazzo/gitlab-prune-stale-branches-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/arazzo/gitlab-publish-broadcast-message-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/arazzo/gitlab-register-instance-cluster-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/arazzo/gitlab-request-and-self-approve-project-access-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/arazzo/gitlab-retire-instance-ci-variable-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/arazzo/gitlab-retire-project-badge-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/arazzo/gitlab-rotate-broadcast-message-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/arazzo/gitlab-rotate-project-badge-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/arazzo/gitlab-start-migration-and-poll-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/arazzo/gitlab-track-migration-entities-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/arazzo/gitlab-trigger-manual-job-and-poll-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/arazzo/gitlab-update-broadcast-message-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/arazzo/gitlab-upsert-instance-ci-variable-workflow.yml

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-graphql-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.

API entry from apis.yml

apis.yml Raw ↑
aid: gitlab:gitlab-graphql-api
name: GitLab GraphQL API
tags:
- Data
- GraphQL
- Query Language
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
baseURL: https://gitlab.com/api/graphql
humanURL: https://docs.gitlab.com/ee/api/graphql/
overlays: []
properties:
- url: https://docs.gitlab.com/ee/api/graphql/
  type: Documentation
- url: https://docs.gitlab.com/ee/api/graphql/#deprecation-and-removal-process
  type: Deprecation
- url: https://docs.gitlab.com/ee/api/graphql/#deprecation-and-removal-process
  type: Documentation
- url: https://docs.gitlab.com/ee/api/graphql/#limits
  type: RateLimits
- url: https://docs.gitlab.com/api/rest/authentication/
  type: Authentication
- url: https://docs.gitlab.com/api/graphql/reference/
  type: APIReference
- url: https://docs.gitlab.com/api/graphql/getting_started/
  type: GettingStarted
- url: graphql/gitlab-graphql.md
  type: GraphQL
description: GraphQL is a query language for APIs. You can use it to request the exact data you need,
  and therefore limit the number of requests you need. GraphQL data is arranged in types, so your client
  can use client-side GraphQL libraries to consume the API and avoid manual parsing. There are no fixed
  endpoints and no data model, so you can add to the API without creating breaking changes. This enables
  us to have a versionless API.