LabelRow Objects
video or img_group:
- A label row with a data asset of type video contains a single data unit.
- A label row with a data asset of type img_group contains any number of data units.
label_hash(uid) is the unique identifier of the label rowdataset_hash(uid) is the unique identifier of the dataset which contains the particular video or image groupdataset_titleis the title of the dataset which contains the particular video or image groupdata_titleis the title of the video or image groupdata_typeeithervideoorimg_groupdepending on data typedata_unitsa dictionary with (key: data hash, value: data unit) pairs.object_answersis a dictionary with (key: object hash, value: object answer) pairs.classification_answersis a dictionary with (key: classification hash, value: classification answer) pairs.object_actionsis a dictionary with (key:<object_hash>, value: object action) pairs.label_statusis a string indicating label status. It can take the values enumerated in LabelStatus. Note that this does not reflect the status shown in the Projects->Labels section on the web-app.
data_units above, has in the
form::
AnnotationTaskStatus Objects
- QUEUED: The task has been created and is waiting to be assigned.
- ASSIGNED: The task has been assigned to an annotator but work has not necessarily started yet.
- IN_REVIEW: The task has been completed by the annotator and is currently in review.
- RETURNED: The reviewer has returned the task to the annotator for changes.
- COMPLETED: The task has been completed and no further action is required.
ShadowDataState Objects
ALL_DATA
Fetch all the label rowsSHADOW_DATA
Only fetch the label rows that were submitted against “shadow data”: the annotator’s view of the benchmarkNOT_SHADOW_DATA
Only fetch the label rows for “production” dataLabelStatus Objects
MISSING_LABEL_STATUS
This value will be displayed if the Encord platform has a new label status and your SDK version does not understand it yet. Please update your SDK to the latest version.WorkflowGraphNode Objects
uuid- UUID of the workflow stage as a string.title- Human-readable title of the workflow stage.
LabelRowMetadata Objects
label_hash
Only present if the label row is initiatedcreated_at
Only present if the label row is initiatedlast_edited_at
Only present if the label row is initiatedbranch_name
Only present if the label row is initiated or branch_name is set specificallydata_hash
Only present if the label row is for a child element of a groupdata_link
Can beNone for label rows of image groups or DICOM series.
label_status
Can beNone for TMS2 projects
annotation_task_status
Only available for TMS2 projectis_shadow_data
Only available for the VIDEO and AUDIO data_typeduration
Only available for the VIDEO data_typewidth
Only available for the AUDIO data_typepriority
Only available for not complete tasksfile_type
Only available for certain read requeststo_dict
LabelValidationState Objects
label_hash- Identifier of the label row that was validated.branch_name- Name of the branch on which the label row resides.version- Version number of the label row that was validated.is_valid-Trueif the label row is considered valid, otherwiseFalse.errors- List of validation error messages, if any.
WorkflowGraphNodeDTO Objects
uuid- UUID of the workflow stage as a string.title- Human-readable title of the workflow stage.
LabelRowMetadataDTO Objects
label_hash
Only present if the label row is initiatedcreated_at
Only present if the label row is initiatedlast_edited_at
Only present if the label row is initiatedbranch_name
Only present if the label row is initiated or branch_name is set specificallydata_link
Can beNone for label rows of image groups or DICOM series.
label_status
Can beNone for TMS2 projects
annotation_task_status
Only available for TMS2 projectis_shadow_data
Only available for the VIDEO and AUDIO data_typeduration
Only available for the VIDEO data_typewidth
Only available for the AUDIO data_typepriority
Only available for not complete tasksfile_type
Only available for certain read requestslabel_row_metadata_dto_to_label_row_metadata
label_row_metadata_dto- Metadata DTO returned from the API.
LabelRowMetadata- Equivalent dataclass instance with the same fields populated.

