Introduction and Quickstart


To add a dataset (submit a new labelling job), you first need to obtain a client id and auth token from deepen team. A dataset here represents a logical labelling job and encapsulates all the labelling requirements. At the dataset level, you need to specify what you are interested in labelling (for example:2d bounding boxes, lanes, polygons, 3d bounding boxes, 3d segmentation etc), called label types. For each label type, you then need to specify the categories of labels/objects (for example bus, car, truck, pedestrian) and attributes (for example occlusion, direction) that you are interested in labelling. You can create one or more datasets inside the client that get labelled as per the labelling requirements specified at the dataset level.


Obtain a client id and auth token from Deepen AI. If you are a client admin, you can also create different Access Tokens using the UI and use those instead. These are required in all API calls. Client Id is part of the path parameters in most of the API calls and the auth token should be prefixed with “Bearer “ and must be passed as the value of the ‘Authorization’ header in all API requests.

Create a zip file of the images/json to be uploaded as part of the first dataset. We need the exact size of the zip file to create a new dataset. On Linux, you can use the following command to get the exact bytes in a zip file.

Run the following command to create a new dataset

Please note that “dataset_format”: ”json” along with “dataset_type”: ”3d” will be used to upload 3D LiDAR data in JSON format. For image datasets, “dataset_type” needs to be “images”, we do not need “dataset_format” for “images”. The response will have a resumable upload url and dataset id to which the zip file needs to be uploaded.

Run the following command to upload the zip file.

You can also follow the google cloud storage documentation at to upload the zip file in multiple chunks.

Once the dataset zip file is uploaded, you need to call the process uploaded data api to process the zip file and make it ready for labelling. Here “file_name” will be “” for 3d with dataset_format as json and “” for 2d dataset_type.

Run the following command to check the status of the dataset.

If the dataset is successfully preprocessed, you should see the processing_status as files_getting_labelled. Once the dataset is successfully preprocessed, you can see the files in the dataset with the following command.

Get the labelling status of a particular file using the following command

Get the current labels of a file with the following command

Get all the labels of a dataset using the following command

Last updated