I see How to write a GraphQL query to retrieve all the workflows/runs from github.
The first answer suggests using the REST API to get the global node id for the workflow in question, and then using that to query graphql. I'd rather not mix and match two API flavors and multiple requests to solve the problem.
The second answer suggests going through pull requests, and I don't have a pull request in this case, since I'm kicking off workflow runs via the API against a specific branch.
Ultimately, the problem I'm trying to solve is getting the workflow id that I just kicked off via the API, but github doesn't provide the workflow id in the response, and, as you can see from this stackoverflow post and answers, it involves writing a pretty hilarious algorithm. I think the question I'm asking could simplify the solution significantly if anyone knows how to use the github graphql API in this way, though maybe the reason I can't find this is because it doesn't exist. I observe that the Repository graphql object doesn't seem to have a workflow_runs field.