DocumentWithUpload
idUuidrequiredread-onlyFields of id
kindstringrequiredfileNamestringrequiredcontentTypestringrequiredsizeintegerrequiredBytes.
sha256stringread-onlyscanStatusDocumentScanStatusrequiredread-onlyFields of scanStatus
statusDocumentStatusrequiredread-onlyFields of status
uploadedBystring | null (uuid)read-onlyUploading user; null for platform-generated documents.
createdAtTimestamprequiredread-onlyFields of createdAt
descriptionstring | nullrequiredread-onlyStaff note on the document (at most 200 characters); null when none.
visibilitystringrequiredread-onlycustomer: listed and downloadable by the customer.internal: operator staff only (customers get404). Documents uploaded by staff on a customer default tointernal.uploadUploadInstructionsrequired