Extract the fillable fields of a PDF or image form

POST /Platform/dtypes/extract-form-fields

Extract the fillable fields of a PDF or image form. For a visual document -- a form to be filled. NOT for structured (tree) or text values: their fields are already in the result; read them with get_content.

Runs BOTH engines and merges them: real AcroForm widgets (PyMuPDF, deterministic, no network) AND Textract vision (covers scanned PDFs and images). Each field gets a STABLE id, a source tag (widget|vision| both), and a normalized bbox ([x, y, w, h] in 0..1) so edit can act on it by id.

Body parameters

Returns

ExtractFormFieldsResponse

Example request

curl -X POST "https://api.hilus.ai/Platform/dtypes/extract-form-fields" \
  -H "Authorization: Bearer $HILUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'