---
title: "Stream a deployment"
method: GET
path: "/sites/{id}/deployments/{deployment_id}/stream"
tags: ["Deployments"]
---

# Stream a deployment

`GET /sites/{id}/deployments/{deployment_id}/stream`

## Request

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

Follow a build over Server-Sent Events instead of polling the deployments list — each event carries the deployment with its stages. Closes when the deployment reaches `live`, `failed`, `superseded`, or `unpublished`.

## Path parameters

- `id` string, required
- `deployment_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)
