Lucidworks · Capability

Lucidworks AI Platform API — Results

Lucidworks AI Platform API — Results. 1 operations. Lead operation: Get prediction results. Self-contained Naftiko capability covering one Lucidworks business surface.

Run with Naftiko LucidworksResults

What You Can Do

GET
Getprediction — Get prediction results
/v1/ai/prediction/{predictionid}

MCP Tools

get-prediction-results

Get prediction results

read-only idempotent

Capability Spec

ai-platform-results.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Lucidworks AI Platform API — Results
  description: 'Lucidworks AI Platform API — Results. 1 operations. Lead operation: Get prediction results. Self-contained
    Naftiko capability covering one Lucidworks business surface.'
  tags:
  - Lucidworks
  - Results
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LUCIDWORKS_API_KEY: LUCIDWORKS_API_KEY
capability:
  consumes:
  - type: http
    namespace: ai-platform-results
    baseUri: https://api.lucidworks.ai
    description: Lucidworks AI Platform API — Results business capability. Self-contained, no shared references.
    resources:
    - name: ai-prediction-predictionId
      path: /ai/prediction/{predictionId}
      operations:
      - name: getprediction
        method: GET
        description: Get prediction results
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: predictionId
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.LUCIDWORKS_API_KEY}}'
  exposes:
  - type: rest
    namespace: ai-platform-results-rest
    port: 8080
    description: REST adapter for Lucidworks AI Platform API — Results. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/ai/prediction/{predictionid}
      name: ai-prediction-predictionid
      description: REST surface for ai-prediction-predictionId.
      operations:
      - method: GET
        name: getprediction
        description: Get prediction results
        call: ai-platform-results.getprediction
        with:
          predictionId: rest.predictionId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: ai-platform-results-mcp
    port: 9090
    transport: http
    description: MCP adapter for Lucidworks AI Platform API — Results. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-prediction-results
      description: Get prediction results
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: ai-platform-results.getprediction
      with:
        predictionId: tools.predictionId
      outputParameters:
      - type: object
        mapping: $.