SavedQuery

List saved queries

This will list all saved queries for an org

  • Requires the action org:ListSavedQuery on the organization

Dashboard cards are not listed here, and total_queries does not count them: a card is a separate object from an ordinary saved query. Cards belong to the DashboardCard API and there is no parameter that includes them here.

get/api/v1/org/{orgUID}/savedquery/

Request

  • Base URL: https://api.prod.spyderbat.com
  • URL: https://api.prod.spyderbat.com/api/v1/org/{orgUID}/savedquery/
  • Auth: HTTP bearer

Path parameters

orgUIDstring required

Query parameters

has_notificationsboolean

Filter the results to only include saved queries with notification settings

name_containsstring
name_equalsstring
name_or_uid_containsstring
pageinteger

0-based page numbers of saved query results.

page_sizeinteger

The number of records to return for a single API call. Default 10. -1 means all.

query_containsstring
query_equalsstring
reversedboolean
schema_containsstring
schema_equalsstring
sort_bystring

Sort the results by a field. One of [last_used|name|description|create_time|query|schema]

uid_equalsstring

Response

OK

search_totalinteger

Total number of saved queries matching the search criteria

total_pagesinteger

Total number of pages of search results

total_queriesinteger

Total number of saved queries

Changes

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