CircleCI API v2 Trigger Pipeline git commit SHA parameter
One more vote for this idea. There can be scenarios that different commits from same branch are deployed to different environment and engineers need to use circleci pipelines to test these environments. For example, the newest commit of the branch is deployed to integration while the second newest commit is on pre-prod. With the current pipeline API, circleci will only fetch HEAD commit, therefore the code on environment pre-prod can no longer be validated with the help of pipeline API.