GoodMem
ReferenceClient SDKs.NETModels

Memory Model

Memory Model documentation for .NET SDK

Memory object containing stored content and metadata

Properties

NameTypeDescriptionNotes
MemoryIdGuidUnique identifier of the memory
SpaceIdGuidID of the space containing this memory
OriginalContentFileParameterOriginal content (only included if requested)[optional]
OriginalContentLengthlong?Size in bytes of the inline original content[optional]
OriginalContentSha256stringSHA-256 digest of the inline original content, hex encoded[optional]
OriginalContentRefstringReference to external content location[optional]
ContentTypestringMIME type of the content
ProcessingStatusstringProcessing status of the memory
PageImageStatusstringProcessing status of page-image extraction for this memory
PageImageCountintNumber of extracted page-image renditions linked to this memory
MetadataDictionary<string, Object>Additional metadata for the memory[optional]
CreatedAtlongTimestamp when the memory was created (milliseconds since epoch)
UpdatedAtlongTimestamp when the memory was last updated (milliseconds since epoch)
CreatedByIdGuidID of the user who created this memory
UpdatedByIdGuidID of the user who last updated this memory
ChunkingConfigChunkingConfiguration[optional]
ProcessingHistoryProcessingHistory[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}");