v2
executions
review
v2
executions
review

Get Pending Reviews for Chat Session

Changed on

Get the reviews an AutoPilot chat is waiting on, oldest first.

Only the caller's own reviews are returned, so another user's chat session id yields an empty list.

get/api/review/session/{chat_session_id}

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Path parameters

chat_session_idstring required

Response

List of pending reviews for the chat session

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 nullable

Graph execution ID; None for a chat review

graph_idstring nullable

Graph ID

graph_versioninteger nullable

Graph version

session_idstring nullable

Chat session ID; None for a graph review

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

block_idstring nullable

The block awaiting approval, when a block asked

actionstring nullable

What that block does, e.g. 'Send Discord Message'

library_agent_idstring nullable

For run deep links

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

Changes