Skip to main content
PUT
Partial update: send only the fields you want to change. Fields left out stay as they are.

Path Parameters

string
required
Knowledge item UUID

Body

string
New name (1 to 255 characters)
string
New description, up to 1000 characters
string
New indexed text. Replaces the previous content.
string
New usage instruction, up to 2000 characters
string
Changes the scope of the knowledge item. See the table below.

Changing the owning assistant

The assistant_id field has three distinct behaviors:
Sending "" is not the same as omitting the field. The empty string is what removes the link to the assistant and returns the knowledge item to the global scope.

Response

Returns 200 OK with the updated knowledge item.
cURL

Make it global again

cURL

Replace the file

Send the request as multipart/form-data with the file field. The same extensions and the same 10 MB limit from creation apply.
cURL

Errors