Skip to content

Brain

brain_knowledge_relations

List typed relations (depends_on, competes_with, …) in the product knowledge graph

Tool

brain_knowledge_relations

List typed relations (depends_on, competes_with, …) in the product knowledge graph

List typed relations (depends_on, competes_with, …) in the product knowledge graph

Behavior

HTTP
GET /brain/knowledge/relations

Arguments

NameTypeRequiredDescription
limitintegerMax relations
scopestringRead scope; 'both' (default) unions shared + your private
relation_typestringFilter by ontology relation type (e.g. depends_on)
source_entitystringFilter by source entity id or name
target_entitystringFilter by target entity id or name

Response

FieldTypeAlwaysDescription
relationsarray
elapsed_msnumber
request_idstring

Try it

List typed relations (depends_on, competes_with, …) in the product knowledge graph.

When to use

List typed relations (depends_on, competes_with, …) in the product knowledge graph

Example

Ask your agent something like this:

List typed relations (depends_on, competes_with, …) in the product knowledge graph.

The agent will invoke brain_knowledge_relations with these arguments:

{}

Esc

Start typing to search the docs.

navigateselect