11# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22
33from typing import Dict , List , Union , Optional
4+ from datetime import datetime
5+ from typing_extensions import Literal
46
57from pydantic import Field as FieldInfo
68
1113
1214class Memory (BaseModel ):
1315 id : str
16+ """Unique identifier of the memory."""
1417
1518 content : Optional [str ] = None
1619 """The content to extract and process into a memory.
@@ -24,6 +27,9 @@ class Memory(BaseModel):
2427 We automatically detect the content type from the url's response format.
2528 """
2629
30+ created_at : datetime = FieldInfo (alias = "createdAt" )
31+ """Creation timestamp"""
32+
2733 custom_id : Optional [str ] = FieldInfo (alias = "customId" , default = None )
2834 """Optional custom ID of the memory.
2935
@@ -43,18 +49,34 @@ class Memory(BaseModel):
4349
4450 source : Optional [str ] = None
4551
52+ status : Literal ["unknown" , "queued" , "extracting" , "chunking" , "embedding" , "indexing" , "done" , "failed" ]
53+ """Status of the memory"""
54+
4655 summary : Optional [str ] = None
56+ """Summary of the memory content"""
4757
4858 title : Optional [str ] = None
4959 """Title of the memory"""
5060
61+ type : Literal ["text" , "pdf" , "tweet" , "google_doc" , "image" , "video" , "notion_doc" , "webpage" ]
62+ """Type of the memory"""
63+
64+ updated_at : datetime = FieldInfo (alias = "updatedAt" )
65+ """Last update timestamp"""
66+
67+ url : Optional [str ] = None
68+ """URL of the memory"""
69+
5170 container_tags : Optional [List [str ]] = FieldInfo (alias = "containerTags" , default = None )
5271 """Optional tags this memory should be containerized by.
5372
5473 This can be an ID for your user, a project ID, or any other identifier you wish
5574 to use to group memories.
5675 """
5776
77+ raw : None = None
78+ """Raw content of the memory"""
79+
5880
5981class Pagination (BaseModel ):
6082 current_page : float = FieldInfo (alias = "currentPage" )
0 commit comments