Tools

Parse documents asynchronously.

This endpoint creates a job that handles the processing for both large documents and large batches of documents.

For EU users, use this endpoint:

`https://api.va.eu-west-1.landing.ai/v1/ade/parse/jobs`.
post/v1/ade/parse/jobs

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body multipart/form-data

modelstring nullable

The version of the model to use for parsing.

documentstring binary nullable

A file to be parsed. The file can be a PDF or an image. See the list of supported file types here: https://docs.landing.ai/ade/ade-file-types. Either this parameter or the document_url parameter must be provided.

document_urlstring nullable

The URL to the file to be parsed. The file can be a PDF or an image. See the list of supported file types here: https://docs.landing.ai/ade/ade-file-types. Either this parameter or the document parameter must be provided.

split'page'
passwordstring nullable

Password for encrypted document files. If the document is password-protected, provide the password to decrypt and process the document. Ignored for unencrypted documents.

output_save_urlstring nullable

If zero data retention (ZDR) is enabled, you must enter a URL for the parsed output to be saved to. When ZDR is enabled, the parsed content will not be in the API response.

Response

Job queued successfully

job_idstring required

Changes

    • breaking

      removed subschema #1 from the request property anyOf list

    • info

      added to the request property anyOf list

    • info

      added the new optional request property