Skip to main content
GET
/
v2
/
extract
/
jobs
/
{job_id}
cURL
curl 'https://api.ade.landing.ai/v2/extract/jobs/JOB_ID' \
  -H 'Authorization: Bearer YOUR_API_KEY'
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())
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>",
  "created_at": "<string>",
  "completed_at": "<string>",
  "progress": "<unknown>",
  "result": {
    "extraction": {},
    "extraction_metadata": {},
    "markdown": "<string>",
    "metadata": {
      "job_id": "<string>",
      "version": "<string>",
      "duration_ms": 123,
      "doc_id": "<string>",
      "credit_usage": 0,
      "billing": {
        "total_credits": 123
      }
    }
  },
  "error": {
    "code": "<string>",
    "message": "<string>"
  }
}
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}

Path Parameters

job_id
string
required

The identifier of the job to retrieve, as returned by the create-job request.

Response

Job status / result

job_id
string
status
enum<string>
Available options:
pending,
processing,
completed,
failed
created_at
string | null
completed_at
string

Present once the job is terminal.

progress
any

Best-effort progress, present while processing only for jobs that report it.

result
V2ExtractResult · object | null

Present once status is completed.

error
object

Present once status is failed.