lakeFS · Capability

lakeFS API — metadata

lakeFS API — metadata. 2 operations. Lead operation: return URI to a meta-range file. Self-contained Naftiko capability covering one Lakefs business surface.

Run with Naftiko Lakefsmetadata

What You Can Do

GET
Getmetarange — return URI to a meta-range file
/v1/repositories/{repository}/metadata/meta-range/{meta-range}
GET
Getrange — return URI to a range file
/v1/repositories/{repository}/metadata/range/{range}

MCP Tools

return-uri-meta-range-file

return URI to a meta-range file

read-only idempotent
return-uri-range-file

return URI to a range file

read-only idempotent

Capability Spec

lakefs-metadata.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: lakeFS API — metadata
  description: 'lakeFS API — metadata. 2 operations. Lead operation: return URI to a meta-range file. Self-contained Naftiko
    capability covering one Lakefs business surface.'
  tags:
  - Lakefs
  - metadata
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LAKEFS_API_KEY: LAKEFS_API_KEY
capability:
  consumes:
  - type: http
    namespace: lakefs-metadata
    baseUri: ''
    description: lakeFS API — metadata business capability. Self-contained, no shared references.
    resources:
    - name: repositories-repository-metadata-meta_range-meta_range
      path: /repositories/{repository}/metadata/meta_range/{meta_range}
      operations:
      - name: getmetarange
        method: GET
        description: return URI to a meta-range file
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repositories-repository-metadata-range-range
      path: /repositories/{repository}/metadata/range/{range}
      operations:
      - name: getrange
        method: GET
        description: return URI to a range file
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.LAKEFS_API_KEY}}'
  exposes:
  - type: rest
    namespace: lakefs-metadata-rest
    port: 8080
    description: REST adapter for lakeFS API — metadata. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/repositories/{repository}/metadata/meta-range/{meta-range}
      name: repositories-repository-metadata-meta-range-meta-range
      description: REST surface for repositories-repository-metadata-meta_range-meta_range.
      operations:
      - method: GET
        name: getmetarange
        description: return URI to a meta-range file
        call: lakefs-metadata.getmetarange
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repositories/{repository}/metadata/range/{range}
      name: repositories-repository-metadata-range-range
      description: REST surface for repositories-repository-metadata-range-range.
      operations:
      - method: GET
        name: getrange
        description: return URI to a range file
        call: lakefs-metadata.getrange
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: lakefs-metadata-mcp
    port: 9090
    transport: http
    description: MCP adapter for lakeFS API — metadata. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: return-uri-meta-range-file
      description: return URI to a meta-range file
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: lakefs-metadata.getmetarange
      outputParameters:
      - type: object
        mapping: $.
    - name: return-uri-range-file
      description: return URI to a range file
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: lakefs-metadata.getrange
      outputParameters:
      - type: object
        mapping: $.