Skip to content
Snippets Groups Projects
  • metamben's avatar
    8e89c578
    Rename metric to legacy-metric (#39232) · 8e89c578
    metamben authored
    * Rename :model/Metric to :model/LegacyMetric
    * Rename ::lib.schema.metadata/metric tp ::lib.schema.metadata/legacy-metric
    * Rename models.metric/Metric to models.metric/LegacyMetric
    * Move /api/metric endpoints to /api/legacy-metric
    Rename metric to legacy-metric (#39232)
    metamben authored
    * Rename :model/Metric to :model/LegacyMetric
    * Rename ::lib.schema.metadata/metric tp ::lib.schema.metadata/legacy-metric
    * Rename models.metric/Metric to models.metric/LegacyMetric
    * Move /api/metric endpoints to /api/legacy-metric
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
title: "Metabase API documentation"

Metabase API documentation

These reference files were generated from source comments by running:

clojure -M:ee:run api-documentation

About the Metabase API

  • The API is subject to change. We rarely change API endpoints, and almost never remove them, but if you write code that relies on the API, there's a chance you might have to update your code in the future.
  • The API isn't versioned. So don’t expect to stay on a particular version of Metabase in order to use a “stable” API.

API tutorial

Check out an introduction to the Metabase API.

API keys

Create keys to authenticate programmatic requests to your Metabase. See API keys.

API endpoints

* indicates endpoints used for features available on paid plans.