Method: projects.locations.models.upload

Uploads a Model artifact into Vertex AI.

HTTP request

POST https://{service-endpoint}/v1/{parent}/models:upload

Where {service-endpoint} is one of the supported service endpoints.

Path parameters



Required. The resource name of the Location into which to upload the Model. Format: projects/{project}/locations/{location}

Request body

The request body contains data with the following structure:

JSON representation
  "model": {
    object (Model)

object (Model)

Required. The Model to create.

Response body

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

Authorization Scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • aiplatform.models.upload

For more information, see the IAM documentation.