API · Context · Update a context document
Update the content of a linked context document. Changes are applied to the underlying KnowledgeDoc, and its version is automatically incremented.
Authentication
AuthorizationApi-Key
Header authentication of the form Api-Key <token>
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
brand_id
Brand kit UUID
document_link_id
Either the context-document link UUID (BrandKitContextDocument ID) OR the underlying KnowledgeDoc UUID — the endpoint resolves both.
Request
This endpoint expects an object.
name
description
data
Structured JSON data
content
Markdown content
Response
Context document updated
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
