oneAI icon

oneAI

Interact with the oneAI API

Chat → Get Blob

AI-generated

Summary

Download and return the raw binary content of a blob identified by its Blob ID and associated Chat ID, saving the file data in a specified binary property with user-defined MIME type, filename, and optional thumbnail download.

Inputs

  • Chat ID (required) — Specifies the unique identifier of the chat that contains the target blob.
  • Blob ID (required) — Specifies the unique identifier of the blob to download. Typically obtained from blob parts within assistant messages of the chat.
  • Put Output File in Field (required) — Defines the name of the binary property where the downloaded blob data will be stored.
  • MIME Type (required) — Defines the MIME type for labeling the downloaded binary data, which affects file extension and preview in the editor.
  • File Name — Sets the filename for the downloaded blob. If omitted, the blob ID is used as filename without extension.
  • Thumbnail — When enabled, downloads the smaller preview version (thumbnail) of the blob instead of the full-size file.

Output shape

a single item containing the binary data of the requested blob.

The output binary data will be stored under the specified binary property name. The MIME type provided influences file handling (extension and preview) within n8n. If the thumbnail option is selected, the downloaded data corresponds to the preview version and might differ in MIME type from the full blob.

Links

Discussion