Skip to main content

MemoryReference

A memory record 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
memoryIdstringOptionalIdentifier of the retrieved memory record.
scorenumber (float) or string (NaN, Infinity, -Infinity)OptionalRelevance score reported by the memory provider for this match.
memoryTextstringOptionalText of the retrieved memory record.
createdAtstring (date-time)OptionalTime when this record was created.
updatedAtstring (date-time)OptionalTime when this record was last updated.

In responses​

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
memoryIdstringOptionalIdentifier of the retrieved memory record.
scorenumber (float) or string (NaN, Infinity, -Infinity)OptionalRelevance score reported by the memory provider for this match.
memoryTextstringOptionalText of the retrieved memory record.
createdAtstring (date-time)OptionalTime when this record was created.
updatedAtstring (date-time)OptionalTime when this record was last updated.

In webhook payloads​

Webhook JSON uses protobuf field names (snake_case).

FieldTypePresenceMeaning
memory_idstringOptionalIdentifier of the retrieved memory record.
scorenumber (float) or string (NaN, Infinity, -Infinity)OptionalRelevance score reported by the memory provider for this match.
memory_textstringOptionalText of the retrieved memory record.
created_atstring (date-time)OptionalTime when this record was created.
updated_atstring (date-time)OptionalTime when this record was last updated.

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-memory-reference.