Skip to main content
You can track the status of your transaction and download the file containing the processing results. Send a GET request to the transactions/<transaction-id> resource: Run the following command: For Windows: For Linux: As a result, you will receive a response containing the current transaction status: Response: The status key can have one of the following values:
  • New means that the transaction has been created but processing has not started.
  • Processing means that the document is currently being processed.
  • Processed means that processing has completed and the results can be downloaded.
  • Failed means that processing did not complete successfully.
  • Canceled means that the transaction was canceled.
Stop polling when the status is Processed, Failed, or Canceled. To download a file containing the processing results, send a GET request to the transactions/<transaction-id>/files/<file-id>/download resource and specify the IDs of your transaction and document file:
The file ID comes from the documents[].resultFiles[].fileId value in the transaction status response. Each resultFiles entry contains fileId, fileName, and type (such as Json or FieldsJson). The sourceFiles ids identify the original uploaded files, which are downloaded through a different endpoint (documents/<document-id>/sourceFiles/<file-id>/download).
Run the following command: For Windows: For Linux: The command will return the document processing results in JSON format.
You can also download the results in PDF format. To do so, select the Output activity, click Settings in the Exported Data section in the Actions pane, and choose PDF as your preferred format.