Queries

Get a saved query

Returns a single saved query by id. Available to API keys with the read scope.

get/queries/{id}

Request

  • Base URL: https://saturnsql.com/api
  • URL: https://saturnsql.com/api/queries/{id}
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

idstring cuid required

Response

Saved query

idstring
namestring
sqlstring
connectionIdstring nullable
folderPathstring nullable

A single flat folder label (not a nested path); "A/B" is one folder named "A/B", not "A" containing "B". null = root.

isSharedboolean
descriptionstring nullable

Subtitle on the report page. Returned by GET /queries; nothing can set it yet, so always null.

userIdstring
createdAtstring date-time
updatedAtstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.