process_agent
Submit a document file for synchronous agentic extraction. Uploads the file, waits, and returns extracted data directly—no job polling required.
Instructions
Submit a document for SYNCHRONOUS agentic extraction via DocuProx. Reads the file from disk, uploads as multipart/form-data, and waits for the result. Returns the extracted data directly (no job polling needed). Credits are deducted and refunded on failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute or relative path to the document on disk. | |
| prompt_json | Yes | Extraction schema (JSON object or string). Required. | |
| document_type | Yes | Document category, e.g. 'invoice', 'passport'. Required. | |
| static_values | No | Key-value pairs overriding STATIC template placeholders. | |
| custom_instructions | No | Free-text instructions to guide extraction. |