This documentation is for AutoML Vision, which is different from Vertex AI. If you are using Vertex AI, see the Vertex AI documentation.

Method: projects.locations.datasets.create

Creates a dataset.

HTTP request


Path parameters



The resource name of the project to create the dataset for.

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

  • automl.datasets.create

Request body

The request body contains an instance of Dataset.

Response body

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

Authorization Scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.