llamaindex · Capability

LlamaIndex LlamaExtract API — Extraction Jobs

LlamaIndex LlamaExtract API — Extraction Jobs. 3 operations. Lead operation: Create an extraction job. Self-contained Naftiko capability covering one Llamaindex business surface.

Run with Naftiko LlamaindexExtraction Jobs

What You Can Do

POST
Createextractionjob — Create an extraction job
/v1/extraction/jobs
GET
Getextractionjob — Get extraction job status
/v1/extraction/jobs/{jobid}
GET
Getextractionjobresult — Get extraction job result
/v1/extraction/jobs/{jobid}/result

MCP Tools

create-extraction-job

Create an extraction job

get-extraction-job-status

Get extraction job status

read-only idempotent
get-extraction-job-result

Get extraction job result

read-only idempotent

Capability Spec

llamaextract-extraction-jobs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: LlamaIndex LlamaExtract API — Extraction Jobs
  description: 'LlamaIndex LlamaExtract API — Extraction Jobs. 3 operations. Lead operation: Create an extraction job. Self-contained
    Naftiko capability covering one Llamaindex business surface.'
  tags:
  - Llamaindex
  - Extraction Jobs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LLAMAINDEX_API_KEY: LLAMAINDEX_API_KEY
capability:
  consumes:
  - type: http
    namespace: llamaextract-extraction-jobs
    baseUri: https://api.cloud.llamaindex.ai/api/v1
    description: LlamaIndex LlamaExtract API — Extraction Jobs business capability. Self-contained, no shared references.
    resources:
    - name: extraction-jobs
      path: /extraction/jobs
      operations:
      - name: createextractionjob
        method: POST
        description: Create an extraction job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: extraction-jobs-jobId
      path: /extraction/jobs/{jobId}
      operations:
      - name: getextractionjob
        method: GET
        description: Get extraction job status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: extraction-jobs-jobId-result
      path: /extraction/jobs/{jobId}/result
      operations:
      - name: getextractionjobresult
        method: GET
        description: Get extraction job result
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.LLAMAINDEX_API_KEY}}'
  exposes:
  - type: rest
    namespace: llamaextract-extraction-jobs-rest
    port: 8080
    description: REST adapter for LlamaIndex LlamaExtract API — Extraction Jobs. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/extraction/jobs
      name: extraction-jobs
      description: REST surface for extraction-jobs.
      operations:
      - method: POST
        name: createextractionjob
        description: Create an extraction job
        call: llamaextract-extraction-jobs.createextractionjob
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/extraction/jobs/{jobid}
      name: extraction-jobs-jobid
      description: REST surface for extraction-jobs-jobId.
      operations:
      - method: GET
        name: getextractionjob
        description: Get extraction job status
        call: llamaextract-extraction-jobs.getextractionjob
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/extraction/jobs/{jobid}/result
      name: extraction-jobs-jobid-result
      description: REST surface for extraction-jobs-jobId-result.
      operations:
      - method: GET
        name: getextractionjobresult
        description: Get extraction job result
        call: llamaextract-extraction-jobs.getextractionjobresult
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: llamaextract-extraction-jobs-mcp
    port: 9090
    transport: http
    description: MCP adapter for LlamaIndex LlamaExtract API — Extraction Jobs. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: create-extraction-job
      description: Create an extraction job
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: llamaextract-extraction-jobs.createextractionjob
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-extraction-job-status
      description: Get extraction job status
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: llamaextract-extraction-jobs.getextractionjob
      outputParameters:
      - type: object
        mapping: $.
    - name: get-extraction-job-result
      description: Get extraction job result
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: llamaextract-extraction-jobs.getextractionjobresult
      outputParameters:
      - type: object
        mapping: $.