API version: unstable
API version: 2021-01 Release candidate
API version: 2020-10 Latest
API version: 2020-07
API version: 2020-04
API version: 2020-01
API version: 2019-10 Unsupported
API version: 2019-07 Unsupported

savedSearchCreate mutation

Version unstable

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 2021-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 2020-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 2020-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 2020-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.

Version 2020-01

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 (Unsupported)

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 (Unsupported)

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 (Unsupported)

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.