OptionalauthorThe author of the memory. Common values are 'user' and 'model', but
this can also be the name of an agent when the content was produced by a
named sub-agent.
The content of the memory entry, as originally produced during a session.
OptionalcustomOptional custom metadata associated with the memory.
A service that also accepts request-level metadata merges this on top of it, so a key declared here wins over the same key on the request.
OptionalidThe unique identifier of the memory.
When set on an entry passed to addMemory, a service that supports
caller-chosen identifiers uses it as the last component of the created
memory's resource name instead of generating one.
OptionaltimestampThe time when the original content was produced.
Forwarded to the LLM as part of the memory context.
Preferred format is ISO 8601 (e.g. '2024-01-15T10:30:00.000Z').
Represents one memory entry retrieved from a memory service.
Memory entries are created from session events and surfaced to the agent to provide relevant context from past interactions.