Actions11
- Documents Actions
- Category Actions
- Images Actions
- Relationship Types Actions
Documents → Get All Documents
AI-generatedSummary
Retrieves all documents (entities) from the AgentBrains Knowledge Base.
Inputs
- returnAll — Whether to return all results or only up to a given limit.
- limit — Max number of results to return (applies when returnAll is false).
- mergeDocuments — Whether to merge all document contents into a single combined output.
Output shape
A list of items, each containing a document (or a merged string if mergeDocuments is enabled).
When returnAll is false, results are limited to the specified limit. The node supports handling paginated or nested response structures (data/value arrays).
Examples
Example 1: Fetch the first 50 documents from the knowledge base.
Resource: Documents, Operation: Get All Documents, returnAll: false, limit: 50
Example 2: Retrieve all documents and combine their content into one string.
Resource: Documents, Operation: Get All Documents, mergeDocuments: true