List Saved Searches
Fetch a paginated list of saved searches, optionally filtered by type.
Parameters
| Parameter | Type | Default | Description |
|---|
type | SavedSearchType | - | Filter by search type (CONTENT or ASSET) |
cursor | String | null | Cursor for pagination |
limit | Int | 20 | Items per page |
Example
Response:
Get Single Saved Search
Fetch a specific saved search by ID.
Parameters
| Parameter | Type | Required | Description |
|---|
id | ID! | Yes | Saved search ID |
Execute Saved Search
Run a saved search and get paginated results.
Parameters
| Parameter | Type | Required | Description |
|---|
id | ID! | Yes | Saved search ID |
cursor | String | No | Cursor for pagination |
limit | Int | No | Items per page (default: 20) |
Example
Response:
Saved Search Fields
| Field | Type | Description |
|---|
id | ID! | Unique identifier |
name | String! | Search name |
description | String | Search description |
type | SavedSearchType! | CONTENT or ASSET |
SavedSearchType Enum
| Value | Description |
|---|
CONTENT | Search returns content items |
ASSET | Search 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.