---
title: "Stream a task run"
method: GET
path: "/task_runs/{id}/stream"
tags: ["TaskRuns"]
---

# Stream a task run

`GET /task_runs/{id}/stream`

## Request

- Base URL: `https://api.crevio.co/v1`
- URL: `https://api.crevio.co/v1/task_runs/{id}/stream`
- Auth: API key in header `Authorization`

Follow a task run over Server-Sent Events instead of polling. Closes on `completed`, `failed`, and `needs_input` (resolve via POST /task_runs/{id}/resolve, then re-open the stream).

## Path parameters

- `id` string, required

## Response `200`

SSE stream of the resource.

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `403`: Forbidden
- `404`: Resource not found
- `429`: Rate limit exceeded — 600 requests per minute per credential. Retry after the number of seconds in `Retry-After`.
- `500`: Internal server error

---

[API](https://skmtc.dev/crevio/apis/crevio-api-v1.md) · [All operations](https://skmtc.dev/crevio/apis/crevio-api-v1/llms.txt) · [OpenAPI document](https://skmtc.dev/crevio/apis/crevio-api-v1/revisions/2219f18ad651?raw)
