List sources for knowledge base
GET /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
Query Parameters
Section titled “Query Parameters ”Filter sources by processing status
Filter sources by processing status
Page number for pagination (1-indexed)
Page number for pagination (1-indexed)
Number of results per page (1-100, default: 20)
Number of results per page (1-100, default: 20)
Field to sort results by
Field to sort results by
Sort direction: ascending or descending
Sort direction: ascending or descending
Responses
Section titled “ Responses ”Sources retrieved successfully
object
Array of sources
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
Total number of sources (before pagination)
Current page number
Number of results per page
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