Skip to main content
POST
Parse Pdf

Authorizations

x-api-key
string
header
required

Body

multipart/form-data
file
file
required

The PDF file to upload.

data_parser
string | null

The parser engine to use (e.g., 'llmsherpa').

Example:

"llmsherpa"

chunk_size
integer | null

Size of the chunks for text splitting.

Example:

1000

chunk_overlap
integer | null

Overlap between consecutive text chunks.

Example:

100

extra_info
string

Optional JSON string of extra metadata to associate with the parsed documents.

Example:

"{}"

Response

PDF file successfully parsed and documents returned.

Placeholder for a list of processed documents.