Filter Presets
Filter presets are saved groups of filter criteria that you can reuse across Data Curation.Create Filter Preset
Create a Filter Preset based on raw JSON.Update Filter Presets
All arguments are optional when updating a filter preset.
Delete Filter Presets
Delete Preset template
List Filter Presets
List all Filter Presets in Curate by name with their unique identifier.List Filters in Filter Preset
This code lists the filters that make up the filter preset into a JSON file format. Filters are of the following types:- Global filters: Global filters can apply to the data in any top-level Folder. Examples: Data type, Storage Location, Quality Metrics.
- Local filters: Local filters can apply ONLY to specific top-level Folders. Examples: Data title, File ID, Collection.
Add Filter Preset Contents to Collection
Adds all storage items that match the criteria specified by a filter preset to a Collection.This runs in the background. The items might not appear in the Collection when your script finishes, and large filter presets can take some time to complete.
Remove Filter Preset Contents from Collection
Removes all storage items that match the criteria specified by a filter preset from a Collection.This runs in the background. The items might not be removed from the Collection when your script finishes, and large filter presets can take some time to complete.
Collections
Collections are groups of data units you selected by filtering, sorting, inspecting, and analyzing the data units in Curate.List Collections
List all Collections in Curate by name with their unique identifier.Create Collection
Create a Collection with a meaningful name and description in a Folder.Add Storage Items to a Collection using UUIDs
Add storage items to a Collection using the UUID of the storage items.Add Storage Items to a Collection using Data Titles
Add storage items to a Collection using their Data Titles, without first looking up each storage item’s UUID. Encord resolves the titles to storage items server-side. Data Titles are not unique, so a title that matches more than one storage item is not added. Instead, it is returned inambiguous_titles so you can resolve it, for example by adding the correct item using its UUID. Titles that match no storage item are returned in unmatched_titles.
- Requires
encordSDK version 0.1.208 or later. - You can pass any number of titles. Large sets are split into batches automatically, and the returned counts cover the whole set.
- Duplicate titles are sent once.
- Pass a list, even for a single title (for example,
["image-0001.jpg"]). Passing a bare string raises aTypeError. - If any single title is too long to send, a
ValueErroris raised before anything is sent, and no items are added.
Remove Storage Items from a Collection using UUIDs
Remove storage items from a Collection using UUIDs.List all Storage Items in a Collection
Lists all storage items in a Collection.list_items() only returns storage items you have access to. To also include items you cannot access, use collection.list_items_include_inaccessible().
