Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 2

Fetch multiple commits by SHA

I'm trying to work out how I can fetch multiple commit objects in a single request, given multiple SHAs. The REST API v3 only appears to support one per request, and I can't even work out (am I going crazy?!) how to fetch a commit object by SHA with the GraphQL API!

1 Reply
Copilot Lvl 2
Message 2 of 2

Re: Fetch multiple commits by SHA

You should be able to use the GraphQL feature called “aliases” to achieve this. It’s documented at

See an example at