Skip to main content

Upload File

POST 

/api/v1/parsing/upload

Upload a file to s3 and create a job. return a job id

Request

Cookie Parameters

    session any

Body

    language ParserLanguages (string)[]

    Possible values: [af, az, bs, cs, cy, da, de, en, es, et, fr, ga, hr, hu, id, is, it, ku, la, lt, lv, mi, ms, mt, nl, no, oc, pi, pl, pt, ro, rs_latin, sk, sl, sq, sv, sw, tl, tr, uz, vi, ar, fa, ug, ur, bn, as, mni, ru, rs_cyrillic, be, bg, uk, mn, abq, ady, kbd, ava, dar, inh, che, lbe, lez, tab, tjk, hi, mr, ne, bh, mai, ang, bho, mah, sck, new, gom, sa, bgc, th, ch_sim, ch_tra, ja, ko, ta, te, kn]

    Default value: en

    parsing_instruction Parsing Instruction (string)
    skip_diagonal_text Skip Diagonal Text (boolean)
    invalidate_cache Invalidate Cache (boolean)
    do_not_cache Do Not Cache (boolean)
    gpt4o_mode Gpt4O Mode (boolean)
    fast_mode Fast Mode (boolean)
    premium_mode Premium Mode (boolean)
    gpt4o_api_key Gpt4O Api Key (string)
    do_not_unroll_columns Do Not Unroll Columns (boolean)
    page_separator Page Separator (string)
    bounding_box Bounding Box (string)
    target_pages Target Pages (string)
    use_vendor_multimodal_model Use Vendor Multimodal Model (boolean)
    vendor_multimodal_model_name Vendor Multimodal Model Name (string)
    vendor_multimodal_api_key Vendor Multimodal Api Key (string)
    page_prefix Page Prefix (string)
    page_suffix Page Suffix (string)
    webhook_url Webhook Url (string)
    take_screenshot Take Screenshot (boolean)
    disable_ocr Disable Ocr (boolean)
    disable_reconstruction Disable Reconstruction (boolean)
    input_s3_path Input S3 Path (string)
    output_s3_path_prefix Output S3 Path Prefix (string)
    azure_openai_deployment_name Azure Openai Deployment Name (string)
    azure_openai_endpoint Azure Openai Endpoint (string)
    azure_openai_api_version Azure Openai Api Version (string)
    azure_openai_key Azure Openai Key (string)

    file

    object

    anyOf

    string

Responses

Successful Response

Schema

    id uuidrequired
    status StatusEnum (string)required

    Possible values: [PENDING, SUCCESS, ERROR, PARTIAL_SUCCESS]

    Enum for representing the status of a job

    error_code

    object

    anyOf

    string

    error_message

    object

    anyOf

    string

Loading...