Memory Model
Memory Model documentation for .NET SDK
Memory object containing stored content and metadata
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| MemoryId | Guid | Unique identifier of the memory | |
| SpaceId | Guid | ID of the space containing this memory | |
| OriginalContent | FileParameter | Original content (only included if requested) | [optional] |
| OriginalContentLength | long? | Size in bytes of the inline original content | [optional] |
| OriginalContentSha256 | string | SHA-256 digest of the inline original content, hex encoded | [optional] |
| OriginalContentRef | string | Reference to external content location | [optional] |
| ContentType | string | MIME type of the content | |
| ProcessingStatus | string | Processing status of the memory | |
| PageImageStatus | string | Processing status of page-image extraction for this memory | |
| PageImageCount | int | Number of extracted page-image renditions linked to this memory | |
| Metadata | Dictionary<string, Object> | Additional metadata for the memory | [optional] |
| CreatedAt | long | Timestamp when the memory was created (milliseconds since epoch) | |
| UpdatedAt | long | Timestamp when the memory was last updated (milliseconds since epoch) | |
| CreatedById | Guid | ID of the user who created this memory | |
| UpdatedById | Guid | ID of the user who last updated this memory | |
| ChunkingConfig | ChunkingConfiguration | [optional] | |
| ProcessingHistory | ProcessingHistory | [optional] |
Usage Example
// Memory objects are returned by the API
var memory = await memoriesApi.GetMemoryAsync(memoryId);
Console.WriteLine($"Memory ID: {memory.MemoryId}");
Console.WriteLine($"Status: {memory.ProcessingStatus}");
Console.WriteLine($"Content type: {memory.ContentType}");
Console.WriteLine($"Page images: {memory.PageImageCount}");