---
title: "Update document"
method: PATCH
path: "/v1/documents/{id}"
tags: ["Knowledge"]
---

# Update document

`PATCH /v1/documents/{id}`

Update a knowledge document. At least one of `name` or `content` must be provided.

## Path parameters

- `id` string, uuid, required

## Headers

- `X-Runway-Version` '2024-11-06', required

## Request body

- object
  - `name` string — A new name for the document.
  - `content` string — New markdown or plain text content for the document.

## Response `204`

Success

---

[API](https://skmtc.net/runwayml/apis/runwayml-api.md) · [All operations](https://skmtc.net/runwayml/apis/runwayml-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/runwayml/runwayml-api/revisions/cbbe796a13a0/schema)
