Supermemory icon

Supermemory

Interact with the Supermemory API

Document → Upload File

AI-generated

Summary

Uploads a file and processes it as a document in Supermemory

Inputs

  • binaryPropertyName (required) — The name of the incoming field containing the binary file data
  • additionalFields — Optional metadata for the uploaded file

Output shape

Supermemory API response containing the uploaded document's ID and metadata

Binary data is read from the specified input field; optional fields include containerTags, fileType, mimeType (required for image/video), and metadata as JSON.

Examples

Example 1: Upload an image from a binary field named 'fileData', tag it with 'images', and set MIME type

Set binaryPropertyName to 'fileData', additionalFields.containerTags to 'images', additionalFields.fileType to 'image', additionalFields.mimeType to 'image/png'

Links

Discussion