Document $psql / $psql-cancel and SQL Console changes#11
Merged
andreyorst merged 6 commits intomainfrom Apr 29, 2026
Merged
Conversation
spicyfalafel
requested changes
Apr 28, 2026
spicyfalafel
approved these changes
Apr 29, 2026
The endpoint persists SQL text and identifying request metadata into multiple stores (logs, audit, scheduler history, pg_stat_activity). Make explicit that $psql is privileged-by-design — exposing it to non-admin roles broadens access to logs and audit, not just to data. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents the SQL Console v3 changes shipping in
edge(sansara PR #7487 / aidbox-ui PR #63):docs/api/rest-api/other/sql-endpoints.md— new sections for$psql(and the$notebook-psqlalias) and$psql-cancel. Documents the new response shape, all execution headers (X-Aidbox-Sql-Autocommit,-Timeout,-Read-Only,-Query-Id,-Async), the cancel flow, and the breaking change (old vector-of-debug-objects shape,execute=truequery param, and\n----\nseparator are gone).docs/overview/release-notes.md— April 2026 edge entry covering the new features and breaking changes.docs/overview/aidbox-ui/README.md— expanded the SQL Console blurb with per-tab settings, foreground / background execution, Tab-key indent, and prettyEXPLAIN.