Cribl · Capability

Cribl Cloud API — Lookups

Cribl Cloud API — Lookups. 2 operations. Lead operation: List all lookups. Self-contained Naftiko capability covering one Cribl business surface.

Run with Naftiko CriblLookups

What You Can Do

GET
Listlookups — List all lookups
/v1/system/lookups
GET
Getlookup — Get a lookup by ID
/v1/system/lookups/{id}

MCP Tools

list-all-lookups

List all lookups

read-only idempotent
get-lookup-id

Get a lookup by ID

read-only idempotent

Capability Spec

cloud-lookups.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Cribl Cloud API — Lookups
  description: 'Cribl Cloud API — Lookups. 2 operations. Lead operation: List all lookups. Self-contained Naftiko capability
    covering one Cribl business surface.'
  tags:
  - Cribl
  - Lookups
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CRIBL_API_KEY: CRIBL_API_KEY
capability:
  consumes:
  - type: http
    namespace: cloud-lookups
    baseUri: https://{workspaceName}-{organizationId}.cribl.cloud/api/v1
    description: Cribl Cloud API — Lookups business capability. Self-contained, no shared references.
    resources:
    - name: system-lookups
      path: /system/lookups
      operations:
      - name: listlookups
        method: GET
        description: List all lookups
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: system-lookups-id
      path: /system/lookups/{id}
      operations:
      - name: getlookup
        method: GET
        description: Get a lookup by ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.CRIBL_API_KEY}}'
  exposes:
  - type: rest
    namespace: cloud-lookups-rest
    port: 8080
    description: REST adapter for Cribl Cloud API — Lookups. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/system/lookups
      name: system-lookups
      description: REST surface for system-lookups.
      operations:
      - method: GET
        name: listlookups
        description: List all lookups
        call: cloud-lookups.listlookups
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/system/lookups/{id}
      name: system-lookups-id
      description: REST surface for system-lookups-id.
      operations:
      - method: GET
        name: getlookup
        description: Get a lookup by ID
        call: cloud-lookups.getlookup
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloud-lookups-mcp
    port: 9090
    transport: http
    description: MCP adapter for Cribl Cloud API — Lookups. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-all-lookups
      description: List all lookups
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-lookups.listlookups
      outputParameters:
      - type: object
        mapping: $.
    - name: get-lookup-id
      description: Get a lookup by ID
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-lookups.getlookup
      outputParameters:
      - type: object
        mapping: $.