知识管理

更新知识

更新知识条目信息

put/knowledge/{id}

Path parameters

idstring required

知识ID

Request body

created_atstring

Creation time of the knowledge

descriptionstring

Description of the knowledge

embedding_model_idstring

ID of the embedding model

enable_statusstring

Enable status of the knowledge

error_messagestring

Error message of the knowledge

file_hashstring

File hash of the knowledge

file_namestring

File name of the knowledge

file_pathstring

File path of the knowledge

file_sizeinteger

File size of the knowledge

file_typestring

File type of the knowledge

idstring

Unique identifier of the knowledge

knowledge_base_idstring

ID of the knowledge base

knowledge_base_namestring

Knowledge base name (not stored in database, populated on query)

metadatainteger[]

Metadata of the knowledge

parse_statusstring

Parse status of the knowledge

processed_atstring

Processed time of the knowledge

sourcestring

Source of the knowledge

storage_sizeinteger

Storage size of the knowledge

summary_statusstring

Summary status for async summary generation

tag_idstring

Optional tag ID for categorization within a knowledge base

tenant_idinteger

Tenant ID

titlestring

Title of the knowledge

typestring

Type of the knowledge

updated_atstring

Last updated time of the knowledge

Response

更新成功

object required

Changes