Tools

Parse a document or spreadsheet.

This endpoint parses documents (PDF, images) and spreadsheets (XLSX, CSV) into structured Markdown, chunks, and metadata.

For EU users, use this endpoint:

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

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.

Response

Successful Response

markdownstring required
groundingobject

Changes

    • breaking

      removed subschema #1 from the request property anyOf list

    • info

      added to the request property anyOf list

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status