How to execute allShortestPaths in parallel?

  • neo4j version, desktop version, browser version: neo4j 5.7
  • what kind of API / driver do you use: HTTP API

there are 10 pairs of start and end node, I want to get the allShortestPaths with below query:

"MATCH (start:{Label}{{keyNo: $start}})  OPTIONAL MATCH (end:{Label}{{keyNo:$end}}),
                    p = allShortestPaths ((start)-[:INVEST*..10]-(end))
                    RETURN p LIMIT 15"

in HTTP API, execute it with 10 statements in one http request.

However, it's run in sequence, so the performance is not good, is here any way run 10 pairs in parallel with HTTP API driver?
I noticed apoc.cypher.parallel but I don't know how to write the statement.

is there any suggestion?