curl --request POST \ --url https://api.tableflow.com/v2/flows/dk4g1tUg1uHLs8YU/run \ --header 'Authorization: Bearer YOUR_API_KEY' \ --header 'Content-Type: multipart/form-data' \ --form 'purchase_order=@/path/to/po.pdf' \ --form 'invoice=@/path/to/invoice.pdf' \ --form 'name=PO-123 Reconciliation' \ --form 'purchase_order_metadata={"po_number": "PO-123"}' \ --form 'purchase_order_guidance=The PO number may include revision info like REV:0 at the end — strip that and only extract the base PO number' \ --form 'metadata={"customer_id": "12345"}'
curl --request POST \ --url https://api.tableflow.com/v2/flows/dk4g1tUg1uHLs8YU/run \ --header 'Authorization: Bearer YOUR_API_KEY' \ --header 'Content-Type: multipart/form-data' \ --form 'purchase_order=@/path/to/po.pdf' \ --form 'invoice=@/path/to/invoice.pdf' \ --form 'name=PO-123 Reconciliation' \ --form 'purchase_order_metadata={"po_number": "PO-123"}' \ --form 'purchase_order_guidance=The PO number may include revision info like REV:0 at the end — strip that and only extract the base PO number' \ --form 'metadata={"customer_id": "12345"}'
File(s) to upload. The field name must match the key defined in the flow’s file_input_config.file_fields.
For fields that accept multiple files, append an index starting at 1 (e.g., attachments_1, attachments_2).
JSON string containing metadata for a specific file. Replace {file_key} with the file field key
(e.g., purchase_order_metadata). This metadata is associated with the individual file’s extraction.
Optional extraction guidance for a specific file. Replace {file_key} with the file field key
(e.g., purchase_order_guidance). Use this to provide hints to the AI about the document structure
or specific values to look for in that particular file.
curl --request POST \ --url https://api.tableflow.com/v2/flows/dk4g1tUg1uHLs8YU/run \ --header 'Authorization: Bearer YOUR_API_KEY' \ --header 'Content-Type: multipart/form-data' \ --form 'purchase_order=@/path/to/po.pdf' \ --form 'invoice=@/path/to/invoice.pdf' \ --form 'name=PO-123 Reconciliation' \ --form 'purchase_order_metadata={"po_number": "PO-123"}' \ --form 'purchase_order_guidance=The PO number may include revision info like REV:0 at the end — strip that and only extract the base PO number' \ --form 'metadata={"customer_id": "12345"}'