Skip to main content

RelationReference

A graph relationship retrieved and included in generation context.

Usage profiles​

UsageFields and validation
In requestsView fields
In responsesView fields
In webhook payloadsView fields

In requests​

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
sourcestringOptionalSource entity of the memory graph relationship.
relationshipstringOptionalRelationship label connecting the source and destination entities.
destinationstringOptionalDestination entity of the memory graph relationship.

In responses​

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
sourcestringOptionalSource entity of the memory graph relationship.
relationshipstringOptionalRelationship label connecting the source and destination entities.
destinationstringOptionalDestination entity of the memory graph relationship.

In webhook payloads​

Webhook JSON uses protobuf field names (snake_case).

FieldTypePresenceMeaning
sourcestringOptionalSource entity of the memory graph relationship.
relationshipstringOptionalRelationship label connecting the source and destination entities.
destinationstringOptionalDestination entity of the memory graph relationship.

Where used​

ReferenceRelationship
Append a message without generatingPOST /api/v1/llm/append-message
Send a message to a conversationPOST /api/v1/llm/send-message
Send a message and wait for the resultPOST /api/v1/llm/send-message-sync
Withdraw your rating on a messagePOST /api/v1/llm/delete-message-rating
Get full conversation statePOST /api/v1/llm/conversation-state
Rate an assistant messagePOST /api/v1/llm/rate-message
Submit client-side tool results and wait for the next segmentPOST /api/v1/llm/submit-client-tool-results-sync
llm.message_publishedWebhook JSON uses protobuf field names (snake_case).
GenerationContextNested in model
GenerationContextNested in model
GenerationContextNested in model

Download the public reference contract.

Document: DOC-API-MODEL-relation-reference.