extract_custom_v1_documents_custom_post
Extract structured data from PDFs by defining a custom JSON schema. Provide the PDF via URL or base64, then receive deterministic extraction enforced to your schema.
Instructions
Process a PDF with a user-defined JSON Schema.
Cost: 10 credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pdf_url | No | URL to the PDF file | |
| pdf_base64 | No | Base64 encoded PDF string | |
| dynamic_schema | Yes | JSON Schema (JSON Object) to enforce on the extraction |