Get Metric
Changed onAggregate 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 URLhttps://api.shortkit.dev (the document declares no server; this is the origin it was published from)
- Authnone declared
Path parameters
metricstring required
Query parameters
measurementstring nullable
comparestring nullable
Response
Successful Response
unknown required
Changes
- info
added the new optional
queryrequest parametercompare
- info