Skip to content

SystemMetadata

Source code in docs_src/capo_opensearchmemory/types/system_metadata.py
class SystemMetadata(TypedDict, closed=True):
    actor_id: NotRequired["capo_opensearchmemory.types.actor_id.ActorId"]
    """<p>The owning actor. Absent when none was recorded.</p>"""
    session_id: NotRequired["capo_opensearchmemory.types.session_id.SessionId"]
    """<p>The owning session. Absent when none was recorded.</p>"""
    created_at: NotRequired["datetime.datetime"]
    """<p>When the record was created. Always present on <code>ListMemories</code> and <code>GetMemory</code>. It can be absent from search results.</p>"""
    updated_at: NotRequired["datetime.datetime"]
    """<p>When the record was last updated. Equals <code>createdAt</code> for a record that has never been updated, and always for a <code>SearchEvents</code> result.</p>"""

actor_id instance-attribute

actor_id: NotRequired[ActorId]

The owning actor. Absent when none was recorded.

created_at instance-attribute

created_at: NotRequired[datetime]

When the record was created. Always present on ListMemories and GetMemory. It can be absent from search results.

session_id instance-attribute

session_id: NotRequired[SessionId]

The owning session. Absent when none was recorded.

updated_at instance-attribute

updated_at: NotRequired[datetime]

When the record was last updated. Equals createdAt for a record that has never been updated, and always for a SearchEvents result.