---
title: "Stream pinned-run workflow history events via Server-Sent Events"
method: GET
path: "/workflow/{id}/runs/{rid}/history/stream"
---

# Stream pinned-run workflow history events via Server-Sent Events

`GET /workflow/{id}/runs/{rid}/history/stream`

## Request

- Base URL: `http://localhost:3001`
- URL: `http://localhost:3001/workflow/{id}/runs/{rid}/history/stream`
- Auth: none required
- TypeScript: <https://skmtc.dev/growthxai/apis/output-ai-api/docs/workflow/:id/runs/:rid/history/stream/get.ts> (a function with typed inputs; its response is checked against the schema)

Same as /workflow/{id}/history/stream but targets a specific run ID.

## Path parameters

- `id` string, required
- `rid` string, uuid, required

## Query parameters

- `includePayloads` boolean
- `lastEventId` integer

## Response `200`

SSE stream of workflow history events

## Other responses

- `400`: Invalid request body, query, or pagination token
- `404`: Workflow execution, workflow type, or catalog not found
- `500`: Internal server error (e.g. Temporal connection failure)

## Changes

- **2026-06-26** `af92556ec60e`: 1 info
  - endpoint added
- **2026-03-13** `0f0e49049ef1`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/growthxai/apis/output-ai-api/changes/workflow/:id/runs/:rid/history/stream/get.md)

---

[API](https://skmtc.dev/growthxai/apis/output-ai-api.md) - [All operations](https://skmtc.dev/growthxai/apis/output-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/growthxai/apis/output-ai-api/revisions/d34370cdff2d?raw)
