---
title: "DownloadFileByHash (Bouw7)"
description: "Download File by Hash"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/exactonlinebouw/Bouw7.Storage.DownloadFileByHash
original: https://documentation.invantive.eu/en/datamodels/exactonlinebouw/Bouw7.Storage.DownloadFileByHash
updated: 2026-11-01T17:44:22Z
license: https://documentation.invantive.eu/en/
---

# DownloadFileByHash: Bouw7 Download File by Hash

`read only` `REST`

- Catalog: `Bouw7`
- Schema: `Storage`
- Label: Download File by Hash

Returns the binary or base64 contents of a file.
Returns the binary or base64 contents of a file.

Can only retrieve data.

## Summary

Returns the binary or base64 contents of a file.

## API Source

- Endpoint: `/storage/{hash}/download`
- Operation: `get /storage/{hash}/download`

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Average access latency (ms) | 90 |
| Full scan rows per minute | 241,000 |
| Point query rows per minute | 666 |

The result can be cached on the client.

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `asBase64` | `` | [ ] |  | Returns as base64 |
| `hash` | `` | [x] |  | File URI |
| `size` | `` | [ ] |  | (DEPRECATED, Use thumbnails.bouw7.nl instead) Size of the thumbnail to serve (only if the file is an image) |

## Table Columns

The columns of the table `DownloadFileByHash` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `DOCUMENT` | `blob` | Document | [ ] | filters on the platform, writable, `::self` |  |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Bouw7](/en/release-notes/drivers?driver=bouw7)

