---
title: "Stream Deployment Logs"
method: GET
path: "/v1/workflows/deployments/{name}/logs/stream"
tags: ["workflows.deployments"]
---

# Stream Deployment Logs

`GET /v1/workflows/deployments/{name}/logs/stream`

Stream logs for a deployment (all of its workers) via SSE.

Resume cursor comes from the `Last-Event-ID` header or `last_event_id` query param (header wins)
and takes precedence over `after`; omit all to tail from the deployment start.

## Path parameters

- `name` string, required

## Query parameters

- `worker_name` string, nullable — Filter logs by worker name
- `workflow_name` string, nullable — Filter logs by workflow name
- `after` string, date-time, nullable — Start a fresh stream at this timestamp (ignored when resuming via last_event_id)
- `last_event_id` string, nullable — Resume from this cursor (a prior response's SSE id)

## Headers

- `Last-Event-ID` string, nullable — Resume from this cursor (a prior response's SSE id). Takes precedence over the query parameter.

## Response `200`

Stream of Server-Sent Events (SSE): `log` events carry a DeploymentLogRecord; `error` events carry a StreamError payload.

## Other responses

- `404` — Deployment not found
- `422` — Validation Error
- `503` — Logs backend unavailable

---

[API](https://skmtc.net/mistral/apis/mistral-ai-api.md) · [All operations](https://skmtc.net/mistral/apis/mistral-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mistral/mistral-ai-api/revisions/933c4ebdcd72/schema)
