GitLab · GraphQL Specification

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 Endpoint View on GitHub CodePlatformSoftware DevelopmentSource ControlGraphQL

Overview

GitLab GraphQL API is a GraphQL API specification published by GitLab on the APIs.io network.

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.

The GraphQL endpoint is available at https://gitlab.com/api/graphql. documentation is published at https://docs.gitlab.com/ee/api/graphql/.

The specification includes 3 reference links.

Tagged areas include Code, Platform, Software Development, and Source Control.

Endpoint

https://gitlab.com/api/graphql

References

Related API Specs

GitLab Admin API (OpenAPI) GitLab Application API (OpenAPI) GitLab Applications API (OpenAPI) GitLab Authorization API (OpenAPI) GitLab Avatar API (OpenAPI) GitLab Broadcast Messages API (OpenAPI) GitLab Bulk Imports API (OpenAPI) GitLab Groups API (OpenAPI) GitLab Metadata API (OpenAPI) GitLab Project Webhooks API (OpenAPI) GitLab Projects API (OpenAPI) GitLab Tokens API (OpenAPI) GitLab User Info API (OpenAPI) GitLab Version API (OpenAPI) GitLab Webhook Configuration API (OpenAPI) GitLab Webhook Events API (OpenAPI)
Back to GitLab · All GraphQL Specs · GitHub

Work with this as data

Every GraphQL schema 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 graphql

4 MCP tools reach this
  • find_graphqlBrowse and filter every GraphQL schema in the catalog.
  • 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 GraphQL schema
curl "https://apis.io/api/v1/graphql/gitlab-graphql"
All graphql
curl "https://apis.io/api/v1/graphql?limit=25"

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

Get an API key

Free tier, no email required.

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