AgentBrains icon

AgentBrains

Interact with AgentBrains Knowledge Base, Conversation, Employee, RAG, Document Structuring, and Synthetic QA functionality

Actions21

Document → Get Related Entities

AI-generated

Summary

Retrieve entities related to a specified document, optionally filtering them by relationship type. The operation makes a GET request to the document’s relationships endpoint.

Inputs

  • ID (required) — The document ID whose related entities to retrieve.
  • Additional Fields → Type — Optionally filter relationships by a type, such as is-accessory-for.
  • Return All — When enabled, return all results. Defaults to false.
  • Limit — Maximum results when Return All is disabled. Defaults to 50.

Output shape

A single item containing an items array of related entities.

The response is normalized from an array or an object with a data or value array. When Return All is disabled, the array is truncated to the configured limit. Requires AgentBrains API credentials.

Links

Discussion