PDF

Download 16
Last updated Oct 28, 2026

pdf-pages

Extracts the text of a PDF in the file store or at an http(s) url, one row per page.

pdf-pages url=VALUE [range=VALUE] [password=VALUE] [insecure=VALUE]
url=VALUE
Required. File store url or http(s) url of the PDF, e.g. sonar://{file_guid}, https://example.com/a.pdf. An http(s) PDF is downloaded to a temp file, which is deleted when the command finishes.
range=VALUE
Optional. Page selection, e.g. "1-5,7" (1-based). Every page when omitted.
password=VALUE
Optional. Password of an encrypted PDF. Tries the empty password when omitted.
insecure=VALUE
Optional. t to skip TLS certificate and hostname verification for an https url. Default is f.

Output Fields

FieldTypeNameDescription
pageIntegerPagee.g. 3 - 1-based page number
textStringTexte.g. Quarterly incident summary... - extracted page text, truncated at 100,000 chars
char_countIntegerChar counte.g. 2841 - length before truncation
is_truncatedBooleanTruncatede.g. false