v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01302395850.8 KB
v2
executions
review
v2
executions
review

Get Pending Reviews

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.

get/api/review/pending

Query parameters

pageinteger

Page number (1-indexed)

Page number (1-indexed)

page_sizeinteger

Number of reviews per page

Number of reviews per page

Response

List of pending reviews

node_exec_idstring required

Node execution ID (primary key)

node_idstring

Node definition ID (for grouping)

user_idstring required

User ID associated with the review

graph_exec_idstring required

Graph execution ID

graph_idstring required

Graph ID

graph_versioninteger required

Graph version

instructionsstring nullable

Instructions or message for the reviewer

editableboolean required

Whether the reviewer can edit the data

status'WAITING' | 'APPROVED' | 'REJECTED' required
review_messagestring nullable

Optional message from the reviewer

was_editedboolean nullable

Whether the data was modified during review

processedboolean

Whether the review result has been processed by the execution engine

created_atstring date-time required

When the review was created

updated_atstring date-time nullable

When the review was last updated

reviewed_atstring date-time nullable

When the review was completed