BetterCloud · Capability

BetterCloud Platform API — Events

BetterCloud Platform API — Events. 1 operations. Lead operation: BetterCloud List Events. Self-contained Naftiko capability covering one Bettercloud business surface.

Run with Naftiko BettercloudEvents

What You Can Do

GET
Listevents — BetterCloud List Events
/v1/events

MCP Tools

bettercloud-list-events

BetterCloud List Events

read-only idempotent

Capability Spec

platform-events.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: BetterCloud Platform API — Events
  description: 'BetterCloud Platform API — Events. 1 operations. Lead operation: BetterCloud List Events. Self-contained Naftiko
    capability covering one Bettercloud business surface.'
  tags:
  - Bettercloud
  - Events
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BETTERCLOUD_API_KEY: BETTERCLOUD_API_KEY
capability:
  consumes:
  - type: http
    namespace: platform-events
    baseUri: https://api.bettercloud.com/v1
    description: BetterCloud Platform API — Events business capability. Self-contained, no shared references.
    resources:
    - name: events
      path: /events
      operations:
      - name: listevents
        method: GET
        description: BetterCloud List Events
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: Page number.
        - name: from
          in: query
          type: string
          description: Start date for event filter (ISO 8601).
        - name: to
          in: query
          type: string
          description: End date for event filter (ISO 8601).
        - name: type
          in: query
          type: string
          description: Filter by event type.
        - name: user_id
          in: query
          type: string
          description: Filter events for a specific user.
    authentication:
      type: apikey
      key: X-API-Key
      value: '{{env.BETTERCLOUD_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: platform-events-rest
    port: 8080
    description: REST adapter for BetterCloud Platform API — Events. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/events
      name: events
      description: REST surface for events.
      operations:
      - method: GET
        name: listevents
        description: BetterCloud List Events
        call: platform-events.listevents
        with:
          page: rest.page
          from: rest.from
          to: rest.to
          type: rest.type
          user_id: rest.user_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: platform-events-mcp
    port: 9090
    transport: http
    description: MCP adapter for BetterCloud Platform API — Events. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: bettercloud-list-events
      description: BetterCloud List Events
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-events.listevents
      with:
        page: tools.page
        from: tools.from
        to: tools.to
        type: tools.type
        user_id: tools.user_id
      outputParameters:
      - type: object
        mapping: $.