processor

Extract document content from a URL

Server-side proxy to processor POST /custom-documents/extract-content-from-url. Caller must be authenticated.

post/api/processor/extract-content-from-url

Request

  • Base URL: https://localhost:8080
  • URL: https://localhost:8080/api/processor/extract-content-from-url
  • Auth: bearer (a scheme the document does not define)

Request body

urlstring required

HTTPS URL of the document to fetch and extract

max_pagesobject nullable

Max PDF pages; an over-limit PDF is refused. Send null for no per-request cap (the processor's own ceiling still applies). Omit to use the processor default (10).

truncate_to_max_pagesboolean

Read the first max_pages pages of a longer PDF instead of refusing it.

text_format'markdown' | 'plain'

PDF text format. plain is much faster; markdown keeps headings and tables.

deadline_secondsnumber

Seconds the caller will wait; work past it is skipped.

Response

Processor extract-content-from-url response

Changes

No recorded changes to this operation across all 1 revision of this API.