GoodMem
ReferenceClient SDKsJavaScriptRequests

JsonMemoryCreationRequest

JsonMemoryCreationRequest documentation for JavaScript SDK

Properties

NameTypeDescriptionNotes
memoryIdStringOptional client-provided UUID for the memory. If omitted, the server generates one. Returns ALREADY_EXISTS if the ID is already in use.[optional]
spaceIdStringID of the space where this memory will be stored
originalContentObject
originalContentB64Object
originalContentRefStringReference to external content location[optional]
contentTypeStringMIME type of the content
metadata{String: Object}Additional metadata for the memory[optional]
chunkingConfigChunkingConfiguration[optional]
extractPageImagesBooleanOptional hint to extract page images for eligible document types (for example, PDFs)[optional]
fileFieldStringOptional multipart file field name to bind binary content; required when multiple files are uploaded in a batch multipart request.[optional]

On this page