Organizing and finding queries

As the number of saved queries grows, the queries list gives you a few independent ways to narrow it down.

Type into the search box to filter the list to queries whose name, description, or SQL text matches — the same search this site’s Queries API resource exposes as ?q=, just wired to a text box here instead of a query string.

Ownership scope

Three buttons split the list by ownership: All queries, By me (queries you created), and Shared with me (queries someone else shared access to). This narrows the list on top of whatever you’re searching for, not instead of it.

Draft / Published

A second filter narrows the list to just draft queries (edited since last published, or never published) or just published ones — useful for finding work in progress versus what’s actually live. See Versions, drafts, and publishing for what draft and published mean.

Archiving

Archiving a query hides it from the default list view without deleting it — useful for a query you don’t want cluttering the list anymore but aren’t ready to permanently delete. Toggle “Show archived” to bring archived queries back into view, and unarchive one from there if you need it again.

[!NOTE] Archiving doesn’t revoke access or remove the query from dashboards it’s already on — it only affects whether it shows up in the default queries list.

Where to go next

  • The SQL editor — where a query lives once you’ve found it.
  • Exporting results — getting a query’s data out once you’re looking at the right one.