Developer resources

  • Release version: Yokohama
  • Updated January 30, 2025
  • 1 minute to read
  • Developers can use JavaScript or REST APIs to insert and retrieve time-series data from the MetricBase database and to run transforms on the data. The transformations enable you to visualize time-series data in a variety of ways.

    REST APIs

    For information about the MetricBase REST APIs that return time-series data from the MetricBase database, see MetricBase Time Series API.

    JavaScript APIs

    For information about the MetricBase JavaScript APIs that return time-series data from the MetricBase database, see:
    • Client — Execute transforms on the MetricBase database and receive the results.
    • Data — Return the object that contains the result of a transform.
    • DataBuilder — Create a series of data points for a metric.
    • Transformer — Manipulate time-series data to prepare the data for evaluation and analysis.
    • TransformPart — Specify details of the transform to be done.
    • TransformResult — Return the object that contains the result of the transformation.

    Transformations

    For more information about MetricBase time-series data transformations, see MetricBase transforms.

    Data Explorer

    Experiment and get familiar with the JavaScript APIs by using the MetricBase Data Explorer that comes with the MetricBase Demo.