Cognite · Example Payload

Cognite Timeseries Datapoints Example

Industrial IoTManufacturingIndustrial DataDigital TwinAsset ManagementTime SeriesIndustrial AI

Cognite Timeseries Datapoints Example is an example object payload from Cognite, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "https://api.cognitedata.com/{project}/timeseries/data/list",
    "headers": {
      "Authorization": "Bearer <access_token>",
      "Content-Type": "application/json"
    },
    "body": {
      "items": [
        {
          "externalId": "pump-unit-01.pressure",
          "start": 1706745600000,
          "end": 1706832000000,
          "limit": 1000,
          "aggregates": ["average", "min", "max", "count"],
          "granularity": "1m"
        }
      ]
    }
  },
  "response": {
    "status": 200,
    "body": {
      "items": [
        {
          "id": 9812345678901234,
          "externalId": "pump-unit-01.pressure",
          "isString": false,
          "datapoints": [
            {
              "timestamp": 1706745600000,
              "average": 14.72,
              "min": 14.65,
              "max": 14.81,
              "count": 60
            },
            {
              "timestamp": 1706745660000,
              "average": 14.85,
              "min": 14.78,
              "max": 14.93,
              "count": 60
            },
            {
              "timestamp": 1706745720000,
              "average": 14.91,
              "min": 14.82,
              "max": 15.03,
              "count": 60
            }
          ]
        }
      ]
    }
  }
}