Aggregate a metric across views (scalar only).

For time-bucketed data, use GET /metrics/{metric}/timeseries instead. compare (previous_period | previous_week) adds the same scalar over the shifted window under a compare key (see _compare_block).

get/v1/metrics/{metric}

Request

  • Base URL
    https://api.shortkit.dev (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

metricstring required

Query parameters

measurementstring nullable
comparestring nullable

Response

Successful Response

unknown required

Changes