Skip to content

Search for saved searches

Request

Create a new SavedSearchSearch

The only use of a SavedSearchSearch as of now is to retrieve all the SavedSearch resources created by a User

Security
bearerToken
Bodyapplication/jsonrequired
fromintegerrequired

The item number to begin the result set from

Default:0
Example:0
pageSizeinteger, [ 0 .. 1000 ]required

The maximum number of items to return in the result set.

Default:100
Example:100
criterionanyrequired
sortsArray of objectsrequired

This search does not accept any sorts, but has the sorts parameter anyway to fit in with other searches. You must always provide an empty list for this parameter.

Example:
[]
curl -i -X POST \
  https://api-v2.dash.app/saved-search-searches \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "from": 0,
    "pageSize": 100,
    "criterion": {
      "type": "FIELD_EQUALS",
      "field": "CREATOR_ID",
      "value": "google-oauth2|110955770826801837334"
    },
    "sorts": []
  }'

Responses

Success

Bodyapplication/json
resultsArray of objectsrequired

The specified page of SavedSearch resources which match the search criterion

totalResultsintegerrequired

The total number of SavedSearch resources which match the search criterion

Example:15
Response
{ "results": [ {}, {}, {} ], "totalResults": 3 }