---
title: "The watches running in a sandbox."
method: GET
path: "/v1/sandboxes/{id}/files/watches"
tags: ["files"]
---

# The watches running in a sandbox.

`GET /v1/sandboxes/{id}/files/watches`

## Request

- Base URL: `https://api.withruntime.com`
- URL: `https://api.withruntime.com/v1/sandboxes/{id}/files/watches`
- Auth: HTTP bearer

## Path parameters

- `id` string, required: Resource identifier (UUID).

## Response `200`

Success

- object
  - `data` object[], required
    - `id` string, required
    - `path` string, required
    - `processId` string, required
    - `state` string, required
    - `startedAt` integer
    - `cursor` integer: Read events from here.
    - `watches` integer: Directories being watched.
    - `webhook` boolean: Its changes go to the account's webhooks.

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/withruntime/apis/runtime-cloud-api.md) · [All operations](https://skmtc.dev/withruntime/apis/runtime-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/withruntime/apis/runtime-cloud-api/revisions/6f4012286988?raw)
