Search foldersAsk AIpost https://api.safetyculture.io/directory/v1/folders/searchBody ParamsThe parameters for SearchFoldersRequestquerystringOptional. The search value to query folders with when provided. When not provided, either all of the organisations folders or users folders will be returned in a paginated wayorder_byobjectFoldersOrderBy represents the sort order folders will be returned inFoldersOrderBy objectfiltersarray of objectsOptional. Filters to apply when getting folders. Used for only returning folders that match the filter setting. i.e. only returning meta_label 'location'. Maximum of 1000 filters allowed.filtersADD objectonly_assigned_foldersbooleanWhen true, SearchFolders will only return folders that are assigned to the user making the request. Defaults to falsetruefalseonly_leaf_nodesbooleanWhen true, SearchFolders will only search location folders. Defaults to false.truefalseinclude_members_countbooleanWhether to return the directly associated members count with the folders. Defaults to false.truefalseinclude_folders_countbooleanWhether to return the total number of folders discovered in the query. Defaults to falsetruefalseinclude_deleted_foldersbooleanWhether to return both deleted and non-deleted folders. Defaults to falsetruefalselimitint32The number of results to be returned. maximum 1500, default 500page_tokenstringThe offset used for pagination. The starting number for the next queryignore_folders_disabledbooleanOptional. When true, folders will still be returned when disabled for the organisationtruefalsedomainstringdomain represents the type/domain/hierarchy for the folder. This is used for getting folders of a certain domain, i.e. getting all template folders or site foldersResponses 200A successful response. defaultAn unexpected error response.Updated 5 months ago