Skip to main content

List Saved Searches

Fetch a paginated list of saved searches, optionally filtered by type.

Parameters

ParameterTypeDefaultDescription
typeSavedSearchType-Filter by search type (CONTENT or ASSET)
cursorStringnullCursor for pagination
limitInt20Items per page

Example

Response:
Fetch a specific saved search by ID.

Parameters

ParameterTypeRequiredDescription
idID!YesSaved search ID
Run a saved search and get paginated results.

Parameters

ParameterTypeRequiredDescription
idID!YesSaved search ID
cursorStringNoCursor for pagination
limitIntNoItems per page (default: 20)

Example

Response:

Saved Search Fields

FieldTypeDescription
idID!Unique identifier
nameString!Search name
descriptionStringSearch description
typeSavedSearchType!CONTENT or ASSET

SavedSearchType Enum

ValueDescription
CONTENTSearch returns content items
ASSETSearch returns asset items
The executeSavedSearch query returns a union type. Use inline fragments (... on ContentList or ... on AssetList) to access the appropriate fields based on the saved search type.