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.
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
References
- Documentation https://docs.gitlab.com/ee/api/graphql/
- Documentation https://docs.gitlab.com/ee/api/graphql/#deprecation-and-removal-process
- Authentication https://docs.gitlab.com/api/rest/authentication/
Related API Specs
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.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/graphql/gitlab-graphql"
curl "https://apis.io/api/v1/graphql?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.