vLex · Capability

vLex Iceberg Legal Research API — Documents

vLex Iceberg Legal Research API — Documents. 1 operations. Lead operation: Get Legal Document. Self-contained Naftiko capability covering one Vlex business surface.

Run with Naftiko VlexDocuments

What You Can Do

GET
Getdocument — Get Legal Document
/v1/v1/documents/{document-id}

MCP Tools

get-legal-document

Get Legal Document

read-only idempotent

Capability Spec

iceberg-legal-research-documents.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: vLex Iceberg Legal Research API — Documents
  description: 'vLex Iceberg Legal Research API — Documents. 1 operations. Lead operation: Get Legal Document. Self-contained
    Naftiko capability covering one Vlex business surface.'
  tags:
  - Vlex
  - Documents
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    VLEX_API_KEY: VLEX_API_KEY
capability:
  consumes:
  - type: http
    namespace: iceberg-legal-research-documents
    baseUri: https://api.vlex.com
    description: vLex Iceberg Legal Research API — Documents business capability. Self-contained, no shared references.
    resources:
    - name: v1-documents-document_id
      path: /v1/documents/{document_id}
      operations:
      - name: getdocument
        method: GET
        description: Get Legal Document
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: document_id
          in: path
          type: string
          description: vLex document identifier
          required: true
    authentication:
      type: apikey
      key: Ocp-Apim-Subscription-Key
      value: '{{env.VLEX_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: iceberg-legal-research-documents-rest
    port: 8080
    description: REST adapter for vLex Iceberg Legal Research API — Documents. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/v1/documents/{document-id}
      name: v1-documents-document-id
      description: REST surface for v1-documents-document_id.
      operations:
      - method: GET
        name: getdocument
        description: Get Legal Document
        call: iceberg-legal-research-documents.getdocument
        with:
          document_id: rest.document_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: iceberg-legal-research-documents-mcp
    port: 9090
    transport: http
    description: MCP adapter for vLex Iceberg Legal Research API — Documents. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: get-legal-document
      description: Get Legal Document
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: iceberg-legal-research-documents.getdocument
      with:
        document_id: tools.document_id
      outputParameters:
      - type: object
        mapping: $.