Cumulocity Measurements API

The Measurements API from Cumulocity — 2 operation(s) for measurements.

Operations 5

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 /measurement/measurements List sensor measurements · List Measurements #
Ask an LLM
“What temperature readings did a device send yesterday?”
“Can I filter measurements by value fragment and series?”
Tell an agent
List measurements from device {source} between {dateFrom} and {dateTo}.
Show {valueFragmentType} measurements for series {valueFragmentSeries}.
POST /measurement/measurements Send a new measurement reading · Create a Measurement #
Ask an LLM
“How do I push a sensor reading into Cumulocity?”
“What fields are needed to record a measurement for a device?”
Tell an agent
Record a {type} measurement for device {source} at {time}.
Create measurement {measurements} on device {source} at {time} with type {type}.
DELETE /measurement/measurements Delete measurements matching a filter · Delete Measurements by Filter #
Ask an LLM
“Can I delete all measurements from a device for a date range?”
“Is there a bulk way to wipe old readings of one type?”
Tell an agent destructive · confirm first
Delete all measurements from device {source} before {dateTo}.
Delete {type} measurements recorded between {dateFrom} and {dateTo}.
GET /measurement/measurements/{id} Look up one measurement · Retrieve a Measurement #
Ask an LLM
“How do I read a single measurement by its ID?”
“What values did one specific reading contain?”
Tell an agent
Show me measurement {id}.
Get the values of measurement {id}.
DELETE /measurement/measurements/{id} Delete one measurement · Delete a Measurement #
Ask an LLM
“How do I remove one bad sensor reading?”
“Can I delete a single measurement without a filter?”
Tell an agent destructive · confirm first
Delete measurement {id}.
Remove the single measurement 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-measurements-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-measurements-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cumulocity Measurement Measurements API
  version: 10.20.0
  description: 'Ingest, query, and delete device measurements (telemetry data points) including temperature, voltage,

    location, and arbitrary custom fragments with units. Supports time-range queries, source/type filters,

    series aggregations (hourly/daily), and bulk creation.'
servers:
- url: https://{tenant}.cumulocity.com
  variables:
    tenant:
      default: example
security:
- basicAuth: []
- bearerAuth: []
tags:
- name: Measurements
paths:
  /measurement/measurements:
    get:
      tags:
      - Measurements
      summary: List Measurements
      operationId: listMeasurements
      parameters:
      - name: source
        in: query
        schema:
          type: string
      - name: type
        in: query
        schema:
          type: string
      - name: valueFragmentType
        in: query
        schema:
          type: string
      - name: valueFragmentSeries
        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
      - $ref: '#/components/parameters/PageSize'
      - $ref: '#/components/parameters/CurrentPage'
      responses:
        '200':
          description: A collection of measurements.
          content:
            application/vnd.com.nsn.cumulocity.measurementCollection+json:
              schema:
                $ref: '#/components/schemas/MeasurementCollection'
    post:
      tags:
      - Measurements
      summary: Create a Measurement
      operationId: createMeasurement
      requestBody:
        required: true
        content:
          application/vnd.com.nsn.cumulocity.measurement+json:
            schema:
              $ref: '#/components/schemas/Measurement'
          application/vnd.com.nsn.cumulocity.measurementCollection+json:
            schema:
              $ref: '#/components/schemas/MeasurementCollection'
      responses:
        '201':
          description: Measurement created.
          content:
            application/vnd.com.nsn.cumulocity.measurement+json:
              schema:
                $ref: '#/components/schemas/Measurement'
    delete:
      tags:
      - Measurements
      summary: Delete Measurements by Filter
      operationId: deleteMeasurements
      parameters:
      - name: source
        in: query
        schema:
          type: string
      - name: type
        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
      responses:
        '204':
          description: Measurements deleted.
  /measurement/measurements/{id}:
    parameters:
    - name: id
      in: path
      required: true
      schema:
        type: string
    get:
      tags:
      - Measurements
      summary: Retrieve a Measurement
      operationId: getMeasurement
      responses:
        '200':
          description: A single measurement.
          content:
            application/vnd.com.nsn.cumulocity.measurement+json:
              schema:
                $ref: '#/components/schemas/Measurement'
    delete:
      tags:
      - Measurements
      summary: Delete a Measurement
      operationId: deleteMeasurement
      responses:
        '204':
          description: Measurement deleted.
components:
  schemas:
    Measurement:
      type: object
      required:
      - time
      - type
      - source
      properties:
        id:
          type: string
          readOnly: true
        self:
          type: string
          format: uri
          readOnly: true
        time:
          type: string
          format: date-time
        type:
          type: string
        source:
          type: object
          properties:
            id:
              type: string
            self:
              type: string
              format: uri
      additionalProperties: true
    MeasurementCollection:
      type: object
      properties:
        self:
          type: string
          format: uri
        measurements:
          type: array
          items:
            $ref: '#/components/schemas/Measurement'
  parameters:
    PageSize:
      name: pageSize
      in: query
      schema:
        type: integer
        minimum: 1
        maximum: 2000
        default: 5
    CurrentPage:
      name: currentPage
      in: query
      schema:
        type: integer
        minimum: 1
        default: 1
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT