---
title: "Get Pending Reviews"
method: GET
path: "/api/review/pending"
tags: ["v2", "executions", "review", "v2", "executions", "review"]
---

# Get Pending Reviews

`GET /api/review/pending`

Get all pending reviews for the current user.

Retrieves all reviews with status "WAITING" that belong to the authenticated user.
Results are ordered by creation time (newest first).

Args:
    user_id: Authenticated user ID from security dependency

Returns:
    List of pending review objects with status converted to typed literals

Raises:
    HTTPException: If authentication fails or database error occurs

Note:
    Reviews with invalid status values are logged as warnings but excluded
    from results rather than failing the entire request.

## Query parameters

- `page` integer — Page number (1-indexed)
- `page_size` integer — Number of reviews per page

## Response `200`

List of pending reviews

- 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
- `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)
