StorageItemType Objects
- VIDEO: A video file.
- IMAGE: A single image.
- GROUP: A generic grouped item.
- IMAGE_GROUP: A group of images treated as a single item.
- IMAGE_SEQUENCE: An image sequence backed by a video or ordered frames.
- DICOM_FILE: A single DICOM file.
- DICOM_SERIES: A DICOM series composed of multiple DICOM files.
- AUDIO: An audio file.
- NIFTI:** A NIFTI volume.
- PLAIN_TEXT: A text file (for example TXT, HTML, JSON).
- PDF: A PDF document.
- SCENE: A scene. For example, a single point cloud data file or a composition of multiple assets like videos and point cloud data files.
StorageUserRole Objects
- USER: Standard user with access to the item.
- ADMIN: User with administrative privileges on the item.
StorageLocationName Objects
- ENCORD: Encord-managed storage.
- GCP: Google Cloud Storage.
- S3: Amazon S3.
- AZURE: Azure Blob Storage.
- OPEN_TELEKOM: Open Telekom Cloud (legacy alias, superseded by S3_COMPATIBLE).
- DIRECT_ACCESS: Direct-access storage.
- S3_COMPATIBLE: Generic S3-compatible storage backend.
OPEN_TELEKOM
TODO: Remove when enough people have updated their sdk to include S3_COMPATIBLE belowPathElement Objects
uuid- UUID of this path element (folder).parent_uuid- UUID of the parent path element, if any.name- Name of the folder.synced_dataset_hash- UUID of the dataset that is synced with this folder, if any.
StorageFolder Objects
uuid- UUID of the folder.parent- UUID of the parent folder, if any.name- Name of the folder.description- Optional description of the folder.client_metadata- Optional custom metadata associated with the folder.owner- Email or identifier of the folder owner.created_at- Timestamp when the folder was created.last_edited_at- Timestamp when the folder was last modified.user_role- Role of the current user in this folder.synced_dataset_hash- UUID of the dataset synced with this folder, if any.path_to_root- Path from this folder to the root, represented as a list of PathElement instances.
StorageItem Objects
uuid- UUID of the storage item.parent- UUID of the parent folder containing this item.item_type- Type of the storage item (video, image, group, etc.).name- Name of the item.description- Optional description of the item.client_metadata- Optional custom metadata associated with the item.owner- Email or identifier of the item owner.created_at- Timestamp when the item was created.last_edited_at- Timestamp when the item was last modified.is_tombstone- This item has been deleted but the link is retained for consistency reasons. Mostly for items in the ‘cloud linked folders’ that are referenced but aren’t present after a re-sync.is_placeholder- This item has been added to the folder but isn’t fully processed yet.backed_data_units_count- Number of data units backed by this storage item.storage_location- Storage backend where the item resides.integration_hash- UUID of the integration used for this item, if any.url- Raw URL of the storage object, if available.signed_url- Signed URL for temporary access to the storage object.file_size- Size of the file in bytes, if known.mime_type- MIME type of the file, if known.duration- Duration in seconds (for temporal media), if known.fps- Frame rate value (for video), if known.height- Height in pixels (for image/video), if known.width- Width in pixels (for image/video), if known.dicom_instance_uid- DICOM instance UID, if applicable.dicom_study_uid- DICOM study UID, if applicable.dicom_series_uid- DICOM series UID, if applicable.frame_count- Number of frames for multi-frame media, if known.audio_sample_rate- Sample rate of the audio track in Hz, if known.audio_bit_depth- Bit depth of the audio track, if known.audio_codec- Codec name of the audio track, if known.audio_num_channels- Number of audio channels, if known.
StorageItemInaccessible Objects
CloudSyncedFolderParams Objects
integration_uuid
UUID of the cloud storage integration to use. This UUID refers to a preconfigured integration in Encord that contains authentication credentials and settings for a cloud storage provider. The integration must be set up in the Encord platform before creating a cloud-synced folder.remote_url
URL or path to the cloud storage location to sync with. The format depends on the cloud storage provider:- Amazon S3: “s3://bucket-name/path/”
- Google Cloud Storage: “gs://bucket-name/path/”
- Azure Blob Storage: “https://account.blob.core.windows.net/container/path/”
- S3-compatible services: “https://endpoint/bucket-name/path/”
CreateStorageFolderPayload Objects
name- Name of the new folder.description- Optional description of the folder.parent- UUID of the parent folder under which to create this folder.client_metadata- Optional custom metadata associated with the folder.cloud_synced_folder_params- Optional configuration for creating a cloud-synced folder that is linked to an external storage location.
LayoutPayload Objects
layout- Layout specification. Can be a built-in layout identifier ("default-grid"or"default-list") or a custom layout dictionary.
DataGroupGrid Objects
layout_type- Fixed value"default-grid"identifying grid layout.layout_contents- Ordered list of item UUIDs to display in the grid.name- Optional name of the data group.
DataGroupList Objects
layout_type- Fixed value"default-list"identifying list layout.layout_contents- Ordered list of item UUIDs to display in the list.name- Optional name of the data group.
DataGroupCustom Objects
layout_type- Fixed value"custom"identifying custom layout.name- Optional name of the data group.layout_contents- Mapping from arbitrary keys to item UUIDs.layout- Arbitrary layout configuration structure.settings- Optional extra settings for the layout.
CreateDataGroupPayload Objects
item_type- Item type of the group. Must be"GROUP".params- Layout and configuration for the data group.
UploadSignedUrlsPayload Objects
item_type- Type of storage item that will be uploaded.count- Number of signed URLs to generate.frames_subfolder_name- Optional subfolder name to use for frame-based uploads.
UploadSignedUrl Objects
item_uuid- UUID of the placeholder storage item to be filled.object_key- Object key or path in the underlying storage backend.signed_url- Signed URL that can be used to upload the content.
StorageItemWithName Objects
item_uuid- UUID of the storage item.name- Display name of the item.
UploadLongPollingState Objects
status
Status of the upload job. Documented in detail in LongPollingStatus()items_with_names
Information about data which was added to the folder.errors
Stringified list of exceptions.units_pending_count
Number of upload job units that have pending status.units_done_count
Number of upload job units that have done status.units_error_count
Number of upload job units that have error status.units_cancelled_count
Number of upload job units that have been cancelled.unit_errors
Structured list of per-item upload errors. See DataUnitError for more details.file_name
Name of the JSON or CSV file that contained the list of URLs to ingest form the cloud bucket. Optional.CustomerProvidedImageMetadata Objects
mime_type
MIME type of the image file (e.g.image/jpeg or image/png).
file_size
Size of the image file in bytes.height
Height of the image in pixels.width
Width of the image in pixels.CustomerProvidedVideoMetadata Objects
fps
Frame rate of the video in frames per second.duration
Video duration in (float) seconds.width
Width of the video in pixels.height
Height of the video in pixels.file_size
Size of the video file in bytes.mime_type
MIME type of the video file (e.g.video/mp4 or video/webm).
CustomerProvidedAudioMetadata Objects
duration
Audio duration in (float) seconds.file_size
Size of the audio file in bytes.mime_type
MIME type of the audio file (for example:audio/mpeg or audio/wav).
sample_rate
Sample rate (int) in Hz.bit_depth
Size of each sample (int) in bits.codec
Codec (for example: mp3, pcm).num_channels
Number of channelsCustomerProvidedTextMetadata Objects
file_size
Size of the text file in bytes.mime_type
MIME type of the text file (for example:application/json or text/plain…).
CustomerProvidedPdfMetadata Objects
file_size
Size of the PDF file in bytes.num_pages
Number of pages in the PDF file.CustomerProvidedDicomSeriesDicomFileMetadata Objects
tags dictionary must contain all required DICOM tags as keys, though their corresponding values may be None.
Tags should be provided in the format returned by pydicom to_json_dict() method.
Required tags (using standard DICOM tag numbers):
- 00080018: SOPInstanceUID
- 00100020: PatientID
- 00180050: SliceThickness
- 00181114: EstimatedRadiographicMagnificationFactor
- 00181164: ImagerPixelSpacing
- 0020000D: StudyInstanceUID
- 0020000E: SeriesInstanceUID
- 00200013: InstanceNumber
- 00200032: ImagePositionPatient
- 00200037: ImageOrientationPatient
- 00209113: PlanePositionSequence
- 00209116: PlaneOrientationSequence
- 00280004: PhotometricInterpretation
- 00280008: NumberOfFrames
- 00280010: Rows
- 00280011: Columns
- 00280030: PixelSpacing
- 00281050: WindowCenter
- 00281051: WindowWidth
- 00289110: PixelMeasuresSequence
- 52009229: SharedFunctionalGroupsSequence
- 52009230: PerFrameFunctionalGroupsSequence
tags dictionary key will raise a validation error.
DataUploadImage Objects
object_url
“URL of the image file to be registered.title
Title of the image item (derived from the URL if omitted).client_metadata
Custom metadata to be associated with the image item.external_file_type
Type of the external file.image_metadata
Optional media metadata of the image file (if provided). See CustomerProvidedImageMetadata for more details.placeholder_item_uuid
For system use only.DataUploadVideo Objects
object_url
URL of the video file to be registered.title
Title of the video item (derived from the URL if omitted).client_metadata
Custom metadata to be associated with the video item.external_file_type
Type of the external file.video_metadata
Optional media metadata of the video file (if provided). See CustomerProvidedVideoMetadata for more details.placeholder_item_uuid
For system use only.DataUploadNifti Objects
object_url
URL of the NIFTI file to be registered.title
Title of the NIFTI item (derived from the URL if omitted).client_metadata
Custom metadata to be associated with the NIFTI item.external_file_type
Type of the external file.placeholder_item_uuid
For system use only.DataUploadImageGroupImage Objects
url
URL of the image file to be used as the frame in the image group.title
Title of the image item (derived from the URL if omitted).image_metadata
Optional media metadata of the image file (if provided). See CustomerProvidedImageMetadata for more details.placeholder_item_uuid
For system use only.DataUploadImageGroup Objects
images
List of images to be used as frames in the image group. See DataUploadImageGroupImage for more details.title
Title of the image group item (required if using cloud integration).client_metadata
Custom metadata to be associated with the image group item.create_video
If set toTrue, create an image sequence backed by a video file uploaded to the cloud storage.
external_file_type
Type of the external file.cluster_by_resolution
For system use only.DataUploadImageGroupFromItems Objects
image_items
List of image items to be used as frames in the image group.title
Title of the image group item (required if using cloud integration).client_metadata
Custom metadata to be associated with the image group.create_video
If set toTrue, create an image sequence backed by a video file uploaded to the cloud storage.
video_url_prefix
URL prefix for the video file to be created from the image group.external_file_type
Type of the external file.cluster_by_resolution
For system use only.DataUploadDicomSeriesDicomFile Objects
url
URL of the DICOM file to be registered with Encord service.title
Title of the DICOM file (derived from the URL if omitted).dicom_metadata
Optional media metadata of the DICOM file (if provided). See CustomerProvidedDicomSeriesDicomFileMetadata for more details.placeholder_item_uuid
For system use only.DataUploadDicomSeries Objects
dicom_files
List of DICOM files to be used in the series item. See DataUploadDicomSeriesDicomFile for more details.title
Title of the DICOM series item (required if using cloud integration).client_metadata
Custom metadata to be associated with the DICOM series item.external_file_type
Type of the external file.DataUploadText Objects
object_url- URL of the text (TXT, HTML, etc.) file to be registered.title- Title of the file (derived from the URL if omitted).client_metadata- Custom metadata to be associated with the file.external_file_type- Type of the external file, always"PLAIN_TEXT".text_metadata- Optional media metadata of the text file. See CustomerProvidedTextMetadata for more details.placeholder_item_uuid- For system use only.
DataUploadPDF Objects
object_url- URL of the PDF file to be registered.title- Title of the PDF file (derived from the URL if omitted).client_metadata- Custom metadata to be associated with the file.pdf_metadata- Optional media metadata of the PDF file. See CustomerProvidedPdfMetadata for more information.external_file_type- Type of the external file, always"PDF".placeholder_item_uuid- For system use only.
DataUploadAudio Objects
object_url- URL of the audio file to be registered.title- Title of the audio item (derived from the URL if omitted).client_metadata- Custom metadata to be associated with the audio item.audio_metadata- Optional media metadata of the audio file (if provided). See CustomerProvidedAudioMetadata for more details.external_file_type- Type of the external file, always"AUDIO".placeholder_item_uuid- For system use only.
DataUploadItems Objects
videos
List of video items to be registered. See DataUploadVideo for more details.image_groups
List of image group items to be registered. See DataUploadImageGroup for more details.dicom_series
List of DICOM series items to be registered. See DataUploadDicomSeries for more details.images
List of image items to be registered. See DataUploadImage for more details.image_groups_from_items
List of image group items to be created from previously uploaded images. See DataUploadImageGroupFromItems for more details.audio
List of audio items to be registered. See DataUploadAudio for more details.nifti
List of NIFTI items to be registered. See DataUploadNifti for more details.text
List of text items to be registered. See DataUploadText for more details.skip_duplicate_urls
If set toTrue, Encord service will skip items with URLs that already exist in the same folder.
Otherwise, duplicate items will be created.
upsert_metadata
If set toTrue, Encord service will update metadata of existing items with the same URL in the same folder.
This flag has no effect if skip_duplicate_urls is set to False.
DatasetDataLongPollingParams Objects
data_items- Structured items to be uploaded as part of the job.files- Optional mapping of filenames to file contents (for file-based imports such as JSON manifests).integration_id- UUID of the integration used to access external storage.ignore_errors- IfTrue, continue processing other items even if some fail.folder_uuid- UUID of the storage folder where data should be registered.file_name- Optional name of the manifest file associated with the job.
PostUploadJobParams Objects
data_items- Structured items to be uploaded as part of the job.external_files- Mapping of filenames to file contents for file-based imports.integration_hash- UUID of the integration used to access external storage.ignore_errors- IfTrue, continue processing other items even if some fail.file_name- Optional name of the manifest file associated with the job.
GetUploadJobParams Objects
timeout_seconds- Maximum number of seconds to wait before returning the current job status.
FoldersSortBy Objects
- NAME: Sort by name.
- CREATED_AT: Sort by creation time.
ListItemsParams Objects
search- Optional free-text search string to filter items.is_recursive- IfTrue, include items in nested subfolders.is_in_dataset- If set, filter items that are (or are not) linked to datasets.item_types- List of item types to include in the response.include_org_access- IfTrue, include items accessible via organisation-level access.order- Sort order for the results.desc- IfTrue, sort in descending order.page_token- Token for fetching the next page of results.page_size- Maximum number of items to return.sign_urls- IfTrue, include signed URLs for the items in the response.
ListFoldersParams Objects
search- Optional free-text search string to filter folders.is_recursive- IfTrue, include nested subfolders in the listing.dataset_synced- If set, filter folders that are (or are not) synced with a dataset.include_org_access- IfTrue, include folders accessible via organisation-level access.order- Field to sort folders by.desc- IfTrue, sort in descending order.page_token- Token for fetching the next page of results.page_size- Maximum number of folders to return (defaults to 100).
PatchItemPayload Objects
name- New name for the item, if updating.description- New description for the item, if updating.client_metadata- New custom metadata to merge or overwrite, depending on API semantics.
PatchFolderPayload Objects
name- New name for the folder, if updating.description- New description for the folder, if updating.client_metadata- New custom metadata to merge or overwrite, depending on API semantics.
PatchFoldersBulkPayload Objects
folder_patches- Mapping from folder UUID (as string) to patch payload to apply to that folder.
StorageFolderSummary Objects
files- Total number of files in the folder.folders- Total number of subfolders.videos- Number of video items.images- Number of image items.image_groups- Number of image group items.image_sequences- Number of image sequence items.dicom_files- Number of DICOM file items.dicom_series- Number of DICOM series items.niftis- Number of NIFTI items.audios- Number of audio items.pdfs- Number of PDF items.plain_texts- Number of plain text items.tombstones- Number of tombstone items.upload_jobs- Number of upload jobs associated with this folder.total_size- Approximate total size of all items in bytes.
ItemShortInfo Objects
uuid- UUID of the item.name- Name of the item.parent_uuid- UUID of the parent folder.parent_name- Name of the parent folder.item_type- Type of the item.
DatasetShortInfo Objects
dataset_hash- Identifier of the dataset.backing_folder_uuid- UUID of the backing folder for the dataset, if any.title- Title of the dataset.data_hashes- List of data unit identifiers linked to the dataset.data_units_created_at- Timestamp when the data units were created.
StorageItemSummary Objects
frame_in_groups
A number of group items (DICOM_SERIES, IMAGE_GROUP, IMAGE_SEQUENCE) that contain this itemaccessible_group_items
List of group items that contain this item (only those that the user has access to, so the length of this list can be less thanframe_in_groups)
used_in_datasets
A number of datasets that contain this item as aDataRow
accessible_datasets
List of datasets that contain this item as aDataRow (only those that the user has access to, so
the length of this list can be less than used_in_datasets)
DeleteItemsParams Objects
remove_unused_frames- IfTrue, also remove frames that are no longer used by any group items after deletion.
DeleteItemsPayload Objects
child_uuids- UUIDs of the child items to delete.remove_unused_frames- IfTrue, also remove frames that are no longer referenced after deletion.
DeleteItemsResponse Objects
removed_items_count- Number of storage items removed.removed_folders_count- Number of folders removed.
MoveItemsPayload Objects
item_uuids- UUIDs of the items to move.new_parent_uuid- UUID of the destination folder.allow_synced_dataset_move- IfTrue, allow moving items that are linked to synced datasets.
MoveFoldersPayload Objects
folder_uuids- UUIDs of the folders to move.new_parent_uuid- UUID of the destination folder, orNoneto move to root.
GetItemParams Objects
sign_url- IfTrue, include a signed URL for temporary access to the item in the response.
GetChildItemsParams Objects
sign_urls- IfTrue, include signed URLs for the items in the response.
GetItemsBulkPayload Objects
item_uuids- UUIDs of the items to fetch.sign_urls- IfTrue, include signed URLs for the items in the response.
PatchItemsBulkPayload Objects
item_patches- Mapping from item UUID (as string) to patch payload to apply to that item.
BundledPatchItemPayload Objects
item_patches- Mapping from item UUID (as string) to patch payload to apply to that item.
BundledPatchFolderPayload Objects
folder_patches- Mapping from folder UUID (as string) to patch payload to apply to that folder.
ReencodeVideoItemsRequest Objects
storage_items- UUIDs of the storage items (videos) to re-encode.process_title- Human-readable title for the re-encode job.force_full_reencoding- IfTrue, force re-encoding even if a compatible version already exists.
JobStatus Objects
- SUBMITTED: Job has been submitted and is waiting to start.
- DONE: Job has completed successfully.
- ERROR: Job has failed.
ReencodeVideoItemsResponse Objects
status- Current status of the re-encode job.result- Optional result payload, for example a list or dict with additional information about the re-encoded items.
StorageItemsMigratePayload Objects
urls_map- Optional mapping from source URLs to target URLs. If the value isNone, the item for that URL will be skipped.items_map- Optional mapping from item UUIDs to new URLs. If the value isNone, the item will be skipped.from_integration_hash- UUID of the source integration to migrate from.to_integration_hash- UUID of the target integration to migrate to.validate_access- IfTrue, validate that the SDK has access to the target integration before migrating.skip_missing- IfTrue, skip items that cannot be found instead of failing the entire migration.
AddDataToFolderJobCancelResponse Objects
SyncPrivateDataWithCloudSyncedFolderGetResultParams Objects
timeout_seconds- Maximum number of seconds to wait before returning the current synchronization status.
SyncPrivateDataWithCloudSyncedFolderStatus Objects
PENDING
The synchronization job is currently in progress. This status indicates that either:- The job is queued and waiting to be processed
- The job is actively processing bucket content
- The job is creating or updating items in the Encord storage folder
DONE
The synchronization job has successfully completed. This status indicates that all phases of the synchronization (bucket scanning, item creation/updating/tombstoning) have been completed without critical errors. Note that individual items may still have failed to process (check upload_jobs_units_error).ERROR
The synchronization job encountered a critical error. This status indicates that a severe error occurred during synchronization, such as:- Unable to access the cloud storage bucket
- Database transaction failures
- Other system-level errors

