---
title: "Resume Agent Run Stream"
method: POST
path: "/agents/{agent_id}/runs/{run_id}/resume"
tags: ["Agents"]
---

# Resume Agent Run Stream

`POST /agents/{agent_id}/runs/{run_id}/resume`

Resume an SSE stream for an agent run after disconnection.

Sends missed events since `last_event_index`, then continues streaming live events if the run is still active.

**Three reconnection paths:**
1. **Run still active**: Sends catch-up events + continues live streaming
2. **Run completed (in buffer)**: Replays missed buffered events
3. **Run completed (in database)**: Replays events from database

**Client usage:**
Track `event_index` from each SSE event. On reconnection, pass the last received `event_index` as `last_event_index`.

## Path parameters

- `agent_id` string, required
- `run_id` string, required

## Response `200`

SSE stream of catch-up and/or live events

- unknown

## Other responses

- `400` — Not supported for remote agents
- `401` — Unauthorized
- `404` — Agent not found
- `422` — Validation Error
- `500` — Internal Server Error

---

[API](https://skmtc.net/agno/apis/agno-api-reference.md) · [All operations](https://skmtc.net/agno/apis/agno-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agno/agno-api-reference/revisions/5f6149d395d0/schema)
