Skip to main content

Retrieve document status

Retrieve the current processing status, progress, and error details for an Ahoy Data Intelligence document.

API documentation: https://www.ahoyams.com/marketplace/cbe0812f-2def-46ec-a73c-788f97ff2c2a#description/introduction

Application

  • Ahoy Data Intelligence

Inputs (what you have)

NameDescriptionData TypeRequired?Example
Document IDDocument whose status should be retrievedText (Short)Yesdoc_456

Note: the value of inputs can either be a set value in the configuration of the Wrk Action within the Wrkflow, or a variable from the Data Library section. These variables in the Data Library section are the outputs of previous Wrk Actions in the Wrkflow.

Outputs (what you get)

NameDescriptionData TypeRequired?Example
Document IDDocument identifierText (Short)Yesdoc_456
FilenameStored filenameText (Short)YesSOP.pdf
Content typeStored content typeText (Short)Yesapplication/pdf
Processing statusCurrent Ahoy processing status, returned exactly as reported by the providerText (Short)Yespending
Chunk countCurrent extracted chunk countNumberYes42
Uploaded atUpload timestampText (Short)Yes
Processed atProcessing completion timestamp when availableText (Short)No
Processing errorFailure during processing, when presentText (Long)No
Processing stepCurrent processing step, when presentText (Short)No
Processing progressStringified JSON object returned by AhoyText (Long)No
Processing metricsStringified JSON object returned by AhoyText (Long)No
Error categoryProvider error category when presentText (Short)No
Failure reasonTerminal failure before processing started. Ahoy currently documents expired_no_upload for bulk-upload reservationsText (Long)No

Outcomes

NameDescription
SuccessThis status is selected if the job has successfully completed.

Requirements

  • N/A