Skip to main content

Memory relation

A relation is a directed edge from source to destination, labeled by relationship. These are entity names and an open relationship string; no fixed relationship enumeration is enforced by this contract.

Relationships may be absent even when memory records are returned. They describe extracted associations, not verified facts, ownership permissions or lifecycle transitions.

Usage profiles​

UsageFields and validation
In responsesView fields

In responses​

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
sourcestringOptionalSource entity name.
relationshipstringOptionalOpen string describing the relationship. Example labels do not restrict the allowed values.
destinationstringOptionalDestination entity name.

Where used​

ReferenceRelationship
Semantic search over memoriesPOST /api/v1/llm/search-memories

Download the public reference contract.

Document: DOC-API-MODEL-relation.