-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathparseflow-batch-example.json
More file actions
64 lines (64 loc) · 1.67 KB
/
parseflow-batch-example.json
File metadata and controls
64 lines (64 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"request": {
"method": "POST",
"url": "https://parseflow-api.thankfulisland-fec0f8f2.westus2.azurecontainerapps.io/v2/batch",
"headers": {
"X-API-Key": "pfk_live_REDACTED",
"Content-Type": "application/json"
},
"body": {
"preset": "receipt",
"mode": "deterministic",
"chunk_size": 1500,
"overlap": 150,
"documents": [
{
"document_id": "rcpt-001",
"filename": "starbucks-2026-05-20.txt",
"text": "STARBUCKS #2241 2026-05-20 08:14 Grande latte 5.75 Tax 0.46 Total 6.21 VISA ****4242"
},
{
"document_id": "rcpt-002",
"filename": "uber-2026-05-21.txt",
"text": "Uber Trip 2026-05-21 Pickup 7th & Mission Dropoff SFO Terminal 2 Fare 38.20 Tip 5.00 Total 43.20"
}
]
}
},
"response": {
"status": 200,
"body": {
"batch_id": "batch_01HZ7N3Y2QZJ8XF6KM2BC9D4R5",
"count": 2,
"results": [
{
"document_id": "rcpt-001",
"extraction": {
"vendor": "STARBUCKS #2241",
"date": "2026-05-20",
"subtotal": 5.75,
"tax": 0.46,
"total": 6.21,
"payment_method": "VISA ****4242"
}
},
{
"document_id": "rcpt-002",
"extraction": {
"vendor": "Uber",
"date": "2026-05-21",
"pickup": "7th & Mission",
"dropoff": "SFO Terminal 2",
"fare": 38.20,
"tip": 5.00,
"total": 43.20
}
}
],
"usage": {
"requests_remaining": 485,
"monthly_cap": 500
}
}
}
}