savedSearchCreate mutation

Version 2020-01 (Release candidate)

Creates a saved search.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

input ( SavedSearchCreateInput! ) required

Specifies the input fields for a saved search.

SavedSearchCreateInput fields

name (String!) Required

A descriptive name of the saved search.

query (String!) Required

The query string of a saved search. This includes search terms and filters.

resourceType (SearchResultType!) Required

The type of resouce this saved search is searching in.

Return fields

savedSearch (SavedSearch)

The saved search that was created.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-10 (Latest)

Creates a saved search.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

input ( SavedSearchCreateInput! ) required

Specifies the input fields for a saved search.

SavedSearchCreateInput fields

name (String!) Required

A descriptive name of the saved search.

query (String!) Required

The query string of a saved search. This includes search terms and filters.

resourceType (SearchResultType!) Required

The type of resouce this saved search is searching in.

Return fields

savedSearch (SavedSearch)

The saved search that was created.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-07

Creates a saved search.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

input ( SavedSearchCreateInput! ) required

Specifies the input fields for a saved search.

SavedSearchCreateInput fields

name (String!) Required

A descriptive name of the saved search.

query (String!) Required

The query string of a saved search. This includes search terms and filters.

resourceType (SearchResultType!) Required

The type of resouce this saved search is searching in.

Return fields

savedSearch (SavedSearch)

The saved search that was created.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-04

Creates a saved search.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

input ( SavedSearchCreateInput! ) required

Specifies the input fields for a saved search.

SavedSearchCreateInput fields

name (String!) Required

A descriptive name of the saved search.

query (String!) Required

The query string of a saved search. This includes search terms and filters.

resourceType (SearchResultType!) Required

The type of resouce this saved search is searching in.

Return fields

savedSearch (SavedSearch)

The saved search that was created.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Sign up for a Partner account to get started.

Sign up