I’m trying to retrieve all the incidents for certain days. I’m using what I think is the correct syntax from the docs:
curl -s --request GET "https://api.pagerduty.com/incidents?since=2025-06-29T00:00:00Z&until=2025-06-29T23:59:59Z&limit=100" \
--header 'Accept: application/json' \
--header 'Authorization: Token token=REDACT' \
--header 'Content-Type: application/json' -o /tmp/pdalerts_test.json
However, the results I get only show six results when I can see many more in the Pager Duty website.
Depending on the day, sometimes I get more, sometimes I get less, so I don’t believe that I’m hitting a paging limit?
Anyone have a hint?