Update source metadata
PATCH /knowledge-bases/{knowledgeBaseId}/sources/{sourceId}/metadata
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”ID of the knowledge base
ID of the knowledge base
ID of the source to update
ID of the source to update
Request Body
Section titled “Request Body ”Responses
Section titled “ Responses ”Metadata updated successfully
object
Unique identifier for the source (nanoid format)
ID of the parent knowledge base
ID of the file source (mutually exclusive with tableId)
ID of the dataset table source (mutually exclusive with fileId)
For table sources: specifies which columns to process
object
Column names to extract content from
Processing status of the source
ID of the extraction used when this source was processed
Version of dataset when last processed
ISO 8601 timestamp when the source was added
ISO 8601 timestamp when the source was last processed
Error message from the most recent failed sync attempt
True if metadata has changed and chunks need re-indexing
Bad Request - Validation error or invalid input
object
Unauthorized - Authentication required or invalid token
object
Forbidden - Insufficient permissions
object
Not Found - Resource does not exist