---
title: "Get Pending Reviews for Execution"
method: GET
path: "/api/review/execution/{graph_exec_id}"
tags: ["v2", "executions", "review", "v2", "executions", "review"]
---

# Get Pending Reviews for Execution

`GET /api/review/execution/{graph_exec_id}`

Get all pending reviews for a specific graph execution.

Retrieves all reviews with status "WAITING" for the specified graph execution
that belong to the authenticated user. Results are ordered by creation time
(oldest first) to preserve review order within the execution.

Args:
    graph_exec_id: ID of the graph execution to get reviews for
    user_id: Authenticated user ID from security dependency

Returns:
    List of pending review objects for the specified execution

Raises:
    HTTPException:
        - 404: If the graph execution doesn't exist or isn't owned by this user
        - 500: If authentication fails or database error occurs

Note:
    Only returns reviews owned by the authenticated user for security.
    Reviews with invalid status are excluded with warning logs.

## Path parameters

- `graph_exec_id` string, required

## Response `200`

List of pending reviews for the execution

- PendingHumanReviewModel[]
  - `node_exec_id` string, required — Node execution ID (primary key)
  - `node_id` string — Node definition ID (for grouping)
  - `user_id` string, required — User ID associated with the review
  - `graph_exec_id` string, required — Graph execution ID
  - `graph_id` string, required — Graph ID
  - `graph_version` integer, required — Graph version
  - `payload` union, required — The actual data payload awaiting review
    - object
    - unknown[]
      - unknown
    - string
    - integer
    - number
    - boolean
  - `instructions` string, nullable — Instructions or message for the reviewer
  - `editable` boolean, required — Whether the reviewer can edit the data
  - `status` 'WAITING' | 'APPROVED' | 'REJECTED', required
  - `review_message` string, nullable — Optional message from the reviewer
  - `was_edited` boolean, nullable — Whether the data was modified during review
  - `processed` boolean — Whether the review result has been processed by the execution engine
  - `created_at` string, date-time, required — When the review was created
  - `updated_at` string, date-time, nullable — When the review was last updated
  - `reviewed_at` string, date-time, nullable — When the review was completed

## Other responses

- `401` — Authentication required
- `404` — Graph execution not found
- `422` — Validation Error
- `500` — Server error

---

[API](https://skmtc.net/significant-gravitas/apis/autogpt-agent-server.md) · [All operations](https://skmtc.net/significant-gravitas/apis/autogpt-agent-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/significant-gravitas/autogpt-agent-server/versions/382041c7ecb2/schema)
