Skip to main content
PUT
JavaScript

Authorizations

X-API-Key
string
header
required

Path Parameters

knowledge_base_id
string<uuid>
required

Unique knowledge base ID.

Query Parameters

organization_id
string<uuid> | null

Organization scope for API keys that can access multiple organizations.

Body

name
string
required

Document name or path to update.

Minimum string length: 1
text
string
required

Replacement text content for the document.

Minimum string length: 1
folder
string | null

Folder path containing the document.

Minimum string length: 1

Response

Successful Response

message
string
required

Operation result message.

name
string
required

Document name.

path
string
required

Document path.

folder
string | null

Document folder path.