Stirling PDF icon

Stirling PDF

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

Actions260

General → Auto Split Pdf 1

AI-generated

Summary

Split a PDF file automatically based on a specified split criterion (file size, page count, or document count).

Inputs

  • fileInputBinaryProperty — Name of the binary property containing the PDF file data if providing the file directly as binary.
  • fileId — ID of a PDF file already uploaded to the server for server-side processing, used instead of binary input.
  • splitType — Type of split to perform: 0 = split by size (MB), 1 = split by page count, 2 = split by document count.
  • splitValue — Value that defines the split based on the chosen split type, e.g., '10MB' for size or '5' for page/document count.

Output shape

a list of PDF file parts each representing a portion of the original PDF split according to the parameters

The output contains binary data for the resulting split PDFs. The operation supports asynchronous usage with fileId for previously processed files.

Links

Discussion