Logo of FrontifyDeveloper portalArrow to the right
GraphQL reference
Input object type

AssetSearchInput

Arguments for searchAssets.

Input fields

How to sort the results.

limit: Int!

Maximum number of results to return.

filters: [AssetSearchFilterInput!] = null

Filter conditions to apply. All entries are combined with AND; provide the same key more than once to combine several conditions on it.

searchTerm: String = null

Free-text search term. When set, only the first 10,000 matching assets are reachable via pagination.

folderId: ID = null

Restrict the search to this folder.

isRecursive: Boolean! = true

Whether to also search subfolders — of folderId if set, otherwise of the library/workspace root. Defaults to true.

cursor: String = null

Pagination cursor from a previous page. filters and sortBy must be identical to the call that produced it — changing either between pages is not detected and yields undefined results.