POST
/
async
/
upload

Authorizations

x-api-key
string
headerrequired

Headers

x-api-key
string
required

Your API key.

Body

application/json
file_name
string
required

The name of the file to be uploaded.

process_type
enum<string>
required

The type of processing to apply to the uploaded file. Default is file, which will parse full content from the input file. table will extract tables from the input file. json will extract key-value pairs from the input file. file_refined_quick will parse the full content from the input file with a larger model. extract_pii will extract PII (personally identifiable information) from the input file.

Available options:
file,
table,
json,
file_refined_quick,
extract_pii
extract_args
object

Arguments for extraction processing.

Response

200 - application/json
file_id
string

The unique identifier of the file.

presignedUrl
string

A pre-signed URL for uploading your docx or pdf file.