Collection Objects
uuid
UUID- The collection UUID.
name
str- The collection name.
description
Optional[str]- The collection description, or None if not available.
created_at
Optional[datetime]- The timestamp when the collection was created, or None if not available.
last_edited_at
Optional[datetime]- The timestamp when the collection was last edited, or None if not available.
top_level_folder_uuid
UUID- the uuid of the top level folder that the collection is on
update_collection
nameOptional[str] - The new name for the collection.descriptionOptional[str] - The new description for the collection.
list_items
include_client_metadataOptional[bool] - Whether to include client metadata for each item.page_sizeOptional[int] - The number of items to fetch per page.
Iterator[StorageItem]- An iterator containing storage items in the collection.
list_items_include_inaccessible
include_client_metadataOptional[bool] - Whether to include client metadata for each item.page_sizeOptional[int] - The number of items to fetch per page.
add_items
storage_item_uuidsSequence[Union[UUID, str]] - The list of storage item UUIDs to be added. Either UUIDs or string representations of UUIDs are accepted.
CollectionBulkItemResponse- The response after adding items to the collection.
remove_items
storage_item_uuidsSequence[Union[UUID, str]] - The list of storage item UUIDs to be removed. Either UUIDs or string representations of UUIDs are accepted.
CollectionBulkItemResponse- The response after removing items from the collection.
add_items_by_title
ambiguous_titles for the caller to deal with.
Each request is synchronous and returns counts describing what happened, so a large
set can be verified rather than assumed. Titles are sent in successive batches, each
bounded both by count and by the total size of its titles, and the counts are summed,
so the returned totals describe the whole set however it was split. Long titles
therefore mean more, smaller requests rather than a failed one. Duplicate titles in
the input are sent once.
Notes:
Ambiguity is judged per request. A title is resolved against the whole folder,
not against the batch, so splitting an input across batches does not change
which titles are ambiguous.
Arguments:
data_titlesIterable[str] - Data Titles to add. Any length; batched internally.
CollectionDataTitleResponse- Summed counts of what matched, what was added, which titles were ambiguous, and which matched nothing.
TypeError- If a single string or bytes is passed instead of a collection of titles. Both are iterable, so they would otherwise be silently taken apart into characters and sent as titles.ValueError- If any single title is too long to fit in a request on its own. Raised before anything is sent, so no part of the input is added.
add_preset_items
filter_presetUnion[FilterPreset, UUID, str] - The filter preset or its UUID/ID used to filter items.
remove_preset_items
filter_presetUnion[FilterPreset, UUID, str] - The filter preset or its UUID/ID used to filter items.
ProjectCollection Objects
uuid
UUID- The collection UUID.
name
str- The collection name.
description
Optional[str]- The collection description, or None if not available.
created_at
Optional[datetime]- The timestamp when the collection was created, or None if not available.
last_edited_at
Optional[datetime]- The timestamp when the collection was last edited, or None if not available.
collection_type
ProjectCollectionType- The type of the collection.
project_hash
UUID- The project hash of the collection.
update_collection
nameOptional[str] - The new name for the collection.descriptionOptional[str] - The new description for the collection.
list_frames
page_sizeOptional[int] - The number of items to fetch per page.
list_annotations
page_sizeOptional[int] - The number of items to fetch per page.
add_items
itemsSequence[ProjectDataCollectionItemRequest | ProjectLabelCollectionItemRequest] - The list of data items to be added.
ProjectCollectionBulkItemResponse- The response after adding items to the collection.
remove_items
itemsSequence[ProjectDataCollectionItemRequest | ProjectLabelCollectionItemRequest] - The list of data items to be removed.
ProjectCollectionBulkItemResponse- The response after removing items from the collection.
add_preset_items
filter_presetUnion[FilterPreset, UUID, str] - The filter preset or its UUID/ID used to filter items.
remove_preset_items
filter_presetUnion[FilterPreset, UUID, str] - The filter preset or its UUID/ID used to filter items.

