File as binary data blob. Supported formats: PDF, DOC, DOCX, XLSX, ODT, RTF, TXT, HTML, PNG, JPG, TIFF, JPEG.
URL to a document to download and process
Unique identifier for the Workspace to upload the document to. The identifier can be found by either using the Get list of all workspaces endpoint or through the app
Unique identifier for the Document Type to upload the document to. If specified, Workspace must also be specified. Used when the document type is known.
If “true” (default), will return a response only after processing has been completed. If “false”, will return an empty data object which can be polled at the GET endpoint until processing is complete
Specify a custom identifier for the document. This may be your internal identifier. Does not need to be unique.
The optional filename of the file. If not specified, uses existing filename.
The date/time in ISO-8601 format when the document will be automatically deleted. Defaults to no expiry. See Data Retention for more information. If “true”, parsing will fail when the uploaded document is a duplicate of an existing document; no credits will be consumed. If “false”, will parse the document normally, whether it is a duplicate or not. If not provided, will fallback to the workspace settings.
Explicitly mark this document as low priority.
If true, the returned parse result (assuming wait is also true) will be a compact version of the full result.
If true, no data will be stored after parsing. Only compatible with requests where wait: True.
If true, the document will be viewable in the Affinda Validation Tool. Set to False to optimize parsing speed