Get all pipeline schedules is only return 20 of the 62 schedules I have created

I have 62 schedules configured. When I run

curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/29/pipeline_schedules"

I am only getting 20 schedules returned. Is there a limit? How might I get all 62 returned?

I’ve also noticed that is I go to https://<my_gitlab_instance>/api/v4/projects/526/pipeline_schedules I only see the 20. On the schedule page itself though I see all 62.

Thank you.

Sounds like a pagination limit which requires you to fetch subsequent pages to receive more results.

dnsmichi you are once again a life saver. All I needed to do was add ?per_page=62 and I get all the schedules.

I am learning because of your help.

Thank you so very much!

1 Like