---
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

## Changes

- **2026-03-18** `618b98a98e5d` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/runwayml/apis/runwayml-api/changes/v1/documents/:id/patch.md)

---

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