Hanzo AI
OpenapiDataroom

List file

Streams the stored file back under the type read from its BYTES — a raster image or a PDF renders in place, and anything else is served as…

GET /v1/dataroom/documents/{id}/file

Addresshttps://api.hanzo.ai/v1/dataroom/documents/{id}/file
MethodGET
Operationget_dataroom_documents_by_id_file
AuthAuthorization: Bearer $HANZO_API_KEY

Streams the stored file back under the type read from its BYTES — a raster image or a PDF renders in place, and anything else is served as application/octet-stream with an attachment disposition, so a stored file never executes as markup in this origin. Every response carries nosniff, which keeps the declared type binding.

Requires a validated principal; 403 without one, and the document is resolved in the caller's own tenant store, so another org's id is a 404. This is the OWNER's path and applies no link gate at all — the per-link password, email and download controls live on the viewer surface, not here. Bytes that cannot be fetched from object storage are 502, never a truncated or empty file.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyes

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo dataroom documents file <id>

Dataroom API · All Hanzo APIs · Interactive reference

How is this guide?

On this page