---
title: "Mark a file as dirty"
method: POST
path: "/v1/devboxes/{id}/lsp/mark-file-dirty"
tags: ["utility"]
---

# Mark a file as dirty

`POST /v1/devboxes/{id}/lsp/mark-file-dirty`

Mark a file as dirty so that the language server will not return
requests until the file is marked as clean

## Path parameters

- `id` string, required

## Request body

- FileRequestBody — Requesting a file parameter with a URI with absolute or relative path example with absolute uri: file://Users/user/project/src/index.ts
  - `uri` string, required

## Response `204`

No content

---

[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/0cb966ca566f/schema)
