import requests
url = 'https://api.ade.landing.ai/v2/extract/jobs/JOB_ID'
headers = {'Authorization': 'Bearer YOUR_API_KEY'}
response = requests.get(url, headers=headers)
print(response.json())curl 'https://api.ade.landing.ai/v2/extract/jobs/JOB_ID' \
-H 'Authorization: Bearer YOUR_API_KEY'const axios = require('axios');
axios.get('https://api.ade.landing.ai/v2/extract/jobs/JOB_ID', {
headers: { 'Authorization': 'Bearer YOUR_API_KEY' }
})
.then(response => console.log(response.data))
.catch(error => console.error(error));{
"job_id": "<string>",
"status": "pending",
"created_at": "<string>",
"completed_at": "<string>",
"progress": 0.5,
"result": {
"extraction": {},
"extraction_metadata": {},
"markdown": "<string>",
"metadata": {
"job_id": "<string>",
"model_version": "<string>",
"duration_ms": 123,
"range_units": "unicode_codepoints",
"openapi_spec": "<string>",
"doc_id": "<string>",
"input_markdown_chars": 123,
"output_extraction_chars": 123,
"billing": {
"service_tier": "standard",
"total_credits": 123
}
},
"schema_violation_error": "<string>",
"warnings": [
{}
]
},
"error": {
"code": "<string>",
"message": "<string>"
},
"output_url": "<string>",
"metadata": {}
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}ADE Get Extract Jobs
Get the status of an async Extract job, including its result once the job has completed.
import requests
url = 'https://api.ade.landing.ai/v2/extract/jobs/JOB_ID'
headers = {'Authorization': 'Bearer YOUR_API_KEY'}
response = requests.get(url, headers=headers)
print(response.json())curl 'https://api.ade.landing.ai/v2/extract/jobs/JOB_ID' \
-H 'Authorization: Bearer YOUR_API_KEY'const axios = require('axios');
axios.get('https://api.ade.landing.ai/v2/extract/jobs/JOB_ID', {
headers: { 'Authorization': 'Bearer YOUR_API_KEY' }
})
.then(response => console.log(response.data))
.catch(error => console.error(error));{
"job_id": "<string>",
"status": "pending",
"created_at": "<string>",
"completed_at": "<string>",
"progress": 0.5,
"result": {
"extraction": {},
"extraction_metadata": {},
"markdown": "<string>",
"metadata": {
"job_id": "<string>",
"model_version": "<string>",
"duration_ms": 123,
"range_units": "unicode_codepoints",
"openapi_spec": "<string>",
"doc_id": "<string>",
"input_markdown_chars": 123,
"output_extraction_chars": 123,
"billing": {
"service_tier": "standard",
"total_credits": 123
}
},
"schema_violation_error": "<string>",
"warnings": [
{}
]
},
"error": {
"code": "<string>",
"message": "<string>"
},
"output_url": "<string>",
"metadata": {}
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}Path Parameters
The identifier of the job to retrieve, as returned by the create-job request.
Response
Job status / result
The unique identifier for this v2-extract job. Format: extract-<26-character Crockford base32 ULID> ([0-9a-hjkmnp-tv-z]{26} tail). Opaque, server-minted, and stable for the life of the job — the same id is returned on the sync response, the async 202, and every poll. Treat it as opaque; older id formats remain accepted indefinitely and are never re-issued.
pending, processing, completed, failed Present once the job is terminal.
Estimated completion as a decimal from 0 to 1 — an estimate, not a measurement: it typically advances between polls while the job is processing, may jump forward when the service reports a real milestone (e.g. parsed pages), and approaches but never reaches 1 (long-running jobs plateau near 0.98 — completion is signaled by status, and a job may complete from any progress value). Present while processing.
0 <= x <= 1Present once status is completed and output_save_url was not set. When output_save_url was set, the result is delivered there and output_url is returned instead.
Show child attributes
Show child attributes
Present once status is failed.
Show child attributes
Show child attributes
The URL the result was delivered to. Present once the job has completed and output_save_url was set, instead of inline result.
The result's metadata block (billing included), present alongside output_url once a job with output_save_url has completed — the delivery moves the content, not the receipt. Same shape as the inline result's metadata; inline jobs carry it there instead.
Was this page helpful?