Cognite · Schema

Event

An event represents something that happened at a given time interval. Events could be related to multiple assets.

Industrial IoTManufacturingIndustrial DataDigital TwinAsset ManagementTime SeriesIndustrial AI

Properties

Name Type Description
id integer A server-generated ID for the object.
externalId string The external ID provided by the client.
dataSetId integer The ID of the dataset this event belongs to.
startTime integer The number of milliseconds since epoch (start of the event).
endTime integer The number of milliseconds since epoch (end of the event).
type string Type of the event, for example 'work_order' or 'alert'.
subtype string Subtype of the event, for example 'planned' or 'abnormal'.
description string Textual description of the event.
metadata object Custom, application specific metadata. String key -> String value.
assetIds array Asset IDs of equipment that this event relates to.
source string The source of this event.
createdTime integer The number of milliseconds since epoch.
lastUpdatedTime integer The number of milliseconds since epoch.
View JSON Schema on GitHub

JSON Schema

cognite-event-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api-docs.cognite.com/schemas/event",
  "title": "Event",
  "description": "An event represents something that happened at a given time interval. Events could be related to multiple assets.",
  "type": "object",
  "required": ["id", "createdTime", "lastUpdatedTime"],
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64",
      "description": "A server-generated ID for the object."
    },
    "externalId": {
      "type": "string",
      "maxLength": 255,
      "description": "The external ID provided by the client."
    },
    "dataSetId": {
      "type": "integer",
      "format": "int64",
      "description": "The ID of the dataset this event belongs to."
    },
    "startTime": {
      "type": "integer",
      "format": "int64",
      "description": "The number of milliseconds since epoch (start of the event)."
    },
    "endTime": {
      "type": "integer",
      "format": "int64",
      "description": "The number of milliseconds since epoch (end of the event)."
    },
    "type": {
      "type": "string",
      "maxLength": 64,
      "description": "Type of the event, for example 'work_order' or 'alert'."
    },
    "subtype": {
      "type": "string",
      "maxLength": 64,
      "description": "Subtype of the event, for example 'planned' or 'abnormal'."
    },
    "description": {
      "type": "string",
      "maxLength": 500,
      "description": "Textual description of the event."
    },
    "metadata": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Custom, application specific metadata. String key -> String value."
    },
    "assetIds": {
      "type": "array",
      "uniqueItems": true,
      "items": {
        "type": "integer",
        "format": "int64"
      },
      "description": "Asset IDs of equipment that this event relates to."
    },
    "source": {
      "type": "string",
      "maxLength": 128,
      "description": "The source of this event."
    },
    "createdTime": {
      "type": "integer",
      "format": "int64",
      "description": "The number of milliseconds since epoch."
    },
    "lastUpdatedTime": {
      "type": "integer",
      "format": "int64",
      "description": "The number of milliseconds since epoch."
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/cognite-event"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.