Sourcegraph REST API

Versioned external REST API introduced in Sourcegraph 7.0 and intended as the stable integration surface going forward. Each Sourcegraph instance exposes its own /api-reference path where the live OpenAPI schema is published. Backwards compatibility is guaranteed within a major version.

API entry from apis.yml

apis.yml Raw ↑
aid: sourcegraph:sourcegraph-rest-api
name: Sourcegraph REST API
description: Versioned external REST API introduced in Sourcegraph 7.0 and intended as the stable integration
  surface going forward. Each Sourcegraph instance exposes its own /api-reference path where the live
  OpenAPI schema is published. Backwards compatibility is guaranteed within a major version.
humanURL: https://sourcegraph.com/docs/api
tags:
- REST API
- OpenAPI
- Code Intelligence
properties:
- type: Documentation
  url: https://sourcegraph.com/docs/api
- type: APIReference
  url: https://sourcegraph.com/api-reference