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.

REST Resource: projects.datasets.dataItems

Stay organized with collections Save and categorize content based on your preferences.

Resource: DataItem

DataItem is a piece of data, without annotation. For example, an image.

JSON representation
  "name": string,

  // Union field payload can be only one of the following:
  "imagePayload": {
    object (ImagePayload)
  "textPayload": {
    object (TextPayload)
  "videoPayload": {
    object (VideoPayload)
  // End of list of possible types for union field payload.


Output only. Name of the data item, in format of: projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id}

Union field payload. Output only. payload can be only one of the following:

object (ImagePayload)

The image payload, a container of the image bytes/uri.


object (TextPayload)

The text payload, a container of text content.


object (VideoPayload)

The video payload, a container of the video uri.



Gets a data item in a dataset by resource name.


Lists data items in a dataset.