Below is the gitLab api endpoint used to get pipeline details for the project (id: 1) https://gitlab.example.com/api/v4/projects/1/pipelines
Suppose in a gitLab group