Stirling PDF icon

Stirling PDF

Merged API: Stirling PDF - Processing API + Stirling PDF - Management API + Stirling PDF - System API

Actions260

General → Split Pdf 1

AI-generated

Summary

Split a PDF file into multiple parts based on bookmarks up to a specified bookmark level, optionally including metadata and controlling duplicate handling.

Inputs

  • fileInputBinaryProperty — Name of the binary property containing the PDF file data to be split; defaults to 'data' if not provided.
  • fileId — ID of a previously uploaded PDF file on the server, used instead of binary input for asynchronous job continuation.
  • includeMetadata (required) — Flag to specify whether metadata should be included in the split output.
  • allowDuplicates (required) — Flag to specify whether to allow duplicate pages in the output.
  • bookmarkLevel (required) — Maximum bookmark depth to use for splitting the PDF.
  • requestOptions — Settings for batching requests, SSL validation, proxy, and request timeout.

Output shape

a list of PDF parts produced by splitting the input PDF according to bookmark hierarchy, optionally with metadata included.

The operation supports input either via direct binary data or a server-side file ID from a prior asynchronous job. Batching and request options can be configured to manage request flow. Output includes the split PDF segments, with metadata included if requested.

Links

Discussion