List Documents
AI-generatedSummary
Retrieve a paginated list of documents from a specified knowledge base in DocRouter.ai.
Inputs
- Knowledge Base ID (required) — The unique identifier of the knowledge base to list documents from.
- Limit — Maximum number of documents to return (1-100). Defaults to 10.
- Skip — Number of documents to skip for pagination. Defaults to 0.
Output shape
a list of document objects from the specified knowledge base
Returns up to the specified limit of documents, skipping the given number for pagination. The output is a JSON array of document records retrieved from the knowledge base.
Examples
Example 1: List the first 10 documents of a knowledge base with ID 'kb123'
Set Knowledge Base ID to 'kb123', Limit to 10 (default), Skip to 0 (default). The node outputs a list of documents from that knowledge base.