Skip to content

Get Document

DocHub24

DocHub24

Get Document

Fetch document metadata and field values by ID.

ActionAI Tool

Inputs

Name Type Required Description
document_idtextRequiredThe ID of the document to fetch.

Outputs

Name Type Description
bodyobjectDocument metadata response.
idtextDocument ID.
titletextDocument title.
libraryIdtextLibrary ID.
classificationnumberClassification level.
fieldValuesobjectCustom field values keyed by field ID.
createdAttextCreation timestamp (ISO 8601).
sourceIdtextSource document version ID, if any.
externalReftextExternal reference identifier, if any.
currentVersionobjectCurrent version metadata.
idtextVersion ID.
versionNumbernumberVersion number.
fileNametextFile name for this version.
mimeTypetextMIME type of the file.
sizeBytesnumberFile size in bytes.
checksumtextFile checksum.