Helicone · Capability

helicone-api — Webhooks

helicone-api — Webhooks. 4 operations. Lead operation: Webhooks. Self-contained Naftiko capability covering one Helicone business surface.

Run with Naftiko HeliconeWebhooks

What You Can Do

POST
Newwebhook — newwebhook
/v1/v1/webhooks
GET
Getwebhooks — getwebhooks
/v1/v1/webhooks
DELETE
Deletewebhook — deletewebhook
/v1/v1/webhooks/{webhookid}
POST
Testwebhook — testwebhook
/v1/v1/webhooks/{webhookid}/test

MCP Tools

newwebhook

newwebhook

getwebhooks

getwebhooks

read-only idempotent
deletewebhook

deletewebhook

idempotent
testwebhook

testwebhook

Capability Spec

helicone-webhooks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: helicone-api — Webhooks
  description: 'helicone-api — Webhooks. 4 operations. Lead operation: Webhooks. Self-contained Naftiko capability covering
    one Helicone business surface.'
  tags:
  - Helicone
  - Webhooks
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    HELICONE_API_KEY: HELICONE_API_KEY
capability:
  consumes:
  - type: http
    namespace: helicone-webhooks
    baseUri: https://api.helicone.ai
    description: helicone-api — Webhooks business capability. Self-contained, no shared references.
    resources:
    - name: v1-webhooks
      path: /v1/webhooks
      operations:
      - name: newwebhook
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: getwebhooks
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-webhooks-webhookId
      path: /v1/webhooks/{webhookId}
      operations:
      - name: deletewebhook
        method: DELETE
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: webhookId
          in: path
          type: string
          required: true
    - name: v1-webhooks-webhookId-test
      path: /v1/webhooks/{webhookId}/test
      operations:
      - name: testwebhook
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: webhookId
          in: path
          type: string
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.HELICONE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: helicone-webhooks-rest
    port: 8080
    description: REST adapter for helicone-api — Webhooks. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v1/webhooks
      name: v1-webhooks
      description: REST surface for v1-webhooks.
      operations:
      - method: POST
        name: newwebhook
        description: newwebhook
        call: helicone-webhooks.newwebhook
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getwebhooks
        description: getwebhooks
        call: helicone-webhooks.getwebhooks
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/webhooks/{webhookid}
      name: v1-webhooks-webhookid
      description: REST surface for v1-webhooks-webhookId.
      operations:
      - method: DELETE
        name: deletewebhook
        description: deletewebhook
        call: helicone-webhooks.deletewebhook
        with:
          webhookId: rest.webhookId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/webhooks/{webhookid}/test
      name: v1-webhooks-webhookid-test
      description: REST surface for v1-webhooks-webhookId-test.
      operations:
      - method: POST
        name: testwebhook
        description: testwebhook
        call: helicone-webhooks.testwebhook
        with:
          webhookId: rest.webhookId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: helicone-webhooks-mcp
    port: 9090
    transport: http
    description: MCP adapter for helicone-api — Webhooks. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: newwebhook
      description: newwebhook
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: helicone-webhooks.newwebhook
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: getwebhooks
      description: getwebhooks
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: helicone-webhooks.getwebhooks
      outputParameters:
      - type: object
        mapping: $.
    - name: deletewebhook
      description: deletewebhook
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: helicone-webhooks.deletewebhook
      with:
        webhookId: tools.webhookId
      outputParameters:
      - type: object
        mapping: $.
    - name: testwebhook
      description: testwebhook
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: helicone-webhooks.testwebhook
      with:
        webhookId: tools.webhookId
      outputParameters:
      - type: object
        mapping: $.