curl --location --request POST 'https://api.flashcat.cloud/api/v1/northstar/metric/history/ui' \
--header 'Authorization: hmac username=xxxx,method=hmac-sha1,nonce=xxx,signature=xxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"start": 1712628041,
"end": 1712629841,
"metric": "northstar_23f9739d74",
"aggregate": "sum",
"offset": [
0,
86400,
604800
],
"time_range": "auto",
"downsample": "sum_over_time",
"instant": false
}'
{
"data": [
{
"start": 1,
"end": 2,
"metric": "uniq_key",
"offset": 0,
"tags": {
"host": "flashcat.com"
},
"values": [
{
"timestamp": 1,
"value": 2
},
{
"timestamp": 1,
"value": 2
}
]
}
]
}