Project Objects
encord.project.Project class instead.
A project defines a label ontology and is a collection of datasets and label rows.
ORM:
- title,
- description,
- editor_ontology,
- ontology_hash,
- datasets::
- label_rows::
- annotation_task_status
get_labels_list
label_hash is found,
a None value is appended. This can be useful for working with fetching additional label row data via
get_label_rows() for example.
workflow_manager_uuid
WrongProjectTypeError if the project is not a workflow project.
ProjectDataset Objects
dataset_hash- UUID of the dataset attached to the project.title- Human-readable title of the dataset.description- Description of the dataset.
ProjectType Objects
- WORKFLOW: Standard workflow Project with stages such as ANNOTATE and REVIEW.
- MANUAL_QA: Project configured for manual QA only.
ProjectStatus Objects
- NOT_STARTED: The project has been created but no work has begun.
- IN_PROGRESS: The project is active and annotation/review work is ongoing.
- PAUSED: The project is temporarily paused.
- COMPLETED: All work on the project has been completed.
- CANCELLED: The project has been cancelled before completion.
- ARCHIVED: The project is archived and no further work is expected.
ProjectCopyOptions Objects
- COLLABORATORS: Copy project collaborators to the new project.
- DATASETS: Copy or attach datasets to the new project.
- MODELS: Copy model configuration and attachments.
- LABELS: Copy labels associated with the project.
ReviewApprovalState Objects
- APPROVED: Label has been reviewed and approved.
- PENDING: Label is pending review or decision.
- REJECTED: Label has been reviewed and rejected.
- DELETED: Label has been removed.
- NOT_SELECTED_FOR_REVIEW: Label was not selected for review.
CopyDatasetAction Objects
- ATTACH: Attach the existing datasets from the original project to the copied project.
- CLONE: Clone data units into a new dataset and attach that dataset to the copied project.
CopyDatasetOptions Objects
action
One ofCopyDatasetAction.ATTACH or CopyDatasetAction.CLONE. (defaults to ATTACH)
datasets_to_data_hashes_map
A dictionary of{ <dataset_hash>: List[<data_unit_hash>]}.
When provided with a CLONE action this will filter the copied data units.
When combined with CopyLabelsOptions, only labels from specific data units will be copied.
CopyLabelsOptions Objects
accepted_label_hashes
A list of label hashes that will be copied to the new projectaccepted_label_statuses
A list of label statuses to filter the labels copied to the new project, defined inReviewApprovalState
CopyProjectPayload Objects
ProjectWorkflowType Objects
- MANUAL_QA: Manual QA workflow, where reviews are performed explicitly.
- BENCHMARK_QA: Benchmark QA workflow, where annotators are presented with benchmark or honeypot data.
ManualReviewWorkflowSettings Objects
BenchmarkQaWorkflowSettings Objects
source_projects
For Benchmark QA projects, a list of project ids (project_hash-es) that contain the benchmark source dataProjectWorkflowSettings
A variant type that allows you to select the type of quality assurance workflow for the project, and configure it. Currently one of: ManualReviewWorkflowSettings: a workflow with optional manual reviews BenchmarkQaWorkflowSettings: annotators are presented with “benchmark” or “honeypot” dataReviewMode Objects
- UNLABELLED: The labels are added to the images. However, the one person must still go over all of the labels before submitting them for review.
- LABELLED: The labels are added to the images and are marked as labelled. A reviewer will still need to approve those.
- REVIEWED: The labels are added to the images and considered reviewed. No more action is required from the labeler or reviewer.
CvatExportType Objects
- PROJECT: Export annotations at the project level.
- TASK: Export annotations at the task level.
TaskPriorityParams Objects
priorities- List of(task_hash, priority)tuples wheretask_hashidentifies the task andpriorityis a floating-point priority value to assign.
ProjectDTO Objects
project_hash- UUID of the project.project_type- Type of the project (workflow, manual QA, etc.).status- Current lifecycle status of the project.title- Human-readable title of the project.description- Description of the project.created_at- Timestamp when the project was created.last_edited_at- Timestamp when the project was last modified.ontology_hash- Identifier of the ontology associated with the project.editor_ontology- Full ontology definition used by the project editor.user_role- Role of the current user on this project, if known.source_projects- Optional list of project identifiers that this project was derived from (for example, benchmark sources).workflow_manager_uuid- UUID of the workflow manager associated with this project, if the project uses the workflow system.workflow- Workflow definition for the project, if available.
CvatReviewMode Objects
- UNLABELLED: The labels are added to the images. However, the one person must still go over all the labels before submitting them for review.
- LABELLED: The labels are added to the images and are marked as labelled. A reviewer will still need to approve those.
- REVIEWED: The labels are added to the images and considered reviewed. No more action is required from the labeler or reviewer.
CvatImportDataItem Objects
data_path- Path to the data item in the original CVAT export.data_link- URL or storage link to the data item accessible by Encord.title- Human-readable title to use for the imported data item.
CvatImportStartPayload Objects
annotations_base64- Base64-encoded CVAT annotations file contents.dataset_uuid- UUID of the target dataset to import annotations into.review_mode- Review mode to apply to imported annotations.data- List of data items to be imported from the CVAT export.transform_bounding_boxes_to_polygons- IfTrue, convert CVAT bounding boxes to polygons on import.
CvatImportGetResultParams Objects
timeout_seconds- Maximum number of seconds to wait for the import to complete before returning the current status.
CvatImportGetResultLongPollingStatus Objects
- DONE: The import has completed successfully.
- ERROR: The import has failed. See the issues field in the response.
- PENDING: The import is still in progress.
CvatImportGetResultResponse Objects
statusCvatImportGetResultLongPollingStatus - Import status (“DONE”, “ERROR”, “PENDING”)project_uuidOptional[UUID] - Created project ID. Only present when status=“DONE”issuesOptional[Dict] - Import issues. Present for “DONE” (warnings) or “ERROR” (failures)
ProjectFilterParams Objects
SetProjectStatusPayload Objects
GetProjectUsersPayload Objects
page_token- Optional token for fetching the next page of users from a previous call.

