Skip to main content

Overview

The GraphQL IDE lets you save queries to your browser for quick access later. Saved queries persist across browser sessions and appear in the sidebar’s Saved tab, giving you a personal library of go-to queries without needing external tools.

Saving a Query

1

Write or load a query

Enter a query in the editor, or load one from the templates.
2

Click Save Query

Click the Save Query button in the toolbar. A dialog appears with two fields:
  • Title (required) — A descriptive name for the query
  • Tags (optional) — Comma-separated labels for organization (e.g. solana, dex, monitoring)
3

Confirm

Click Save. The query is stored locally and immediately appears in the sidebar Saved tab.
Use descriptive titles that include the chain and Cube name, e.g. “Solana — Latest Raydium Trades” or “ETH — USDC Top Holders”. This makes queries easy to find as your collection grows.

Loading a Saved Query

  1. Open the sidebar (Ctrl/Cmd+B)
  2. Switch to the Saved tab
  3. Click on any saved query to load it into the editor
The query text, variables, and headers are all restored to the state when the query was saved.

Deleting a Saved Query

To delete a saved query:
  1. Open the sidebar and switch to the Saved tab
  2. Hover over the query you want to remove — a delete icon appears
  3. Click the delete icon to remove the query
Deletion is permanent. There is no undo — once deleted, the query cannot be recovered.

Storage Details

PropertyDetail
Storage mechanismBrowser localStorage
PersistenceSurvives page refreshes and browser restarts
ScopePer-browser, per-origin (same domain)
SyncNot synced across devices or browsers
ClearingClearing browser data or localStorage removes all saved queries
Saved queries are stored entirely in your browser’s localStorage. They are not sent to any server and are not accessible from other devices. If you need to share a query, use the Code Export feature to generate a portable snippet.

Organizing with Tags

Tags help you categorize and filter saved queries as your collection grows. Some recommended tagging strategies:
Use chain-specific tags like solana, ethereum, bsc to quickly filter queries for a particular network.
Tag queries with the Cube name: dextrades, transfers, ohlc, holders, etc.
Functional tags like monitoring, analysis, debug, dashboard indicate the query’s purpose.
Tag with specific project names or token symbols: usdc, bonk, raydium, uniswap.
There’s no limit on the number of tags per query. Combine multiple tagging dimensions — e.g. solana, dextrades, raydium, monitoring — for maximum searchability.

Best Practices

  • Save iteratively — Save working versions of queries as you refine them. Use versioned titles like “OHLC v1”, “OHLC v2” if needed.
  • Clean up regularly — Delete queries you no longer use to keep the sidebar manageable.
  • Export before clearing — If you plan to clear browser data, export important queries as code snippets first via Code Export.
  • One query per concern — Avoid saving monolithic queries that do too much. Smaller, focused queries are easier to reuse and compose.