llamaindex · Capability

LlamaIndex LlamaCloud API — Retrieval

LlamaIndex LlamaCloud API — Retrieval. 1 operations. Lead operation: Run search. Self-contained Naftiko capability covering one Llamaindex business surface.

Run with Naftiko LlamaindexRetrieval

What You Can Do

POST
Runsearch — Run search
/v1/pipelines/{pipelineid}/retrieve

MCP Tools

run-search

Run search

read-only

Capability Spec

llamacloud-retrieval.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: LlamaIndex LlamaCloud API — Retrieval
  description: 'LlamaIndex LlamaCloud API — Retrieval. 1 operations. Lead operation: Run search. Self-contained Naftiko capability
    covering one Llamaindex business surface.'
  tags:
  - Llamaindex
  - Retrieval
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LLAMAINDEX_API_KEY: LLAMAINDEX_API_KEY
capability:
  consumes:
  - type: http
    namespace: llamacloud-retrieval
    baseUri: https://api.cloud.llamaindex.ai/api/v1
    description: LlamaIndex LlamaCloud API — Retrieval business capability. Self-contained, no shared references.
    resources:
    - name: pipelines-pipelineId-retrieve
      path: /pipelines/{pipelineId}/retrieve
      operations:
      - name: runsearch
        method: POST
        description: Run search
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.LLAMAINDEX_API_KEY}}'
  exposes:
  - type: rest
    namespace: llamacloud-retrieval-rest
    port: 8080
    description: REST adapter for LlamaIndex LlamaCloud API — Retrieval. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/pipelines/{pipelineid}/retrieve
      name: pipelines-pipelineid-retrieve
      description: REST surface for pipelines-pipelineId-retrieve.
      operations:
      - method: POST
        name: runsearch
        description: Run search
        call: llamacloud-retrieval.runsearch
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: llamacloud-retrieval-mcp
    port: 9090
    transport: http
    description: MCP adapter for LlamaIndex LlamaCloud API — Retrieval. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: run-search
      description: Run search
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: llamacloud-retrieval.runsearch
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.