KaelioDocs

SQL reviews

Review, approve, and manage AI-generated SQL queries with filtering and keyboard navigation.

SQL Reviews lets you inspect every SQL query generated by the AI before or after execution. The page uses a split-pane layout with a filterable list on the left and a detailed inspector on the right.

Browsing reviews

The left pane shows a paginated list of SQL reviews (20 per page). Each entry displays a query snippet, status badge, complexity indicator, and associated connection. Click any review to open it in the inspector.

Filtering

Stack multiple filters to narrow down reviews.

FilterOptions
SearchFree-text search across query content
StatusPending, Approved, Rejected, Reviewed
ComplexityLow, Medium, High, Unknown
Sync StatusSynced, Disconnected
ConnectionFilter by data source
TableFilter by referenced table
TagFilter by assigned tags
Date RangeFrom and To date pickers
SortCreated date or Context injection count

Active filters appear visually, and the total count updates as you filter. Click Reset to clear all filters.

Keyboard navigation

Use the following shortcuts to navigate the review list.

KeyAction
Arrow Up / DownNavigate through the review list
EnterOpen selected review in the inspector
EscapeClose the inspector

Reviewing a query

The inspector panel shows the following details for a selected review:

  • Full SQL query with syntax highlighting
  • Status and complexity badges
  • Connection and table references
  • Context injection details showing what knowledge was used

Changing review status

Use the action buttons to change a review's status.

  • Approve — Mark the query as safe and correct
  • Reject — Flag the query as problematic
  • Mark as Reviewed — Acknowledge the query without approving or rejecting

You can click filter badges within the inspector (for example, connection name or complexity level) to quickly filter the list to similar reviews.

Deep linking

Each review has a unique URL. You can share a direct link to a specific review, and it opens with the inspector pre-loaded.

On this page