Extract structured text and metadata from uploaded documents or document URLs.
.123 .602 .abw .bib .bmp .cdr .cgm .cmx .csv .cwk .dbf .dif .doc .docm .docx .dot .dotm .dotx .dxf .emf .eps .epub .fodg .fodp .fods .fodt .fopd .gif .htm .html .hwp .jpeg .jpg .key .ltx .lwp .mcw .met .mml .mw .numbers .odd .odg .odm .odp .ods .odt .otg .oth .otp .ots .ott .pages .pbm .pcd .pct .pcx .pdb .pdf .pgm .png .pot .potm .potx .ppm .pps .ppt .pptm .pptx .psd .psw .pub .pwp .pxl .ras .rtf .sda .sdc .sdd .sdp .sdw .sgl .slk .smf .stc .std .sti .stw .svg .svm .swf .sxc .sxd .sxg .sxi .sxm .sxw .tga .tif .tiff .txt .uof .uop .uos .uot .vdx .vor .vsd .vsdm .vsdx .webp .wb2 .wk1 .wks .wmf .wpd .wpg .wps .xbm .xhtml .xls .xlsb .xlsm .xlsx .xlt .xltm .xltx .xlw .xml .xpm .zabw
application/json<API_KEY> (required)creditUsage.jsonMode parameter determines whether the output is formatted as JSON (true) or plain text (false).X-RateLimit-Limit and X-RateLimit-Remaining) are included in the response to indicate the user’s current rate limit status.
files or prompt) are missing, a 400 Bad Request error is returned.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Indicates whether binary content is supplied via URL or base64-encoded string.
url, base64 Array of publicly accessible URLs or base64-encoded document contents.
1Instructions that describe the structured data to extract from the documents.
File extension for the provided documents (e.g., '.pdf', '.docx', or 'autodetect'). Defaults to '.pdf'.
When true, requests the model to respond with JSON-formatted output.
Optional identifier describing where the API request originated.
API, WEB, MAKE_DOT_COM, ZAPIER, N8N, PLAYGROUND, DEFAULT_AUTOMATION, AGENT_PREVIEW, AGENT_LIVE, AUTOPILOT, STUDIO Document extraction returned.
Model output returned from the extraction prompt.
Prompt that was sent to the extraction model.
Total number of document pages processed.
Number of documents included in the request.
Credits consumed while processing the request.