Cumulocity · Capability

Cumulocity Event API — Events

Create, query, update, and delete events emitted by Cumulocity devices and applications.

Cumulocity Event API — Events is a Naftiko capability published by Cumulocity, one of 31 capabilities the APIs.io network indexes for this provider. It bundles 2 operations.

The capability includes 1 read-only operation and 1 state-changing operation. Lead operation: List Cumulocity events filtered by source, type, and time range. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Cumulocity and Events.

Run with Naftiko CumulocityEvents

MCP Tools

cumulocity-list-events

List Cumulocity events filtered by source, type, and time range.

read-only idempotent
cumulocity-create-event

Create a Cumulocity event.

Capability Spec

event-events.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Cumulocity Event API — Events
  description: Create, query, update, and delete events emitted by Cumulocity devices and applications.
  tags: [Cumulocity, Events]
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    C8Y_BASE_URL: C8Y_BASE_URL
    C8Y_USER: C8Y_USER
    C8Y_PASSWORD: C8Y_PASSWORD
capability:
  consumes:
  - type: http
    namespace: event-events
    baseUri: '{{env.C8Y_BASE_URL}}'
    resources:
    - name: events
      path: /event/events
      operations:
      - name: listevents
        method: GET
        description: List Events
        inputParameters:
        - {name: source, in: query, type: string}
        - {name: type, in: query, type: string}
        - {name: dateFrom, in: query, type: string}
        - {name: dateTo, in: query, type: string}
        - {name: revert, in: query, type: boolean}
      - name: createevent
        method: POST
        description: Create An Event
        inputParameters:
        - {name: body, in: body, type: object, required: true}
    - name: event
      path: /event/events/{id}
      operations:
      - name: getevent
        method: GET
        description: Retrieve An Event
        inputParameters:
        - {name: id, in: path, type: string, required: true}
      - name: updateevent
        method: PUT
        description: Update An Event
        inputParameters:
        - {name: id, in: path, type: string, required: true}
        - {name: body, in: body, type: object, required: true}
      - name: deleteevent
        method: DELETE
        description: Delete An Event
        inputParameters:
        - {name: id, in: path, type: string, required: true}
    authentication:
      type: basic
      username: '{{env.C8Y_USER}}'
      password: '{{env.C8Y_PASSWORD}}'
  exposes:
  - type: mcp
    namespace: event-events-mcp
    port: 9090
    transport: http
    tools:
    - name: cumulocity-list-events
      description: List Cumulocity events filtered by source, type, and time range.
      hints: {readOnly: true, destructive: false, idempotent: true}
      call: event-events.listevents
      with: {source: tools.source, type: tools.type, dateFrom: tools.dateFrom, dateTo: tools.dateTo}
    - name: cumulocity-create-event
      description: Create a Cumulocity event.
      hints: {readOnly: false, destructive: false, idempotent: false}
      call: event-events.createevent
      with: {body: tools.body}