Hanzo
OpenapiDataroom

Publish puts an item on the caller org's trust centre and answers with it.

Publish puts an item on the caller org's trust centre and answers with it.

POST /v1/dataroom/trust/artifacts

Addresshttps://api.hanzo.ai/v1/dataroom/trust/artifacts
MethodPOST
Operationpost_dataroom_trust_artifacts
AuthAuthorization: Bearer $HANZO_API_KEY

Publish puts an item on the caller org's trust centre and answers with it.

The item is GATED unless it says otherwise, so a kind nobody has thought of yet arrives private and someone has to release it deliberately — that default is what keeps an auditor's report from becoming readable because a field went unset. An item whose attester is "auditor" cannot be public at all: the database refuses the pair, so no path through this API can publish one.

A file is optional and is uploaded FIRST, through POST /v1/dataroom/documents, then named here — the data room is the one place bytes enter, so a trust centre document is an ordinary data-room document and inherits its storage, its grants and its page-by-page access record. A gated item that has a file is added to the org's release room, which is what lets a party be granted the whole gated tier in one link.

Only an admin of the org may call it.

Request

8 fields, body application/json (required).

FieldInTypeRequiredDescription
attesterbodystringAttester is who vouched for it: "self" for anything the org states itself, or "auditor" for anything an independent auditor put their name to.
bodybodystringBody is the item's content for the kinds that are text rather than a file: an article, a subprocessor entry, a dated note.
documentbodystringDocument is a data-room document holding the item's bytes, uploaded first through POST /v1/dataroom/documents. Optional: an item can be content with no file.
frameworkbodystringFramework is the standard it speaks to.
kindbodystringKind is what the item is: report, letter, policy, questionnaire, subprocessor, article or update.
namebodystringName is the item's title.
summarybodystringSummary is a line about it.
tierbodystringTier is who may read it: "public" or "gated".

Response

StatusBodyMeaning
200trustItemViewok

200 body — 12 fields.

FieldInTypeAlwaysDescription
attesterbodystringAttester is who vouched for it: self or auditor.
bodybodystringBody is the item's content for the kinds that are text rather than a file.
createdAtbodyintegerCreatedAt is when it was published, in unix milliseconds.
documentbodystringDocument is the data-room document holding its bytes, empty when it has none.
frameworkbodystringFramework is the standard it speaks to, when it speaks to one.
idbodystringID addresses the item.
kindbodystringKind is what it is.
namebodystringName is its title.
retiredbodybooleanRetired is whether it has been withdrawn. A retired item is absent from the public centre and cannot be granted; it is kept because a grant already made over…
summarybodystringSummary is a line about it.
tierbodystringTier is public or gated.
updatedAtbodyintegerUpdatedAt is when it last changed, in unix milliseconds.

Failure carries the platform error shape — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


Dataroom API · All Hanzo APIs · Interactive reference

How is this guide?

On this page