RelationReference
A graph relationship retrieved and included in generation context.
Usage profiles
| Usage | Fields and validation |
|---|---|
| In requests | View fields |
| In responses | View fields |
| In webhook payloads | View fields |
In requests
API JSON uses JSON field names (camelCase).
| Field | Type | Presence | Meaning |
|---|---|---|---|
source | string | Optional | Source entity of the memory graph relationship. |
relationship | string | Optional | Relationship label connecting the source and destination entities. |
destination | string | Optional | Destination entity of the memory graph relationship. |
In responses
API JSON uses JSON field names (camelCase).
| Field | Type | Presence | Meaning |
|---|---|---|---|
source | string | Optional | Source entity of the memory graph relationship. |
relationship | string | Optional | Relationship label connecting the source and destination entities. |
destination | string | Optional | Destination entity of the memory graph relationship. |
In webhook payloads
Webhook JSON uses protobuf field names (snake_case).
| Field | Type | Presence | Meaning |
|---|---|---|---|
source | string | Optional | Source entity of the memory graph relationship. |
relationship | string | Optional | Relationship label connecting the source and destination entities. |
destination | string | Optional | Destination entity of the memory graph relationship. |
Where used
| Reference | Relationship |
|---|---|
| Append a message without generating | POST /api/v1/llm/append-message |
| Send a message to a conversation | POST /api/v1/llm/send-message |
| Send a message and wait for the result | POST /api/v1/llm/send-message-sync |
| Withdraw your rating on a message | POST /api/v1/llm/delete-message-rating |
| Get full conversation state | POST /api/v1/llm/conversation-state |
| Rate an assistant message | POST /api/v1/llm/rate-message |
| Submit client-side tool results and wait for the next segment | POST /api/v1/llm/submit-client-tool-results-sync |
| llm.message_published | Webhook JSON uses protobuf field names (snake_case). |
| GenerationContext | Nested in model |
| GenerationContext | Nested in model |
| GenerationContext | Nested in model |
Download the public reference contract.
Document: DOC-API-MODEL-relation-reference.