Rest
For the complete BrainAPI documentation index, see llms.txt. A markdown version of any docs page is available by appending .md to its URL. Docs MCP: /docs/mcp.
Retrieve information
Retrieve information about an entity or concept by querying the relationships between them in the memory
Query Parameters
memory_uuid*Memory Uuid
The UUID of the memory
entities*array<string>
The entities to be retrieved
info*Info
The information to be retrieved
depth?Depth
The higher relation depth that will be looked for
Default
2Header Parameters
X-LumenBrain-ApiKey*X-Lumenbrain-Apikey
API Key for authentication
Response Body
application/json
application/json
curl -X GET "https://example.com/api/v1/memory/query/entities/?memory_uuid=string&entities=string&info=string" \ -H "X-LumenBrain-ApiKey: string"{ "nodes": [ { "natural_lang": "string", "id": "string", "parent_id": "string", "name": "string", "relationships": [], "source_id": "string" } ], "most_relevant_relation": { "name": "string", "phrase": "string", "direction": "string", "natural_lang": "string", "related_node": { "natural_lang": "string", "id": "string", "parent_id": "string", "name": "string", "relationships": [], "source_id": "string" }, "similarity": 0, "source_id": "string" }}