---
title: "Stream tail of file"
method: GET
path: "/api/file/{DirName}/tailfollow/*"
tags: ["file"]
---

# Stream tail of file

`GET /api/file/{DirName}/tailfollow/*`

Streams the tail of a log file using Server-Sent Events (SSE). Only works for files in the `logs` directory.

## Query parameters

- `lines` integer

## Response `200`

Success

## Other responses

- `403` — Forbidden directory
- `404` — File not found

---

[API](https://skmtc.net/falconchristmas/apis/fpp-api.md) · [All operations](https://skmtc.net/falconchristmas/apis/fpp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/falconchristmas/fpp-api/versions/167593eed748/schema)
