Cumulocity Events API

The Events API from Cumulocity — 2 operation(s) for events.

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /event/events List events recorded for devices · List Events #
Ask an LLM
“What events has a particular device reported recently?”
“Can I list events of one type between two dates?”
Tell an agent
List events from device {source} since {dateFrom}.
Show events of type {type} between {dateFrom} and {dateTo}.
POST /event/events Record a new event for a device · Create an Event #
Ask an LLM
“How do I log a custom event for a device in Cumulocity?”
“What do I need to send to record an event, such as time, type and text?”
Tell an agent
Create an event of type {type} on device {source} at {time} with text {text}.
Record a new {type} event for device {source}.
DELETE /event/events Delete events matching a filter · Delete Events by Filter #
Ask an LLM
“Can I bulk delete a set of events by filter?”
“Is there a way to clear out many events in one call?”
Tell an agent destructive · confirm first
Delete all events matching the filter.
Purge the event collection in one bulk delete.
GET /event/events/{id} Look up a single event by ID · Retrieve an Event #
Ask an LLM
“How do I read the details of one event by its ID?”
“What time and text did a particular event record?”
Tell an agent
Show me event {id}.
Get the type, source and text of event {id}.
PUT /event/events/{id} Change the text or details of an event · Update an Event #
Ask an LLM
“Can I edit the text of an event that was already recorded?”
“How do I correct the type or time of an existing event?”
Tell an agent
Change the text of event {id} to {text}.
Update event {id} to type {type} at time {time}.
DELETE /event/events/{id} Delete one event by ID · Delete an Event #
Ask an LLM
“How do I remove a single event that was logged by mistake?”
“Can I delete one specific event without touching the others?”
Tell an agent destructive · confirm first
Delete event {id}.
Remove the single event with ID {id}.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cumulocity:cumulocity-events-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cumulocity-events-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cumulocity Event Events API
  version: 10.20.0
  description: 'Create, query, and delete events emitted by devices and applications. Events capture discrete happenings

    (door opened, geofence crossed, image captured) with a type, time, text, source device, and arbitrary

    custom fragments. Binary attachments are supported via the events/{id}/binaries sub-resource.'
servers:
- url: https://{tenant}.cumulocity.com
  variables:
    tenant:
      default: example
security:
- basicAuth: []
- bearerAuth: []
tags:
- name: Events
paths:
  /event/events:
    get:
      tags:
      - Events
      summary: List Events
      operationId: listEvents
      parameters:
      - name: source
        in: query
        schema:
          type: string
      - name: type
        in: query
        schema:
          type: string
      - name: fragmentType
        in: query
        schema:
          type: string
      - name: dateFrom
        in: query
        schema:
          type: string
          format: date-time
      - name: dateTo
        in: query
        schema:
          type: string
          format: date-time
      - name: revert
        in: query
        schema:
          type: boolean
      responses:
        '200':
          description: A collection of events.
          content:
            application/vnd.com.nsn.cumulocity.eventCollection+json:
              schema:
                $ref: '#/components/schemas/EventCollection'
    post:
      tags:
      - Events
      summary: Create an Event
      operationId: createEvent
      requestBody:
        required: true
        content:
          application/vnd.com.nsn.cumulocity.event+json:
            schema:
              $ref: '#/components/schemas/Event'
      responses:
        '201':
          description: Event created.
          content:
            application/vnd.com.nsn.cumulocity.event+json:
              schema:
                $ref: '#/components/schemas/Event'
    delete:
      tags:
      - Events
      summary: Delete Events by Filter
      operationId: deleteEvents
      responses:
        '204':
          description: Events deleted.
  /event/events/{id}:
    parameters:
    - name: id
      in: path
      required: true
      schema:
        type: string
    get:
      tags:
      - Events
      summary: Retrieve an Event
      operationId: getEvent
      responses:
        '200':
          description: A single event.
          content:
            application/vnd.com.nsn.cumulocity.event+json:
              schema:
                $ref: '#/components/schemas/Event'
    put:
      tags:
      - Events
      summary: Update an Event
      operationId: updateEvent
      requestBody:
        required: true
        content:
          application/vnd.com.nsn.cumulocity.event+json:
            schema:
              $ref: '#/components/schemas/Event'
      responses:
        '200':
          description: Event updated.
    delete:
      tags:
      - Events
      summary: Delete an Event
      operationId: deleteEvent
      responses:
        '204':
          description: Event deleted.
components:
  schemas:
    EventCollection:
      type: object
      properties:
        self:
          type: string
          format: uri
        events:
          type: array
          items:
            $ref: '#/components/schemas/Event'
    Event:
      type: object
      required:
      - time
      - type
      - text
      - source
      properties:
        id:
          type: string
          readOnly: true
        self:
          type: string
          format: uri
          readOnly: true
        time:
          type: string
          format: date-time
        creationTime:
          type: string
          format: date-time
          readOnly: true
        type:
          type: string
        text:
          type: string
        source:
          type: object
          properties:
            id:
              type: string
            self:
              type: string
              format: uri
      additionalProperties: true
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT