Hanzo
OpenapiDataroom

Returns every document in the caller org's own store, newest first — name,…

Returns every document in the caller org's own store, newest first — name, opaque storage key, content type, page count, size and timestamps.

GET /v1/dataroom/documents

Addresshttps://api.hanzo.ai/v1/dataroom/documents
MethodGET
Operationget_dataroom_documents
AuthAuthorization: Bearer $HANZO_API_KEY

Returns every document in the caller org's own store, newest first — name, opaque storage key, content type, page count, size and timestamps.

Tenant isolation is the per-org store itself: there is one SQLite file per org and the org is never a parameter, so no input the caller controls can address another tenant's documents. Metadata only — the bytes come from the file route.

Request

GET /v1/dataroom/documents takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200dataroomDocumentsok

200 body — 10 fields.

FieldInTypeAlwaysDescription
documentsbodydataroomDocument[]Documents is every document in the caller's own store, newest first.
documents[].contentTypebodystringContentType is the mime type recorded at upload, null when none was sent.
documents[].createdAtbodyintegerCreatedAt is when the document was uploaded, in unix milliseconds.
documents[].fileKeybodystringFileKey is the opaque object-storage key the bytes are stored under.
documents[].fileSizebodyintegerFileSize is the stored byte count, null when it was not recorded.
documents[].idbodystringID is the document id.
documents[].namebodystringName is the document's display name.
documents[].numPagesbodyintegerNumPages is the page count, null when it was not supplied at upload.
documents[].typebodystringType is the document's kind, null when it was not recorded.
documents[].updatedAtbodyintegerUpdatedAt is when the document row last changed, in unix milliseconds.

Failure carries the platform error shape — see Errors.

Examples

hanzo dataroom documents list

Dataroom API · All Hanzo APIs · Interactive reference

How is this guide?

On this page