Overview
A project in Labellerr combines datasets with annotation guidelines to create a structured workflow for your team. This guide covers everything you need to create projects programmatically using the SDK.Project Creation Requirements
To create a project, you need three components:
- Dataset(s) - One or more datasets containing your files
- Annotation Template - Questions and labels defining your annotation schema
- Project Configuration - Settings for rotations, AI features, and workflow rules
Supported Data Types
- image - .jpg, .jpeg, .png, .bmp, .tiff
- video - .mp4
- audio - .mp3, .wav
- document - .pdf
- text - .txt
Quick Start
Here’s the minimal code to create a project:Step-by-Step Guide
Step 1: Prepare Your Dataset
You can either create a new dataset or use an existing one.- Create New Dataset
- Use Existing Dataset
Step 2: Create Annotation Template
Define the questions your annotators will answer.- Simple Template
- Multiple Questions
- Use Existing Template
Step 3: Configure & Create Project
Now combine your dataset and template to create the project.Common Scenarios
Using Multiple Datasets
Attach multiple datasets to a single project for larger annotation workflows:Multiple Annotation Rotations
For high-quality annotations, require multiple annotators per file:Video Project with Keyframes
For video annotation projects:Schema Reference
CreateProjectParams
Project Configuration Parameters
The
data_type must match the data type of all attached datasets.RotationConfig
Rotation Configuration
Defines how many times each file goes through annotation and review cycles.Constructor:
Examples:
QuestionType Enum
Available Question Types
Choose the appropriate question type for your annotation needs.Object-Based Questions (Drawing):
Classification Questions (Selection):
Example Usage:
Import Users from Another Project
Copy the user list (with roles/permissions) from one project to another in the same workspace-existing users are not duplicated.- Same-workspace only; roles/permissions are preserved.
- If a user already exists in the target project, they are not duplicated.
Complete End-to-End Example
Here’s a production-ready example with error handling:Troubleshooting
Dataset has no files error
Dataset has no files error
Error:
Dataset {dataset_id} has no filesCause: The dataset was created but files haven’t finished uploading or processing.Solution:- Always call
dataset.status()before creating a project to ensure dataset is ready - This method polls until dataset processing is complete
- Verify folder path is correct and contains files
- Check
dataset.files_countto confirm files were uploaded
Data type mismatch
Data type mismatch
Error: Data type conflicts between project, dataset, and templateSolution:
- Ensure all components use the same data type:
Template creation fails
Template creation fails
Cause: Missing required fields in questions (color for objects, options for classifications)Solution:
- Object types require
colorfield - Classification types require
optionslist - Use
required=Truefor mandatory questions
Authentication errors
Authentication errors
Solution:
- Verify API key and secret are correct
- Check key hasn’t expired
- Ensure you have permissions to create projects
Related Documentation
Create Dataset
Learn how to create and manage datasets
Annotation Questions
Detailed guide on crafting annotation questions
Upload Pre-annotations
Import existing annotations into your project
Export Annotations
Export completed annotations in various formats
Video Operations
Special operations for video projects
Getting Started
SDK installation and initialization guide
Need Help?
For technical support or questions about project creation, contact us at support@tensormatics.com

