Skip to content
Last updated

GEThttps://api.aitronos.com/v1/documents/jobs/{job_id}

Check the status and results of a document extraction job.

Authentication

Path Parameters

job_id string required
Job identifier returned from the extract endpoint (format: job_{uuid}).

Returns

Returns the job object with current status and extracted data if completed.

Bash
curl -X GET "https://api.aitronos.com/v1/documents/jobs/job_abc123def456" \
  -H "X-API-Key: $FREDDY_API_KEY"

Response:

{
  "success": true,
  "job_id": "job_abc123def456",
  "status": "completed",
  "extracted_data": {
    "invoice_number": "INV-2024-001",
    "date": "2024-12-16",
    "total_amount": 1250.00,
    "vendor_name": "Acme Corporation",
    "line_items": [
      {
        "description": "Widget A",
        "quantity": 10,
        "price": 50.00
      }
    ]
  },
  "confidence": 0.95,
  "processing_time": 2.3,
  "cost_chf": 0.015,
  "model_used": "gpt-4o",
  "created_at": "2024-12-16T10:30:00Z",
  "completed_at": "2024-12-16T10:30:02Z"
}