Method: projects.locations.datasets.annotationSpecs.get

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

Gets an annotation spec.

HTTP request


Path parameters



The resource name of the annotation spec to retrieve.

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

  • automl.annotationSpecs.get

Request body

The request body must be empty.

Response body

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

Authorization Scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.