Cribl · Capability

Cribl Cloud API — Lake Datasets

Cribl Cloud API — Lake Datasets. 4 operations. Lead operation: List all Lake datasets. Self-contained Naftiko capability covering one Cribl business surface.

Run with Naftiko CriblLake Datasets

What You Can Do

GET
Listlakedatasets — List all Lake datasets
/v1/lake/datasets
POST
Createlakedataset — Create a Lake dataset
/v1/lake/datasets
GET
Getlakedataset — Get a Lake dataset by ID
/v1/lake/datasets/{id}
DELETE
Deletelakedataset — Delete a Lake dataset
/v1/lake/datasets/{id}

MCP Tools

list-all-lake-datasets

List all Lake datasets

read-only idempotent
create-lake-dataset

Create a Lake dataset

get-lake-dataset-id

Get a Lake dataset by ID

read-only idempotent
delete-lake-dataset

Delete a Lake dataset

idempotent

Capability Spec

cloud-lake-datasets.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Cribl Cloud API — Lake Datasets
  description: 'Cribl Cloud API — Lake Datasets. 4 operations. Lead operation: List all Lake datasets. Self-contained Naftiko
    capability covering one Cribl business surface.'
  tags:
  - Cribl
  - Lake Datasets
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CRIBL_API_KEY: CRIBL_API_KEY
capability:
  consumes:
  - type: http
    namespace: cloud-lake-datasets
    baseUri: https://{workspaceName}-{organizationId}.cribl.cloud/api/v1
    description: Cribl Cloud API — Lake Datasets business capability. Self-contained, no shared references.
    resources:
    - name: lake-datasets
      path: /lake/datasets
      operations:
      - name: listlakedatasets
        method: GET
        description: List all Lake datasets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createlakedataset
        method: POST
        description: Create a Lake dataset
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: lake-datasets-id
      path: /lake/datasets/{id}
      operations:
      - name: getlakedataset
        method: GET
        description: Get a Lake dataset by ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deletelakedataset
        method: DELETE
        description: Delete a Lake dataset
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.CRIBL_API_KEY}}'
  exposes:
  - type: rest
    namespace: cloud-lake-datasets-rest
    port: 8080
    description: REST adapter for Cribl Cloud API — Lake Datasets. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/lake/datasets
      name: lake-datasets
      description: REST surface for lake-datasets.
      operations:
      - method: GET
        name: listlakedatasets
        description: List all Lake datasets
        call: cloud-lake-datasets.listlakedatasets
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createlakedataset
        description: Create a Lake dataset
        call: cloud-lake-datasets.createlakedataset
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/lake/datasets/{id}
      name: lake-datasets-id
      description: REST surface for lake-datasets-id.
      operations:
      - method: GET
        name: getlakedataset
        description: Get a Lake dataset by ID
        call: cloud-lake-datasets.getlakedataset
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletelakedataset
        description: Delete a Lake dataset
        call: cloud-lake-datasets.deletelakedataset
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloud-lake-datasets-mcp
    port: 9090
    transport: http
    description: MCP adapter for Cribl Cloud API — Lake Datasets. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-all-lake-datasets
      description: List all Lake datasets
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-lake-datasets.listlakedatasets
      outputParameters:
      - type: object
        mapping: $.
    - name: create-lake-dataset
      description: Create a Lake dataset
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloud-lake-datasets.createlakedataset
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-lake-dataset-id
      description: Get a Lake dataset by ID
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-lake-datasets.getlakedataset
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-lake-dataset
      description: Delete a Lake dataset
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: cloud-lake-datasets.deletelakedataset
      outputParameters:
      - type: object
        mapping: $.