OpenAPI 3.1.0raw.githubusercontent.com2026-08-13319435910.9 KB

ad967de8dccc

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

expert_idstring nullable

Expert attributed to the requesting run

expert_namestring nullable
expert_avatar_urlstring nullable
agent_namestring nullable

Display name of the agent that requested the review

library_agent_idstring nullable

For run deep links

session_idstring nullable

Chat session id for copilot run_block reviews

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