Hanzo AI
OpenapiDataroom

Get file

Streams the file behind an item a trust centre publishes openly — a policy, a filled questionnaire, a knowledge-base attachment — under the type read from…

GET /v1/dataroom/trust/center/{slug}/file/{item}

Addresshttps://api.hanzo.ai/v1/dataroom/trust/center/{slug}/file/{item}
MethodGET
Operationget_dataroom_trust_center_by_slug_file_by_item
AuthAuthorization: Bearer $HANZO_API_KEY

Streams the file behind an item a trust centre publishes openly — a policy, a filled questionnaire, a knowledge-base attachment — under the type read from its bytes: a picture or a PDF renders in place, anything else downloads inert.

No principal and no link: these are the things an org states about itself, so they are served to anyone who asks. The narrowing is in the lookup rather than in a check: the item must be public, must not be retired, and must belong to a centre its owner has published, so an item released only on request is NOT FOUND here rather than refused — the same answer an id that never existed gets, which is what stops this reporting what the released-on-request tier holds.

Bytes that cannot be fetched from object storage are 502, never a truncated file.

Request

2 fields.

FieldInTypeRequiredDescription
slugpathstringyes
itempathstringyes

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 trust center file get <slug> <item>

Dataroom API · All Hanzo APIs · Interactive reference

How is this guide?

On this page