Sourcegraph GraphQL API

The historical GraphQL API used by most Sourcegraph integrations to date. It is still available but Sourcegraph now recommends migrating to the versioned REST API for compatibility guarantees. Also exposed as a debug surface inside each instance.

API entry from apis.yml

apis.yml Raw ↑
aid: sourcegraph:sourcegraph-graphql-api
name: Sourcegraph GraphQL API
description: The historical GraphQL API used by most Sourcegraph integrations to date. It is still available
  but Sourcegraph now recommends migrating to the versioned REST API for compatibility guarantees. Also
  exposed as a debug surface inside each instance.
humanURL: https://sourcegraph.com/api/graphql
tags:
- GraphQL
- Code Intelligence
- Legacy
properties:
- type: Documentation
  url: https://sourcegraph.com/docs/api
- type: APIReference
  url: https://sourcegraph.com/api/graphql
- url: graphql/sourcegraph-graphql.md
  type: GraphQL