Stirling PDF icon

Stirling PDF

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

Actions260

Convert → Export Partial Pdf

AI-generated

Summary

Export a partial PDF by specifying a job ID and various PDF content parameters such as pages, fonts, metadata, and form fields, resulting in a customized PDF file output.

Inputs

  • Job Id (required) — Unique identifier for the PDF export job.
  • Filename — The desired filename for the exported PDF (sent as a query parameter).
  • Metadata — JSON object containing the metadata to include in the PDF.
  • Xmp Metadata — String containing the XMP metadata XML to embed in the PDF.
  • Lazy Images — Boolean flag to enable or disable lazy loading of images in the PDF, defaults to true.
  • Fonts — JSON array describing fonts to be embedded or used in the PDF.
  • Pages — JSON array describing the content of pages including text elements, images, annotations, resources, and content streams.
  • Form Fields — JSON array specifying form fields and their properties to be included in the PDF.

Output shape

no body — success/failure only

The operation sends parameters mostly in the request body and filename as a query parameter. The result is an exported partial PDF file associated with the specified job ID. There is no explicit data return from the operation, indicating side-effectful export.

Links

Discussion