Get Document
DocHub24
DocHub24
Get Document
Fetch document metadata and field values by ID.
ActionAI Tool
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
document_id | text | Required | The ID of the document to fetch. |
Outputs
| Name | Type | Description |
|---|---|---|
body | object | Document metadata response. |
id | text | Document ID. |
title | text | Document title. |
libraryId | text | Library ID. |
classification | number | Classification level. |
fieldValues | object | Custom field values keyed by field ID. |
createdAt | text | Creation timestamp (ISO 8601). |
sourceId | text | Source document version ID, if any. |
externalRef | text | External reference identifier, if any. |
currentVersion | object | Current version metadata. |
id | text | Version ID. |
versionNumber | number | Version number. |
fileName | text | File name for this version. |
mimeType | text | MIME type of the file. |
sizeBytes | number | File size in bytes. |
checksum | text | File checksum. |