Get merge-train first pipeline

How can I query the gitlab API if a given pipeline is the first/creator of a merge-train? Just getting the current position in the merge-train is not good enough.

sidenote: strange that there is no merge-train tag yet