curl -X POST 'https://api.ade.landing.ai/v2/parse/jobs' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-F 'document=@document.pdf' \
-F 'model=dpt-3-pro-latest'import requests
url = 'https://api.ade.landing.ai/v2/parse/jobs'
headers = {'Authorization': 'Bearer YOUR_API_KEY'}
files = {'document': open('document.pdf', 'rb')}
data = {'model': 'dpt-3-pro-latest'}
response = requests.post(url, headers=headers, files=files, data=data)
print(response.json())const axios = require('axios');
const FormData = require('form-data');
const fs = require('fs');
const form = new FormData();
form.append('document', fs.createReadStream('document.pdf'));
form.append('model', 'dpt-3-pro-latest');
axios.post('https://api.ade.landing.ai/v2/parse/jobs', form, {
headers: { 'Authorization': 'Bearer YOUR_API_KEY', ...form.getHeaders() }
})
.then(response => console.log(response.data))
.catch(error => console.error(error));{
"job_id": "<string>"
}ADE Parse Jobs
Parse a document asynchronously. Returns a job ID; use it to poll for the job’s status and retrieve the parse result once processing completes.
curl -X POST 'https://api.ade.landing.ai/v2/parse/jobs' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-F 'document=@document.pdf' \
-F 'model=dpt-3-pro-latest'import requests
url = 'https://api.ade.landing.ai/v2/parse/jobs'
headers = {'Authorization': 'Bearer YOUR_API_KEY'}
files = {'document': open('document.pdf', 'rb')}
data = {'model': 'dpt-3-pro-latest'}
response = requests.post(url, headers=headers, files=files, data=data)
print(response.json())const axios = require('axios');
const FormData = require('form-data');
const fs = require('fs');
const form = new FormData();
form.append('document', fs.createReadStream('document.pdf'));
form.append('model', 'dpt-3-pro-latest');
axios.post('https://api.ade.landing.ai/v2/parse/jobs', form, {
headers: { 'Authorization': 'Bearer YOUR_API_KEY', ...form.getHeaders() }
})
.then(response => console.log(response.data))
.catch(error => console.error(error));{
"job_id": "<string>"
}Body
The file to parse. The file must be a PDF or image; see the list of supported file types. Provide either document or document_url, not both.
A publicly accessible URL to the file to parse. The file must be a PDF or image; see the list of supported file types. Provide either document or document_url, not both.
The DPT-3 model snapshot to use for this request. Accepts a dated snapshot (for example, dpt-3-pro-20260710), the dpt-3-pro-latest alias, or the bare dpt-3-pro family name (equivalent to dpt-3-pro-latest). Defaults to the latest DPT-3 Pro snapshot.
Optional object that customizes the parse. Use it to select which pages to process, adjust how content appears in the Markdown, or control how much detail the response includes. Sent as a JSON-serialized string in form data.
Show child attributes
Show child attributes
Encrypted PDFs are not currently supported. Providing a password returns a 422 error; decrypt the file before uploading.
Public URL the full response is delivered to; the API response then carries output_url instead of inline data.
Async service tier (POST /jobs only). priority runs in the fast lane at the sync billing rate; absent → standard.
standard, priority Response
Job created
The unique identifier for the created parse job. Poll GET /v2/parse/jobs/{job_id} for its status and result.
Was this page helpful?