Cribl · Capability

Cribl Edge API — Edge Sources

Cribl Edge API — Edge Sources. 2 operations. Lead operation: List edge sources in a fleet. Self-contained Naftiko capability covering one Cribl business surface.

Run with Naftiko CriblEdge Sources

What You Can Do

GET
Listedgesources — List edge sources in a fleet
/v1/m/{fleetid}/system/sources
POST
Createedgesource — Create an edge source in a fleet
/v1/m/{fleetid}/system/sources

MCP Tools

list-edge-sources-fleet

List edge sources in a fleet

read-only idempotent
create-edge-source-fleet

Create an edge source in a fleet

Capability Spec

edge-edge-sources.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Cribl Edge API — Edge Sources
  description: 'Cribl Edge API — Edge Sources. 2 operations. Lead operation: List edge sources in a fleet. Self-contained
    Naftiko capability covering one Cribl business surface.'
  tags:
  - Cribl
  - Edge Sources
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CRIBL_API_KEY: CRIBL_API_KEY
capability:
  consumes:
  - type: http
    namespace: edge-edge-sources
    baseUri: https://{workspaceName}-{organizationId}.cribl.cloud/api/v1
    description: Cribl Edge API — Edge Sources business capability. Self-contained, no shared references.
    resources:
    - name: m-fleetId-system-sources
      path: /m/{fleetId}/system/sources
      operations:
      - name: listedgesources
        method: GET
        description: List edge sources in a fleet
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createedgesource
        method: POST
        description: Create an edge source in a fleet
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.CRIBL_API_KEY}}'
  exposes:
  - type: rest
    namespace: edge-edge-sources-rest
    port: 8080
    description: REST adapter for Cribl Edge API — Edge Sources. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/m/{fleetid}/system/sources
      name: m-fleetid-system-sources
      description: REST surface for m-fleetId-system-sources.
      operations:
      - method: GET
        name: listedgesources
        description: List edge sources in a fleet
        call: edge-edge-sources.listedgesources
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createedgesource
        description: Create an edge source in a fleet
        call: edge-edge-sources.createedgesource
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: edge-edge-sources-mcp
    port: 9090
    transport: http
    description: MCP adapter for Cribl Edge API — Edge Sources. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-edge-sources-fleet
      description: List edge sources in a fleet
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: edge-edge-sources.listedgesources
      outputParameters:
      - type: object
        mapping: $.
    - name: create-edge-source-fleet
      description: Create an edge source in a fleet
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: edge-edge-sources.createedgesource
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.