Create Projects
To create a Project using the SDK:- Create a Workflow template in the Encord platform.
- Use the Workflow template ID, highlighted in the screenshot below, as a parameters to the create_project() method.
Project creation applies the same checks to collaborators stored in the Workflow template. Every collaborator must still belong to your Workspace and be eligible to hold their stored Project role, and you must have permission to assign that role. The Viewer role must be enabled for your Workspace. Duplicate collaborators, the Project user limit, and roles that are not permitted for Benchmark QA or training Projects also cause creation to fail. Edit the Workflow template before trying again.

Projects cannot be deleted using the SDK or the API. Use the Encord platform to delete Projects.
View Project Details
The following example shows how to retrieve a Project’s status. You can access other Project details in a similar way. For a complete list of available methods, refer to our SDK reference for the project class. In the following script replace<project_hash> with the unique ID of your Project.
View Collaborator Session Information
list_collaborator_timers() is deprecated (since SDK version 0.1.157) and only returns collaborator timers from the Legacy Performance Dashboards. Use list_time_spent() instead. For more examples, see Project timers.list_time_spent() method on a ‘project’ object to obtain the time each collaborator spent working on the Project within a specified range of dates. If a task spans multiple days, the time spent on each day is returned separately.

