---
title: "Stream the substrate as NDJSON (replay/export)"
method: GET
path: "/v1/episodes/export"
tags: ["Episodes"]
---

# Stream the substrate as NDJSON (replay/export)

`GET /v1/episodes/export`

## Request

- Base URL: `https://brain.inite.ai`
- URL: `https://brain.inite.ai/v1/episodes/export`
- Auth: HTTP bearer

The same filtered stream as GET /v1/episodes, one episode per line, paged internally — bounded memory however large the tenant. 404 until EPISODES_API_ENABLED=1.

Required scope: `brain:read`.

## Query parameters

- `conversationId` string
- `speaker` string
- `since` string
- `until` string

## Response `200`

NDJSON stream; each line is an Episode.

## Other responses

- `400`: Validation failed.
- `401`: Missing or unknown bearer key.
- `403`: The key lacks the required scope.
- `404`: No such resource in this tenant.

---

[API](https://skmtc.dev/inite/apis/inite-brain-platform-api.md) · [All operations](https://skmtc.dev/inite/apis/inite-brain-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/inite/apis/inite-brain-platform-api/revisions/c7c3eb5e304b?raw)
