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!
Beta

Maximum number of results to return.

filters: [AssetSearchFilterInput!] = null
Beta

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
Beta

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

folderId: ID = null
Beta

Restrict the search to this folder.

isRecursive: Boolean! = true
Beta

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

cursor: String = null
Beta

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.