API Usage Guide
Calling the edit endpoint initiates a document editing job.- Python SDK
- REST API
Form Filling
Theform_filling object configures how the document should be filled.
| Parameter | Description | Default Value |
|---|---|---|
fill_prompt | A custom prompt to use for form filling. This provides context or data to the AI model for filling the form. | None |
ignore_source_values | If true, the model will ignore existing values in the form fields and overwrite them. | false |
no_acroform | If true, the model will not use AcroForm detection (standard PDF form fields). | false |
no_gemini_detection | If true, the model will not use Gemini for visual form field detection. | false |
Output
The output of the edit operation includes the modified document and metadata.filled_pdf_base64: The base64 encoded string of the filled PDF document.form_filling_metadata: A dictionary containing metadata about the form filling process, such as fields identified and filled.