Method: projects.locations.indexes.create

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

Creates an Index.

HTTP request

POST https://{service-endpoint}/v1/{parent}/indexes

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

Path parameters



Required. The resource name of the Location to create the Index in. Format: projects/{project}/locations/{location}

Request body

The request body contains an instance of Index.

Response body

If successful, the response body contains a newly created 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.indexes.create

For more information, see the IAM documentation.