---
title: "Get the review history for a workflow run"
method: GET
path: "/repos/{owner}/{repo}/actions/runs/{run_id}/approvals"
tags: ["actions"]
---

# Get the review history for a workflow run

`GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals`

Anyone with read access to the repository can use this endpoint.

OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.

## Path parameters

- `owner` string, required
- `repo` string, required
- `run_id` integer, required

## Response `200`

Response

- EnvironmentApprovals[]
  - `environments` object[], required — The list of environments that were approved or rejected
    - `id` integer — The id of the environment.
    - `node_id` string
    - `name` string — The name of the environment.
    - `url` string
    - `html_url` string
    - `created_at` string, date-time — The time that the environment was created, in ISO 8601 format.
    - `updated_at` string, date-time — The time that the environment was last updated, in ISO 8601 format.
  - `state` 'approved' | 'rejected' | 'pending', required — Whether deployment to the environment(s) was approved or rejected or pending (with comments)
  - `user` SimpleUser, required — A GitHub user.
    - `name` string, nullable
    - `email` string, nullable
    - `login` string, required
    - `id` integer, required
    - `node_id` string, required
    - `avatar_url` string, uri, required
    - `gravatar_id` string, nullable, required
    - `url` string, uri, required
    - `html_url` string, uri, required
    - `followers_url` string, uri, required
    - `following_url` string, required
    - `gists_url` string, required
    - `starred_url` string, required
    - `subscriptions_url` string, uri, required
    - `organizations_url` string, uri, required
    - `repos_url` string, uri, required
    - `events_url` string, required
    - `received_events_url` string, uri, required
    - `type` string, required
    - `site_admin` boolean, required
    - `starred_at` string
    - `user_view_type` string
  - `comment` string, required — The comment submitted with the deployment review

---

[API](https://skmtc.net/github/apis/api-github-com.md) · [All operations](https://skmtc.net/github/apis/api-github-com/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/api-github-com/revisions/a367f7028301/schema)
