Documentation · API reference
GET/api/v1/definitions

What every figure means

What every figure means: the one definition of each metric, the reasons a hit is left out, the channel rules, and what the script sends.

The answer

Status 200

Definitions Everything tidekeeper's figures mean, in one place (ME-11): the same text the UI, the CLI and the emails show.

caveats
list of CaveatViewneeded
channels
list of ChannelRuleneeded
dimensions
list of stringneeded
fields
list of FieldDefneededWhat the script sends: the whole list (SC-16).
metrics
list of MetricDefneeded
reasons
list of ReasonDefneeded

Asking

With your token from Settings
curl https://tidekeeper.eu/api/v1/definitions \
    -H "Authorization: Bearer $TIDEKEEPER_TOKEN"
With your token from Settings
const answer = await fetch("https://tidekeeper.eu/api/v1/definitions", {
  headers: {
    Authorization: `Bearer ${process.env.TIDEKEEPER_TOKEN}`,
  },
}).then((r) => r.json());