Actions51
- Genie Actions
- Databricks SQL Actions
- Unity Catalog Actions
- Model Serving Actions
- Files Actions
- Vector Search Actions
- Jobs Actions
- Clusters Actions
Files → Download File
AI-generatedSummary
Download a file from a specified Unity Catalog volume in Databricks and return its content as binary data along with metadata.
Inputs
- Volume Path (required) — Full volume path in the format catalog.schema.volume to identify the storage location.
- File Path (required) — Relative path to the file within the volume (e.g., "folder/file.txt"), without a leading slash.
Output shape
A single item containing JSON metadata about the downloaded file (fileName, size, contentType, catalog, schema, volume, filePath) and a binary data property with the file content encoded in base64.
The operation performs an HTTP GET to download the file, returns the file data as binary in the output named 'data', and detects or infers the Content-Type. The file path is validated to prevent directory traversal. Errors are thrown if the operation is unsupported or if the download fails.