Sentry API - statsPeriod query parameter doesn't work for me

Hi guys ! :wave:

I’m using the GET /api/0/projects/{organization_slug}/{project_slug}/issues/ endpoint to retrieve lists of issues. Regardless of whether I use ?statsPeriod=24h or ?statsPeriod=14d as a query parameter, I get back the same amount of issues.

This is my request : /api/0/projects/{org}/$project/issues/?environment=Production&statsPeriod=24h

I’m using the same syntax as the example code on this page https://docs.sentry.io/api/events/get-project-group-index/

Is this an error in the online docs or am I making a mistake?

Thanks :pray: