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 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3NfdXVpZCI6IjdjMGM4YmQyLTExOTYtNDlmYS04YzY0LWE0NDE2ODQ4NTUzYSIsImF1dGhvcml6ZWQiOnRydWUsImV4cCI6MTc0OTg4ODQ4MCwidXNlcl9pZGVudGl0eSI6IjEtcm9vdCJ9._S1Isb29viOhHyVrjbwIUjPZnNQXewmb4zftVeqbFpA' \
--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
}'