Knowledge

Update Content

Update content properties such as name, description, metadata, or processing configuration. Allows modification of existing content without re-uploading.

patch/knowledge/content/{content_id}

Request

Path parameters

content_idstring required

Content ID

Query parameters

db_idstring nullable

Database ID to use

knowledge_idstring nullable

Knowledge base ID to use

Request body application/x-www-form-urlencoded

namestring nullable

Content name

descriptionstring nullable

Content description

metadatastring nullable

Content metadata as JSON string

reader_idstring nullable

ID of the reader to use for processing

Response

Content updated successfully

idstring required

Unique identifier for the content

namestring nullable

Name of the content

descriptionstring nullable

Description of the content

typestring nullable

MIME type of the content

sizestring nullable

Size of the content in bytes

linked_tostring nullable

ID of related content if linked

metadataobject nullable

Additional metadata as key-value pairs

access_countinteger nullable

Number of times content has been accessed

status'processing' | 'completed' | 'failed'

Enumeration of possible content processing statuses.

status_messagestring nullable

Status message or error details

created_atstring date-time nullable

Timestamp when content was created

updated_atstring date-time nullable

Timestamp when content was last updated

Changes

No recorded changes to this operation across all 1 revision of this API.