Sourcegraph Streaming Search API

Server-sent-event API that streams search results as they are produced, used by the Sourcegraph UI and by integrations that want incremental result delivery instead of batched responses. Exposed per-instance at /.api/search/stream with event types matches, progress, filters, alert, and done.

API entry from apis.yml

apis.yml Raw ↑
aid: sourcegraph:sourcegraph-streaming-search-api
name: Sourcegraph Streaming Search API
description: Server-sent-event API that streams search results as they are produced, used by the Sourcegraph
  UI and by integrations that want incremental result delivery instead of batched responses. Exposed per-instance
  at /.api/search/stream with event types matches, progress, filters, alert, and done.
humanURL: https://sourcegraph.com/docs/api/stream_api
tags:
- Streaming
- Search
- SSE
properties:
- type: Documentation
  url: https://sourcegraph.com/docs/api/stream_api