Dumpling AI Extract PDF
82.5 credits/call
ae_dumplingai_extract_pdf
Extract structured data from PDF files using DumplingAI and Gemini.
82.5 credits/call
Pricing
82.5 credits/call
| Condition | Charge |
|---|---|
| Each call | 82.5 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
files | array | Yes | Array of PDF URLs or base64-encoded strings. | — |
prompt | string | Yes | Instructions describing the structure to extract from the PDFs. | — |
jsonMode | boolean | No | When true, requests a JSON-formatted response from the model. | false |
inputMethod | enum (url | base64) | Yes | Indicates whether binary content is supplied via URL or base64-encoded string. | — |
requestSource | enum (API | WEB | MAKE_DOT_COM | ZAPIER | N8N | PLAYGROUND | DEFAULT_AUTOMATION | AGENT_PREVIEW | AGENT_LIVE | AUTOPILOT | STUDIO) | No | Optional identifier describing where the API request originated. | — |
Invocation example
Copy the request and explore its response example.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_dumplingai_extract_pdf' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"files": [
"http://www.moe.gov.cn/srcsite/A26/s8001/201112/W020220418401382030426.pdf"
],
"inputMethod": "url",
"jsonMode": true,
"prompt": "核查《义务教育数学课程标准(2011年版)》并输出JSON,不得改写原文或猜测页码:第三学段“数与式”中关于整式乘法、乘法公式、因式分解的连续内容要求原文及各自页面底部印刷页码;核查全书是否设置名为“学业要求”“教学提示”“学业质量/学业质量标准”的栏目,若有请给位置,若无明确说无;课程实施中是否有逐知识点对应的教学建议。页码必须依据页面底部印刷数字,不是PDF文件页序;无法辨认填null。保留标点、编号、括号限制语。",
"requestSource": "DEFAULT_AUTOMATION"
}
}'Response exampleresponse.json
{
"creditUsage": 1450,
"fileCount": 1,
"pages": 135,
"prompt": "核查《义务教育数学课程标准(2011年版)》并输出JSON,不得改写原文或猜测页码:第三学段“数与式”中关于整式乘法、乘法公式、因式分解的连续内容要求原文及各自页面底部印刷页码;核查全书是否设置名为“学业要求”“教学提示”“学业质量/学业质量标准”的栏目,若有请给位置,若无明确说无;课程实施中是否有逐知识点对应的教学建议。页码必须依据页面底部印刷数字,不是PDF文件页序;无法辨认填null。保留标点、编号、括号限制语。",
"results": {
"column_existence_check": {
"requested_column_names": [
"学业要求"
],
"result": [
{
"column_name": "学业要求",
"exists": null,
"location": null,
"note": "需要核对全文目录与对应章节的版式栏目设置;当前对话中提供的可见页面未能覆盖到所有可能出现该栏目的位置,无法在不猜测的前提下给出“有/无”结论。"
}
]
},
"constraints_handled": {
"no_guess_page_numbers": true,
"no_rewrite_original_text": true,
"page_numbers_basis": "printed page number at the bottom of pages (not PDF page index)",
"unreadable_fields": "use null"
},
"curriculum_implementation_guidance": {
"question": "课程实施中是否有逐知识点对应的教学建议",
"result": {
"evidence": null,
"exists": null,
"note": "需要找到“课程实施建议/教学建议”等具体章节并核对其是否以知识点为粒度给出对应建议;当前对话中可见页面未覆盖到可支撑该判断的完整内容。"
}
},
"document": "1793435887162-0.pdf",
"extraction_status": {
"overall": "partial",
"reason": "已能从你提供的图片中读取到《义务教育数学课程标准(2011年版)》的部分页面内容,但未能在当前对话中稳定核查到“第三学段—数与式”中关于“整式乘法、乘法公式、因式分解”的连续原文段落与其各自页面底部印刷页码;同时,文中是否设置“学业要求”“教学提示”“学业质量/学业质量标准”栏目及其位置、以及“课程实施中是否有逐知识点对应的教学建议”,需要完整定位到相应章节页并逐页核对。"
},
"next_step_request": {
"to_complete": [
"请补充包含“第三学段—数与式”里“整式乘法/乘法公式/因式分解”连续条目的页面截图(确保能看到每页底部印刷页码数字)。"
]
}
}
}This example shows part of the response. Copied content is valid JSON.

