---
title: "GET /v1/projects/{projectsId}/locations/{locationsId}/metadataStores"
method: GET
path: "/v1/projects/{projectsId}/locations/{locationsId}/metadataStores"
tags: ["projects"]
---

# GET /v1/projects/{projectsId}/locations/{locationsId}/metadataStores

`GET /v1/projects/{projectsId}/locations/{locationsId}/metadataStores`

## Request

- Base URL: `https://aiplatform.googleapis.com`
- URL: `https://aiplatform.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/metadataStores`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/cloud-platform`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Lists MetadataStores for a Location.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required

## Query parameters

- `pageSize` integer
- `pageToken` string

## Response `200`

Successful response

- GoogleCloudAiplatformV1ListMetadataStoresResponse: Response message for MetadataService.ListMetadataStores.
  - `metadataStores` GoogleCloudAiplatformV1MetadataStore[]: The MetadataStores found for the Location.
    - `createTime` string, google-datetime: Output only. Timestamp when this MetadataStore was created.
    - `dataplexConfig` GoogleCloudAiplatformV1MetadataStoreDataplexConfig: Represents Dataplex integration settings.
      - `enabledPipelinesLineage` boolean: Optional. Whether or not Data Lineage synchronization is enabled for Vertex Pipelines.
    - `description` string: Description of the MetadataStore.
    - `encryptionSpec` GoogleCloudAiplatformV1EncryptionSpec: Represents a customer-managed encryption key specification that can be applied to a Vertex AI resource.
      - `kmsKeyName` string: Required. Resource name of the Cloud KMS key used to protect the resource. The Cloud KMS key must be in the same region as the resource. It must have the format `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
    - `name` string: Output only. The resource name of the MetadataStore instance.
    - `state` GoogleCloudAiplatformV1MetadataStoreMetadataStoreState: Represents state information for a MetadataStore.
      - `diskUtilizationBytes` string, int64: The disk utilization of the MetadataStore in bytes.
    - `updateTime` string, google-datetime: Output only. Timestamp when this MetadataStore was last updated.
  - `nextPageToken` string: A token, which can be sent as ListMetadataStoresRequest.page_token to retrieve the next page. If this field is not populated, there are no subsequent pages.

---

[API](https://skmtc.dev/google/apis/aiplatform.md) - [All operations](https://skmtc.dev/google/apis/aiplatform/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/aiplatform/revisions/3aca3b348f0c?raw)
