lakeFS · Capability

lakeFS API — tags

lakeFS API — tags. 4 operations. Lead operation: list tags. Self-contained Naftiko capability covering one Lakefs business surface.

Run with Naftiko Lakefstags

What You Can Do

GET
Listtags — list tags
/v1/repositories/{repository}/tags
POST
Createtag — create tag
/v1/repositories/{repository}/tags
GET
Gettag — get tag
/v1/repositories/{repository}/tags/{tag}
DELETE
Deletetag — delete tag
/v1/repositories/{repository}/tags/{tag}

MCP Tools

list-tags

list tags

read-only idempotent
create-tag

create tag

get-tag

get tag

read-only idempotent
delete-tag

delete tag

idempotent

Capability Spec

lakefs-tags.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: lakeFS API — tags
  description: 'lakeFS API — tags. 4 operations. Lead operation: list tags. Self-contained Naftiko capability covering one
    Lakefs business surface.'
  tags:
  - Lakefs
  - tags
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LAKEFS_API_KEY: LAKEFS_API_KEY
capability:
  consumes:
  - type: http
    namespace: lakefs-tags
    baseUri: ''
    description: lakeFS API — tags business capability. Self-contained, no shared references.
    resources:
    - name: repositories-repository-tags
      path: /repositories/{repository}/tags
      operations:
      - name: listtags
        method: GET
        description: list tags
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createtag
        method: POST
        description: create tag
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repositories-repository-tags-tag
      path: /repositories/{repository}/tags/{tag}
      operations:
      - name: gettag
        method: GET
        description: get tag
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deletetag
        method: DELETE
        description: delete tag
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: force
          in: query
          type: boolean
    authentication:
      type: bearer
      token: '{{env.LAKEFS_API_KEY}}'
  exposes:
  - type: rest
    namespace: lakefs-tags-rest
    port: 8080
    description: REST adapter for lakeFS API — tags. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/repositories/{repository}/tags
      name: repositories-repository-tags
      description: REST surface for repositories-repository-tags.
      operations:
      - method: GET
        name: listtags
        description: list tags
        call: lakefs-tags.listtags
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createtag
        description: create tag
        call: lakefs-tags.createtag
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repositories/{repository}/tags/{tag}
      name: repositories-repository-tags-tag
      description: REST surface for repositories-repository-tags-tag.
      operations:
      - method: GET
        name: gettag
        description: get tag
        call: lakefs-tags.gettag
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletetag
        description: delete tag
        call: lakefs-tags.deletetag
        with:
          force: rest.force
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: lakefs-tags-mcp
    port: 9090
    transport: http
    description: MCP adapter for lakeFS API — tags. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-tags
      description: list tags
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: lakefs-tags.listtags
      outputParameters:
      - type: object
        mapping: $.
    - name: create-tag
      description: create tag
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: lakefs-tags.createtag
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-tag
      description: get tag
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: lakefs-tags.gettag
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-tag
      description: delete tag
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: lakefs-tags.deletetag
      with:
        force: tools.force
      outputParameters:
      - type: object
        mapping: $.