---
title: "Stream persisted agent run events"
method: GET
path: "/agent/runs/{run_id}/events/stream"
tags: ["agent"]
---

# Stream persisted agent run events

`GET /agent/runs/{run_id}/events/stream`

Replays events whose index is greater than the cursor, then follows committed events until the run reaches a terminal state. Reconnecting with the last received index is lossless and duplicate-safe.

## Path parameters

- `run_id` string, required

## Query parameters

- `after` integer
- `principal_id` string

## Headers

- `Last-Event-ID` string

## Response `200`

Indexed AG-UI Server-Sent Events. Keepalive comments do not advance the cursor.

## Other responses

- `400` — Invalid cursor
- `401` — Unauthorized
- `404` — Not Found

---

[API](https://skmtc.dev/qlonolink/apis/qaip-apis.md) · [All operations](https://skmtc.dev/qlonolink/apis/qaip-apis/llms.txt) · [OpenAPI document](https://skmtc.dev/qlonolink/apis/qaip-apis/revisions/430440bbcc56?raw)
