curl --request POST \
--url 'https://api.flashcat.cloud/rum/data/query?app_key=' \
--header 'Content-Type: application/json' \
--data @- <<EOF
"{\n \"start_time\": 1742440860,\n \"end_time\": 1743088862,\n \"queries\": [\n {\n \"id\": \"errorCountGraph\",\n \"sql\": \"select count(*) as `cnt` from `errors` where `issue_id` = \\'M9qGLr7g9RAGbiHqPEDMCY\\' and `application_id` = \\'eWbr4xk3ZRnLabRa6unqwD\\' limit 200\",\n \"format\": \"time_series\",\n \"interval\": 86400,\n \"max_points\": 1226\n }\n ]\n}\n\n"
EOF