Generate Edit Schema detects the fields in a PDF form and returns an edit schema you can pass straight to /edit or /edit_runs. The returned schema has field positions annotated, so you don’t have to write extend_edit:bbox coordinates by hand. Optionally, supply your own schema and Extend maps it onto the detected fields.
Reach for it when you:
This endpoint is synchronous and returns the generated schema directly — there are no schema-generation run objects to poll or delete.
We’ll detect the fields in a PDF form. Grab a key from the Developers page and store it as the EXTEND_API_KEY environment variable. If you’re using an SDK, see the installation instructions.
The response contains the generated schema and optional mapping metadata.
The config object is an edit schema generation config:
The generated schema uses the same format as edit runs, including support for root-level JSON Schema conditionals. A common workflow is:
/edit or /edit_runs.For the exact request and response schemas, see the Generate Edit Schema API reference.