Skip to content

The Common Menu Module

The Common Menu module provides access to asset-related metadata and linked timeseries through the Common Menu API.

This API queries the internal Ingenuity model database, and optionally data configured in a third party model (e.g. Cognite), if set in the driver

See also the Asset Model, which is a free-form API for browsing similar data.

  • Lists assets related to a given asset
  • Retrieves measurements and timeseries metadata
  • Retrieves events for an asset

Use get_common_menu() to create a client:

from eigeningenuity import get_common_menu, EigenServer
ei = EigenServer("https://demo.eigen.co/")
menu = get_common_menu(ei)
related = menu.getRelatedAssets("System_01")
measurements = menu.getMeasurements("System_01", source="all")
events = menu.getEvents("System_01", start="24 hours ago", end="now")

Most calls support:

  • json (default)
  • df (pandas DataFrame)
  • raw (full API response)
  • file (write JSON to disk)

For secured environments, configure Azure auth before creating the client. See Authentication.