Skip to main content
PATCH
Update document

Authorizations

Authorization
string
header
required

Voiceflow bearer token

Path Parameters

documentID
string
required

The ID of the knowledge base document to operate on.

Query Parameters

projectID
string
required

The ID of the project to operate on.

environmentAlias
string
required

The alias of the environment to operate on (e.g. main).

Body

application/json
metadata
object[]
required

Metadata tags attached to the document, used to filter knowledge base retrieval at runtime.

Response

200 - application/json

Confirms the document was updated. The response is a message rather than the revised document, so fetch it again to check its status or read the resulting chunks.

message
string
required

A human-readable message confirming the update.