How do I find out approval status of a Pull request?

How do I find approval status of a pull request?

For example, is an approved PR but I don’t see any field in GitHub API indicating that.

The simple version is that you need to look at the list of pull request reviews for the given pull request. If any one of them has the status of APPROVED, then the pull request is approved. This doesn’t necessarily mean that the pull request is mergeable because there may be branch protection settings that need to be validated, only that it has been approved by someone.

I hope that helps! Let us know if you have more questions.