AgentBrains Knowledge Base icon

AgentBrains Knowledge Base

Interact with the AgentBrains Knowledge Base (Entities, Categories)

Actions11

Documents → Get Many

AI-generated

Summary

Retrieves a list of knowledge base entities, optionally filtered by category, search text, or advanced criteria.

Inputs

  • categoryId — A comma-separated list of category IDs to filter results by. If omitted, results are not filtered by category.
  • limit — The maximum number of results to return. Only used when 'Return All' is disabled. Defaults to 50.
  • returnAll — If true, bypasses the limit and retrieves all matching results.
  • search — Performs a case-insensitive text search across the entity's name, description, and details fields.
  • recursive — If true, fetches all entities from the specified category and its subcategories.
  • additionalFields — A collection of advanced filters: 'fields' (comma-separated list of fields to return), 'sku' (exact Stock Keeping Unit), 'source' (filter by original source identifier), or 'tags' (comma-separated list of tags).

Output shape

A list of items, each containing an 'items' array with entity data.

The node wraps the raw API response in an 'items' array. By default, it returns up to 50 results; use 'Return All' to disable pagination limits.

Examples

Example 1: Fetch top-level entities by category

Resource: Documents, Operation: Get Many, Category ID: [category-id-here], Return All: false, Limit: 10

Example 2: Search for entities containing specific text

Resource: Documents, Operation: Get Many, Search: 'product specification'

Example 3: Retrieve all entities from a category and its subcategories

Resource: Documents, Operation: Get Many, Category ID: [parent-category-id], Recursive: true, Return All: true

Links

Discussion