flatten_pdf
Convert an interactive PDF into a static, non-editable PDF. Creates a new document, preserving the original.
Instructions
Flatten an interactive PDF into a static, non-editable PDF. Creates a new document; does not overwrite the original.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metadata | No | Custom metadata to attach | |
| documentId | Yes | The source document ID to flatten | |
| preSignedUrlExpiresIn | No | Pre-signed download URL expiry in seconds (60–86400) |