Queries
Save a query
Saves a query for reuse, optionally filed into a folder with folderPath (null = root). Available to API keys with the write scope. Sharing a query company-wide is plan-gated and done in the web app.
The fields below are the whole create surface: description and chart are ignored if sent. The saved query is immediately readable at /app/report/{id}, where the result shape decides the chart.
post/queries
Request
- Base URL: https://saturnsql.com/api
- URL: https://saturnsql.com/api/queries
- Auth: one of:
- HTTP bearer
- HTTP bearer
Request body
Response
Saved
Changes
No recorded changes to this operation across all 1 revision of this API.