---
title: "Stream Workflow Execution Logs"
method: GET
path: "/v1/workflows/executions/{execution_id}/logs/stream"
tags: ["workflows.executions"]
---

# Stream Workflow Execution Logs

`GET /v1/workflows/executions/{execution_id}/logs/stream`

Stream logs for a workflow execution 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 execution start.

## Path parameters

- `execution_id` string, required

## Query parameters

- `run_id` string, uuid, nullable — Filter logs by workflow run ID
- `activity_id` string, nullable — Filter logs by activity ID
- `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 an ExecutionLogRecord; `error` events carry a StreamError payload.

## Other responses

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

---

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