LabVantage Solutions · Capability

LabVantage LIMS API — Results

LabVantage LIMS API — Results. 2 operations. Lead operation: Get test results. Self-contained Naftiko capability covering one Labvantage business surface.

Run with Naftiko LabvantageResults

What You Can Do

GET
Gettestresults — Get test results
/v1/tests/{testid}/results
POST
Entertestresults — Enter test results
/v1/tests/{testid}/results

MCP Tools

get-test-results

Get test results

read-only idempotent
enter-test-results

Enter test results

read-only

Capability Spec

lims-results.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: LabVantage LIMS API — Results
  description: 'LabVantage LIMS API — Results. 2 operations. Lead operation: Get test results. Self-contained Naftiko capability
    covering one Labvantage business surface.'
  tags:
  - Labvantage
  - Results
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LABVANTAGE_API_KEY: LABVANTAGE_API_KEY
capability:
  consumes:
  - type: http
    namespace: lims-results
    baseUri: https://{instance}.labvantage.example.com/labvantage/rest/v1
    description: LabVantage LIMS API — Results business capability. Self-contained, no shared references.
    resources:
    - name: tests-testId-results
      path: /tests/{testId}/results
      operations:
      - name: gettestresults
        method: GET
        description: Get test results
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: testId
          in: path
          type: string
          description: Test identifier
          required: true
      - name: entertestresults
        method: POST
        description: Enter test results
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: testId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.LABVANTAGE_API_KEY}}'
  exposes:
  - type: rest
    namespace: lims-results-rest
    port: 8080
    description: REST adapter for LabVantage LIMS API — Results. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/tests/{testid}/results
      name: tests-testid-results
      description: REST surface for tests-testId-results.
      operations:
      - method: GET
        name: gettestresults
        description: Get test results
        call: lims-results.gettestresults
        with:
          testId: rest.testId
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: entertestresults
        description: Enter test results
        call: lims-results.entertestresults
        with:
          testId: rest.testId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: lims-results-mcp
    port: 9090
    transport: http
    description: MCP adapter for LabVantage LIMS API — Results. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: get-test-results
      description: Get test results
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: lims-results.gettestresults
      with:
        testId: tools.testId
      outputParameters:
      - type: object
        mapping: $.
    - name: enter-test-results
      description: Enter test results
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: lims-results.entertestresults
      with:
        testId: tools.testId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.