Skip to main content

Review page

The Review page is where reviewers work through the human review queues an admin assigned to them. Each queue holds eval results, sampled production responses or shadowed requests, and you label each item pass or fail, optionally with a score and a comment. Admins create queues, add items and read the results on the Review tab of the Evals page. Open this page at /ui/review. It sits in the left nav in the Developer Tools group as Review, right after Evals.

The nav shows Review to proxy admins and internal users. Proxy admin viewers, internal viewers, org admins and other roles do not see it. When an admin limits the pages internal users can see (the enabled_ui_pages_internal_users UI setting), internal users only see it if it is on that list. The page has no role guard of its own. The gateway lets only signed in internal users and proxy admins review, and only on queues that list them as a reviewer. A proxy admin viewer gets an empty list of queues. Internal viewers, org admins and other roles are refused by the gateway, and the page shows its message in a red alert.

The page needs the Evals and red teaming license feature. Without it the page shows "Human review needs a Spanway Enterprise license" and names that feature, with a Get a trial license link. When the license is an enterprise license that lacks the feature, the notice asks you to contact sales@spanway.ai to add it. A short loading state shows while the license is checked. The gateway's review routes require the same license feature.

A real-world scenario​

Alice is a senior support agent named as a reviewer on the support answers queue. She has twenty minutes between calls, so she opens the Review page, labels items with the keyboard, skips one she is unsure about so a colleague takes it, and stops when the badge shows nothing left.

Steps​

  1. Open Review under Developer Tools in the left nav, or go to /ui/review. The queues assigned to you list how many items are left.

  2. Click Open on a queue, then Start reviewing. The page claims the next item for 30 minutes. With the API:

    curl -X POST http://localhost:4000/eval/review/queues/$QUEUE_ID/next -H "Authorization: Bearer $SPANWAY_API_KEY"
  3. Read the input and the response, optionally type a score and a comment, and press Pass (p) or Fail (f). Skip (s) hands the item back. The label call is:

    curl -X POST http://localhost:4000/eval/review/items/$REVIEW_ITEM_ID/label \
    -H "Authorization: Bearer $SPANWAY_API_KEY" -H "Content-Type: application/json" \
    -d '{"passed": true, "comment": "Correct and polite"}'
  4. Repeat until the view reads "Nothing left for you in this queue."

Expected result​

Each label is saved as soon as you press a button and the next item loads. The queue's N left for you badge goes down, and the admin sees the labels on the queue in Evals.

Your queues​

The page opens with a short explanation. Items an admin gave to you personally come first. Each item is yours for 30 minutes once you open it. Label it pass or fail, or skip it to hand it to another reviewer.

Each assigned queue is a card.

ControlTypeWhat it does
Queue nameCard titleThe name the admin gave the queue.
N left for youBadgeHow many items in the queue still need a label from you, not counting items an admin gave to another reviewer.
Blind reviewBadgeShown when the admin turned on blind review for the queue. You will not see the expected answer, and your items come in an order of their own.
OpenButtonOpens the queue. Disabled when nothing is left for you.

Reviewing a queue​

The queue view shows the queue name and a Back to queues button, which returns to the list. Until you start, the only control is Start reviewing. It claims the next item for you for 30 minutes, or returns the item you already hold. When nothing is left the view reads "Nothing left for you in this queue.".

An item shows, in order, the queue's instructions for reviewers (when the admin set them), the Input (plain text or a conversation transcript with tool calls), the Response to judge ("(no text response)" when there is none), the Expected answer when the item has one, and the Context passages when the item has them. You never see the judge's verdict or other reviewers' labels. On a blind review queue a note above the item reads "Blind review: the expected answer is hidden so it does not sway you. Judge on the response alone." and the Expected answer is not shown.

ControlTypeWhat it does
Score from 0 to 1 (optional)Text fieldA score between 0 and 1. Shown only when the queue asks for a score. Leave it empty to give pass or fail only.
Comment (optional)Text areaA note kept with your label.
Pass (p)ButtonSaves a pass label with the score and comment, then loads the next item.
Fail (f)ButtonSaves a fail label with the score and comment, then loads the next item.
Skip (s)ButtonHands the item back so another reviewer can take it, then loads the next item. No label is saved.

The keys P, F and S do the same as the three buttons, except while you are typing in the score or comment field. All three buttons are disabled while a request is in flight. A score outside 0 to 1 shows "A score is a number from 0 to 1" and nothing is saved. The score and comment fields are cleared for each new item.

A label is saved as soon as you press Pass or Fail. The page has no control to change or remove your own label afterwards. An admin can delete the whole item, labels included, from the Evals page.

Empty, error and disabled states​

While queues load the page reads "Loading your queues...". When no queue lists you as a reviewer it reads "No review queue is assigned to you.". This is also what a proxy admin viewer or another role the gateway does not accept as a reviewer sees.

A failure to load the list shows the gateway's error in a red alert above the list. Inside a queue, a failure to claim, label or skip an item shows the gateway's error in a red alert under the buttons, and the item stays on screen so you can try again. If your 30 minute claim ran out, another reviewer may have taken the item, so go back to the queue list and open the queue again.

Open is disabled on a queue with nothing left for you. The review buttons are disabled while a request is running.

If the license state cannot be read, the UI hides the screen and shows "Human review is hidden until the license can be checked", with a hint to reload or to ask a proxy admin to check that GET /health/license answers.

Differences by role and license​

WhoWhat they get
Internal user listed as a reviewerThe queues that list them, and can label, score, comment and skip
Proxy admin listed as a reviewerThe same as an internal user. Proxy admins also manage queues on the Evals page.
Proxy admin viewerNo nav entry, and the gateway does not accept them as a reviewer. Opening /ui/review directly shows an empty list.
Internal viewer, org admin, other rolesNo nav entry. Opening /ui/review directly shows a red alert that starts with Only proxy admin can be used to generate, delete, update info and names the route, because the gateway refuses them.

Admins can only add internal users and proxy admins as reviewers, and removing a reviewer from a queue takes away their access at once. The whole page needs the Evals and red teaming license feature, both in the UI and on the gateway.

Errors​

What you seeWhat it meansFix
"Human review needs a Spanway Enterprise license"The license lacks Evals and red teaming.Add the feature to the license.
"No review queue is assigned to you."No queue names you, or your role cannot review. Admin viewers and internal viewers never review.Ask an admin to add you to a queue.
"A score is a number from 0 to 1"The score field holds a value outside 0 to 1.Fix the score or leave it empty.
claim the item with POST /eval/review/queues/{queue_id}/next before labelling itYour 30 minute claim ran out and another reviewer may hold the item, or an admin took the item back.Go back to the queue list and open the queue again.
you are not a reviewer of queue <queue_id>You were removed from the queue.Ask the queue admin.
A red alert starting Only proxy admin can be used to generate, delete, update infoYour role may not review, for example an internal viewer or an org admin.Ask an admin for an internal user role and a place on a queue.

An error shown above an item is cleared when the next item loads, including after Skip (s).

Logs​

Labelling, skipping and claiming write no gateway log lines and no audit rows, because they are reviewers' work. See review queue logs for the retention cleanup line.