Cribl · Capability

Cribl Edge API — Edge Routes

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

Run with Naftiko CriblEdge Routes

What You Can Do

GET
Listedgeroutes — List edge routes in a fleet
/v1/m/{fleetid}/routes
POST
Createedgeroute — Create an edge route in a fleet
/v1/m/{fleetid}/routes

MCP Tools

list-edge-routes-fleet

List edge routes in a fleet

read-only idempotent
create-edge-route-fleet

Create an edge route in a fleet

Capability Spec

edge-edge-routes.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Cribl Edge API — Edge Routes
  description: 'Cribl Edge API — Edge Routes. 2 operations. Lead operation: List edge routes in a fleet. Self-contained Naftiko
    capability covering one Cribl business surface.'
  tags:
  - Cribl
  - Edge Routes
  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-routes
    baseUri: https://{workspaceName}-{organizationId}.cribl.cloud/api/v1
    description: Cribl Edge API — Edge Routes business capability. Self-contained, no shared references.
    resources:
    - name: m-fleetId-routes
      path: /m/{fleetId}/routes
      operations:
      - name: listedgeroutes
        method: GET
        description: List edge routes in a fleet
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createedgeroute
        method: POST
        description: Create an edge route 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-routes-rest
    port: 8080
    description: REST adapter for Cribl Edge API — Edge Routes. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/m/{fleetid}/routes
      name: m-fleetid-routes
      description: REST surface for m-fleetId-routes.
      operations:
      - method: GET
        name: listedgeroutes
        description: List edge routes in a fleet
        call: edge-edge-routes.listedgeroutes
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createedgeroute
        description: Create an edge route in a fleet
        call: edge-edge-routes.createedgeroute
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: edge-edge-routes-mcp
    port: 9090
    transport: http
    description: MCP adapter for Cribl Edge API — Edge Routes. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-edge-routes-fleet
      description: List edge routes in a fleet
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: edge-edge-routes.listedgeroutes
      outputParameters:
      - type: object
        mapping: $.
    - name: create-edge-route-fleet
      description: Create an edge route in a fleet
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: edge-edge-routes.createedgeroute
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.