llamaindex Extraction Jobs API

Run and monitor asynchronous extraction jobs that process documents through extraction agents.

Operations 3

POST /extraction/jobs Create an extraction job #
GET /extraction/jobs/{jobId} Get extraction job status #
GET /extraction/jobs/{jobId}/result Get extraction job result #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/llamaindex-extraction-jobs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

llamaindex-extraction-jobs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LlamaIndex LlamaExtract Extraction Jobs API
  description: LlamaExtract is a prebuilt agentic data extraction API that transforms unstructured document data into structured JSON representations. The REST API allows developers to create extraction agents configured with specific schemas, upload documents, and run extraction jobs programmatically. Jobs are processed asynchronously, and developers can poll for job status and retrieve structured results. It supports both human-defined and AI-inferred schemas for flexible data extraction workflows.
  version: '1.0'
  contact:
    name: LlamaIndex Support
    url: https://www.llamaindex.ai/contact
  termsOfService: https://www.llamaindex.ai/terms-of-service
servers:
- url: https://api.cloud.llamaindex.ai/api/v1
  description: US Production Server
- url: https://api.cloud.llamaindex.eu/api/v1
  description: EU Production Server
security:
- bearerAuth: []
tags:
- name: Extraction Jobs
  description: Run and monitor asynchronous extraction jobs that process documents through extraction agents.
paths:
  /extraction/jobs:
    post:
      operationId: createExtractionJob
      summary: Create an extraction job
      description: Run an extraction job by specifying an extraction agent and one or more files to process. The job runs asynchronously and can be polled for status and results.
      tags:
      - Extraction Jobs
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateExtractionJobRequest'
      responses:
        '200':
          description: Extraction job created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExtractionJob'
        '400':
          description: Bad request - invalid job parameters
        '401':
          description: Unauthorized - invalid or missing API key
  /extraction/jobs/{jobId}:
    get:
      operationId: getExtractionJob
      summary: Get extraction job status
      description: Retrieve the current status of an extraction job. Poll this endpoint to check whether the job has completed processing.
      tags:
      - Extraction Jobs
      parameters:
      - $ref: '#/components/parameters/jobId'
      responses:
        '200':
          description: Successfully retrieved extraction job status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExtractionJob'
        '401':
          description: Unauthorized - invalid or missing API key
        '404':
          description: Extraction job not found
  /extraction/jobs/{jobId}/result:
    get:
      operationId: getExtractionJobResult
      summary: Get extraction job result
      description: Retrieve the structured data extracted from the documents processed by a completed extraction job. Results conform to the schema defined in the extraction agent.
      tags:
      - Extraction Jobs
      parameters:
      - $ref: '#/components/parameters/jobId'
      responses:
        '200':
          description: Successfully retrieved extraction results
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExtractionResult'
        '401':
          description: Unauthorized - invalid or missing API key
        '404':
          description: Extraction job not found or not completed
components:
  schemas:
    FileExtractionResult:
      type: object
      description: Extraction result for a single file.
      properties:
        file_id:
          type: string
          description: Identifier of the processed file.
        file_name:
          type: string
          description: Name of the processed file.
        data:
          type: object
          additionalProperties: true
          description: Structured data extracted from the file, conforming to the extraction agent schema.
        status:
          type: string
          enum:
          - success
          - error
          description: Status of the extraction for this specific file.
        error:
          type: string
          description: Error message if extraction failed for this file.
    CreateExtractionJobRequest:
      type: object
      description: Request body for creating an extraction job.
      required:
      - extraction_agent_id
      - file_ids
      properties:
        extraction_agent_id:
          type: string
          description: Identifier of the extraction agent to use for processing.
        file_ids:
          type: array
          items:
            type: string
          description: List of file identifiers to process in this extraction job.
    ExtractionJob:
      type: object
      description: An asynchronous extraction job that processes documents through an extraction agent.
      properties:
        id:
          type: string
          description: Unique identifier of the extraction job.
        extraction_agent_id:
          type: string
          description: Identifier of the extraction agent used for this job.
        status:
          type: string
          enum:
          - pending
          - processing
          - completed
          - failed
          description: Current status of the extraction job.
        file_ids:
          type: array
          items:
            type: string
          description: Identifiers of the files being processed.
        created_at:
          type: string
          format: date-time
          description: Timestamp when the extraction job was created.
        completed_at:
          type: string
          format: date-time
          description: Timestamp when the extraction job completed, if applicable.
    ExtractionResult:
      type: object
      description: Structured data extracted from documents by a completed extraction job.
      properties:
        job_id:
          type: string
          description: Identifier of the extraction job that produced this result.
        results:
          type: array
          description: List of extraction results, one per processed file.
          items:
            $ref: '#/components/schemas/FileExtractionResult'
  parameters:
    jobId:
      name: jobId
      in: path
      description: Unique identifier of the extraction job.
      required: true
      schema:
        type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: LlamaCloud API key obtained from the LlamaCloud dashboard. Include as a Bearer token in the Authorization header.
externalDocs:
  description: LlamaExtract REST API Documentation
  url: https://developers.llamaindex.ai/python/cloud/llamaextract/getting_started/api/