Skip to content

Search Documents

DocHub24

DocHub24

Search Documents

Full-text search within a document library.

ActionAI Tool

Inputs

Name Type Required Description
library_iddropdownRequiredThe document library to search.
search_querytextRequiredSearch text to find documents.
pagenumberOptionalPage number (1-based).
page_sizenumberOptionalNumber of results per page (max 200).

Outputs

Name Type Description
bodyobjectSearch results.
totalnumberTotal matching documents.
documentsarray of objectMatching documents.
idtextDocument ID.
titletextDocument title.
libraryIdtextLibrary ID the document belongs to.
tenantIdtextTenant ID.
fileNametextOriginal file name.
mimeTypetextMIME type of the file.
sizeBytesnumberFile size in bytes.
classificationnumberClassification level.
currentVersionIdtextID of the current document version.
createdAttextCreation timestamp (ISO 8601).
updatedAttextLast updated timestamp (ISO 8601).
createdByIdtextID of the user who created the document.
fieldValuesobjectCustom field values keyed by field ID.
isDeletedyes/noWhether the document is soft-deleted.
externalReftextExternal reference identifier, if any.
matchesarray of objectSearch match details per document.
documentIdtextID of the matched document.
fieldsarrayFields that matched the search query. Further: item fields: field, value.