Skip to main content

Range time for the endpoint check-alerts

Hello, i am facing a case where i am creating a report with the total amount of failures of an alert by month, like the total showed on the webpage https://app.checklyhq.com/checks/{checkId}/?startTime=1698807600&endTime=1701399599

and its so frustrating this range of only 6 hours for each request, can you let me know or create a better way to do this or somehow change this range please?

3 comments

Log in to comment and vote

Comments3

  • Tim Nolet

    •

    Dec 14, 2023

    Hi @Leandro Ribeiro

    Great question. Are you using our API endpoint /check-results/ for this? If so, the limit is enforced because we can return a TON of data from there. It's mostly useful to get individual results.

    If you want to make a report I recommend our /analytics API endpoint. The limits are way less strict as you are querying mostly aggregated data.

    See

    You could get the availability of a check from there with a request similar to this: