---
title: "Stream file modification events in a directory"
method: GET
path: "/watch/filesystem/{path}"
tags: ["filesystem"]
---

# Stream file modification events in a directory

`GET /watch/filesystem/{path}`

Streams the path of modified files (one per line) in the given directory. Closes when the client disconnects.

## Path parameters

- `path` string, required

## Query parameters

- `ignore` string

## Response `200`

Stream of modified file paths, one per line

## Other responses

- `400` — Invalid path
- `500` — Internal server error

---

[API](https://skmtc.net/blaxel/apis/blaxel-control-plane.md) · [All operations](https://skmtc.net/blaxel/apis/blaxel-control-plane/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blaxel/blaxel-control-plane/versions/dfa264bc72ee/schema)
