LlamaParse · Example Payload

Llamaparse Extract Job Request

Example request body for creating an extraction job with a custom schema

Document ParsingOCRPDFLLMRAGAIDocument IntelligenceStructured Data Extraction

Llamaparse Extract Job Request is an example object payload from LlamaParse, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

descriptionendpointrequest_bodyresponse_body

Example Payload

Raw ↑
{
  "description": "Example request body for creating an extraction job with a custom schema",
  "endpoint": "POST /api/v1/extraction/jobs",
  "request_body": {
    "extraction_agent_id": "agent-uuid-abcd-1234",
    "file_id": "file-uuid-efgh-5678",
    "mode": "EXTRACT_MODE_AGENTIC",
    "output_schema": {
      "type": "object",
      "properties": {
        "invoice_number": { "type": "string" },
        "invoice_date": { "type": "string", "format": "date" },
        "total_amount": { "type": "number" },
        "line_items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "description": { "type": "string" },
              "quantity": { "type": "integer" },
              "unit_price": { "type": "number" }
            }
          }
        }
      }
    }
  },
  "response_body": {
    "id": "job-uuid-1234-abcd",
    "extraction_agent": {
      "id": "agent-uuid-abcd-1234",
      "name": "Invoice Extractor"
    },
    "status": "PENDING",
    "error": null,
    "file_id": "file-uuid-efgh-5678"
  }
}