Permission Requirements
Saved searches inherit permissions fromcontent and assets. Users need read permissions on either resource type to view and execute searches, and update permissions to create or modify searches.
The SavedSearch Object
Unique identifier (UUID)
Display name of the saved search
Optional description
Search type:
content or asset. Determines what resources this search queries.Parent folder ID (null for root). If set, the folder’s type must match this search’s type.
Search filter criteria using standard filter operators
Sort criteria array
User IDs who have favorited this search
Additional metadata including
lastUsed timestamp and useCountCreation timestamp (ISO 8601 format)
Last update timestamp (ISO 8601 format)
Example Object
Relationship with Direct Search
Saved searches use the same filter structure as the direct search capabilities in the Content and Assets endpoints. The key differences are that saved searches:- Store the search criteria for reuse
- Can be shared across users within a project
- Track usage statistics
- Allow favoriting for quick access
Filter Operators
Saved searches support all standard filter operators:| Operator | Description | Example |
|---|---|---|
eq | Equals | { "status": { "eq": "draft" } } |
neq | Not equals | { "status": { "neq": "deleted" } } |
in | In array | { "type": { "in": ["article", "page"] } } |
contains | String contains | { "name": { "contains": "intro" } } |
gte | Greater than or equal | { "createdAt": { "gte": "2024-01-01" } } |
lte | Less than or equal | { "createdAt": { "lte": "2024-12-31" } } |
Sort Options
Sort criteria specify how results are ordered:- Content:
name,createdAt,updatedAt,status - Asset:
name,createdAt,updatedAt,type,size
