curl -X POST https://api.okrapdf.com/v1/workflows/invoice-extraction/runs \
-H "Authorization: Bearer $OKRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"inputs": [{ "file_id": "file_abc123" }],
"quality": "standard"
}'
Workflows
Run Invoice Extraction
Start the built-in invoice extraction workflow.
POST
/
v1
/
workflows
/
invoice-extraction
/
runs
curl -X POST https://api.okrapdf.com/v1/workflows/invoice-extraction/runs \
-H "Authorization: Bearer $OKRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"inputs": [{ "file_id": "file_abc123" }],
"quality": "standard"
}'
Overview
Starts an invoice-extraction workflow for one or more uploaded files. Parser and model controls are managed by okraPDF.object[]
required
File inputs. Each item must include
file_id.string
Optional existing table for results.
string
Quality preset.
curl -X POST https://api.okrapdf.com/v1/workflows/invoice-extraction/runs \
-H "Authorization: Bearer $OKRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"inputs": [{ "file_id": "file_abc123" }],
"quality": "standard"
}'