---
title: "Stream cross-jurisdiction code search results (SSE)"
method: POST
path: "/api/v1/code-search/stream"
tags: ["Code Search"]
---

# Stream cross-jurisdiction code search results (SSE)

`POST /api/v1/code-search/stream`

Server-sent events. Fans out the search query to peregrine in each cell where the user has repos, streaming results per cell as they arrive. A failing cell emits an error frame; other cells are unaffected.

## Response `200`

SSE stream of ready/fill/error/done frames

## Other responses

- `400` — Invalid request body
- `401` — Not authenticated
- `502` — Could not list repos from entire-core
- `503` — entire-api is not configured

---

[API](https://skmtc.dev/entire/apis/entire-api.md) · [All operations](https://skmtc.dev/entire/apis/entire-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/entire/entire-api/revisions/c3d737ae064e/schema)
