Method: annotations.create

Full name: projects.locations.datasets.annotationStores.annotations.create

Creates a new Annotation record. It is valid to create Annotation objects for the same source more than once since a unique ID is assigned to each record by this service.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. The name of the Annotation store this annotation belongs to. For example, projects/my-project/locations/us-central1/datasets/mydataset/annotationStores/myannotationstore.

Authorization requires the following IAM permission on the specified resource parent:

  • healthcare.annotations.create

Request body

The request body contains an instance of Annotation.

Response body

If successful, the response body contains a newly created instance of Annotation.

Authorization scopes

Requires one of the following OAuth scopes:


For more information, see the Authentication Overview.