Hanzo
OpenapiDataroom

Reads one of the caller org's data rooms together with every document in it,…

Reads one of the caller org's data rooms together with every document in it, each carrying its membership id and order index.

GET /v1/dataroom/datarooms/{id}

Addresshttps://api.hanzo.ai/v1/dataroom/datarooms/{id}
MethodGET
Operationget_dataroom_datarooms_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

Reads one of the caller org's data rooms together with every document in it, each carrying its membership id and order index.

The documents are sorted by that index with unordered ones last and creation time breaking ties — the SAME order a link's visitor sees, so this is what the room looks like from the outside. A room id outside the caller's own tenant store is not found.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyesID is the room to read. It is the path segment: the URL is the addressing authority, and the org it is resolved in comes from the caller's principal, so an id…

Response

StatusBodyMeaning
200dataroomRoomDetailOneok

200 body — 19 fields.

FieldInTypeAlwaysDescription
dataroombodydataroomRoomDetail
dataroom.createdAtbodyintegerCreatedAt is when the room was created, in unix milliseconds.
dataroom.descriptionbodystringDescription is the room's description, null when none was given.
dataroom.documentsbodydataroomMember[]Documents is every document in the room, in the order a visitor sees them.
dataroom.documents[].contentTypebodystringContentType is the mime type recorded at upload, null when none was sent.
dataroom.documents[].createdAtbodyintegerCreatedAt is when the document was uploaded, in unix milliseconds.
dataroom.documents[].dataroomDocumentIdbodystringDataroomDocumentId is the membership id — this document's place in THIS room, distinct from the document id.
dataroom.documents[].fileKeybodystringFileKey is the opaque object-storage key the bytes are stored under.
dataroom.documents[].fileSizebodyintegerFileSize is the stored byte count, null when it was not recorded.
dataroom.documents[].idbodystringID is the document id.
dataroom.documents[].namebodystringName is the document's display name.
dataroom.documents[].numPagesbodyintegerNumPages is the page count, null when it was not supplied at upload.
dataroom.documents[].orderIndexbodyintegerOrderIndex is the document's place in the viewer's list, null when it was added without one.
dataroom.documents[].typebodystringType is the document's kind, null when it was not recorded.
dataroom.documents[].updatedAtbodyintegerUpdatedAt is when the document row last changed, in unix milliseconds.
dataroom.idbodystringID is the room id.
dataroom.namebodystringName is the room's display name.
dataroom.pIdbodystringPId is the room's short public identifier.
dataroom.updatedAtbodyintegerUpdatedAt is when the room last changed, in unix milliseconds.

Failure carries the platform error shape — see Errors.

Examples

hanzo dataroom datarooms get <id>

Dataroom API · All Hanzo APIs · Interactive reference

How is this guide?

On this page