Skip to main content
PATCH
Error

Authorizations

Authorization
string
header
required

API token obtained from the Tokens endpoint or CLI device login. Include as Authorization: Bearer <token>. Requests made with a managed CLI session also include X-Strix-Workspace: <organization_id> to pin a process to the workspace it started in; recovery endpoints report the current workspace after a concurrent switch.

Path Parameters

documentId
string
required

Document identifier. The API returns this identifier in list and create responses.

Body

application/json
title
string

New title of the document.

Maximum string length: 200
content
string

New body of the document in plain text or Markdown.

Maximum string length: 20000
tags
string[]

Full replacement list of labels for the document.

Maximum array length: 15
Maximum string length: 60
metadata
object

Full replacement JSON object stored with the document.

Response

Updated document.

The response is of type object.