This legacy version of AI Platform Data Labeling is deprecated and will no longer be available on Google Cloud after January 23, 2024. All the functionality of legacy AI Platform Data Labeling and new features are available on the Vertex AI platform. See Migrate to Vertex AI to learn how to migrate your resources.

Client libraries

Python and Java client libraries are available for AI Platform Data Labeling Service.

Download the client libraries


Follow the Python Client for Data Labeling API instructions to install the Python client library.


Follow the Google Cloud Java Client for Cloud Data Labeling instructions to install the Java client library.

Use the client library


To include the Python client library in your code, add the following import statement.

from import datalabeling_v1beta1 as datalabeling


To include the Java client library in your code, add the following to your pom.xml file.