---
title: "Tails the logs for the given deployment with SSE streaming"
method: GET
path: "/v1/deployments/{deployment_id}/logs/tail"
tags: ["deployment", "streaming"]
---

# Tails the logs for the given deployment with SSE streaming

`GET /v1/deployments/{deployment_id}/logs/tail`

Tails the logs for the given deployment with SSE streaming

## Path parameters

- `deployment_id` string, required

## Response `200`

OK

- DeploymentLogsView
  - `deployment_id` string, required — ID of the given deployment.
  - `logs` DeploymentLog[], required — List of logs for the given deployment.
    - `level` string, required — Log line severity level.
    - `timestamp_ms` integer, required — Time of log (Unix timestamp milliseconds).
    - `message` string, required — Log line message.

---

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