v50

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01600974.4 KB
Knowledge

Update document

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

patch/v1/documents/{id}

Path parameters

idstring uuid required

The document ID.

Headers

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

The version of the RunwayML API being used. You can read more about versioning here.

Request body

namestring

A new name for the document.

contentstring

New markdown or plain text content for the document.

Example request

{
  "name": "Updated Product FAQ",
  "content": "# Updated FAQ\n\n..."
}

Response

Success