Parse File (Async)
Parse File (Async)
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Headers
Request
Response
The type of object. Will always be "parse_run".
A unique identifier for the parse run.
Example: "pr_xK9mLPqRtN3vS8wF5hB2cQ"
The file that was parsed. This file can be used as a parameter for other Extend endpoints, such as POST /workflow_runs.
The status of the parse run:
"PROCESSING"- The file is still being processed"PROCESSED"- The file was successfully processed"FAILED"- The processing failed (seefailureReasonfor details)
The reason for failure.
Availability: Present when status is "FAILED".
Possible values include:
UNABLE_TO_DOWNLOAD_FILE- The file could not be downloaded from the provided URLFILE_TYPE_NOT_SUPPORTED- The file type is not supported for parsingFILE_SIZE_TOO_LARGE- The file exceeds the maximum allowed sizeCORRUPT_FILE- The file appears to be corrupted or malformedOCR_ERROR- An error occurred during optical character recognitionPASSWORD_PROTECTED_FILE- The file is password protected and cannot be processedFAILED_TO_CONVERT_TO_PDF- The file could not be converted to PDF for processingFAILED_TO_CONVERT_TO_JPEG- The file could not be converted to JPEG for processingFAILED_TO_GENERATE_TARGET_FORMAT- The output could not be generated in the requested formatCHUNKING_ERROR- An error occurred while chunking the documentINTERNAL_ERROR- An unexpected internal error occurredINVALID_CONFIG_OPTIONS- The provided configuration options are invalidOUT_OF_CREDITS- Insufficient credits to process the file
Note: Additional failure reasons may be added in the future. Your integration should handle unknown values gracefully.
A human-readable description of the failure.
Availability: Present when status is "FAILED".
The parse run output.
Availability: Present when status is "PROCESSED" and the request was made without the responseType=url query parameter. Contains the parsed chunks.
A presigned URL to download the parse run output as a JSON file. The object shape is the same as the output field. Expires after 15 minutes.
Availability: Present when status is "PROCESSED" and the request was made with responseType=url query parameter.
Metrics about the parsing process.
Availability: Present when status is "PROCESSED".
Usage credits consumed by this run.
Availability: Present when status is "PROCESSED", the run was created after October 7, 2025, and the customer is on the current billing system.

