edit.run()
Edits a PDF document synchronously based on provided instructions.Parameters
The URL of the document to be processed. You can provide one of the following:
- A publicly available URL
- A presigned S3 URL
- A
reducto://prefixed URL obtained from the /upload endpoint after directly uploading a document
The instructions for the edit. Describe what changes should be made to the document.
Configuration options for the edit operation.
Form schema for PDF forms. List of widgets with their types, descriptions, and bounding boxes. Only works for PDFs.
If
True, attempts to process the job with priority if the user has priority processing budget available. By default, sync jobs are prioritized above async jobs.Response
edit.run_job()
Edits a PDF document asynchronously and returns a job ID immediately.Parameters
The URL of the document to be processed. You can provide one of the following:
- A publicly available URL
- A presigned S3 URL
- A
reducto://prefixed URL obtained from the /upload endpoint after directly uploading a document
The instructions for the edit. Describe what changes should be made to the document.
Configuration options for the edit operation.
Form schema for PDF forms. List of widgets with their types, descriptions, and bounding boxes. Only works for PDFs.
If
True, attempts to process the job with priority if the user has priority processing budget available. By default, sync jobs are prioritized above async jobs.Webhook configuration to receive notification when the job completes.