Add source to knowledge base
POST /knowledge-bases/{knowledgeBaseId}/sources
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Unique identifier for the knowledge base to retrieve
Unique identifier for the knowledge base to retrieve
Request Body
Section titled “Request Body ”object
ID of the dataset table to add as a source
Specification of which columns to process
object
Column names to extract content from
Responses
Section titled “ Responses ”Source added 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
object
Conflict - Resource already exists or operation conflicts with current state