https://archive.softwareheritage.org/api/1/graph/leaves/swh:1:cnt:bd547fbff041f6475474c11a04c516a95be362d3/?direction=backward&resolve_origins=true&max_matching_nodes=1
https://archive.softwareheritage.org/api/1/graph/leaves/swh:1:cnt:bd547fbff041f6475474c11a04c516a95be362d3/?direction=backward&resolve_origins=true&max_matching_nodes=1
should be investigated.
When querying the graph directly (ie. not via swh-web), these requests work but take a really long time.