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.

Method: projects.datasets.annotatedDatasets.examples.get

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

Gets an example by resource name, including both data and annotation.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. Name of example, format: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}/examples/{example_id}

Authorization requires the following Google IAM permission on the specified resource name:

  • datalabeling.examples.get

Query parameters



Optional. An expression for filtering Examples. Filter by annotationSpec.display_name is supported. Format "annotationSpec.display_name = {displayName}"

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Example.

Authorization Scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.