Skip to main content
Section ID: DOC-API-MODEL-schema-1k84aa8jbi#overview

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.

Meaning and usage​

Section ID: DOC-API-MODEL-schema-1k84aa8jbi#meaning

See the definition above.

Usage profiles​

Section ID: DOC-API-MODEL-schema-1k84aa8jbi#fields

UsageFields and validation
In responsesView fields

In responses​

Section ID: DOC-API-MODEL-schema-1k84aa8jbi#response

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
Section ID: DOC-API-MODEL-schema-1k84aa8jbi#field-sourceSection ID: DOC-API-MODEL-schema-1k84aa8jbi#response-field-sourcesourcestringOptionalSource entity name.
Section ID: DOC-API-MODEL-schema-1k84aa8jbi#field-relationshipSection ID: DOC-API-MODEL-schema-1k84aa8jbi#response-field-relationshiprelationshipstringOptionalOpen string describing the relationship. Example labels do not restrict the allowed values.
Section ID: DOC-API-MODEL-schema-1k84aa8jbi#field-destinationSection ID: DOC-API-MODEL-schema-1k84aa8jbi#response-field-destinationdestinationstringOptionalDestination entity name.

Where used​

Section ID: DOC-API-MODEL-schema-1k84aa8jbi#where-used

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

Download the public reference contract.

Document ID: DOC-API-MODEL-schema-1k84aa8jbi