Gitlab API per_page doesn't work properly for events endpoint

Hi, I'm using Gitalb API to get opened and reopened closed events.

Endpoint: https://gitlab.com/api/v4/projects/13083/events?action=closed&target_type=issue&per_page=100&private_token=XXX&page=3

As you can see per_page query variable set to 100, but it doesn't return 100 items. Sometimes returns 99, or 98, or 96 ....

But If you try to change the page query parameter then you will notice that there are lots of events.

I noticed this issue only with this endpoint.

So now I'm using per_page=35 because only that works correctly.

Edited Jul 02, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading