---
title: "POST /v1/{+parent}/metadataStores"
method: POST
path: "/v1/{+parent}/metadataStores"
tags: ["projects"]
---

# POST /v1/{+parent}/metadataStores

`POST /v1/{+parent}/metadataStores`

Initializes a MetadataStore, including allocation of resources.

## Path parameters

- `parent` string, required

## Query parameters

- `metadataStoreId` string

## Request body

- GoogleCloudAiplatformV1MetadataStore — Instance of a metadata store. Contains a set of metadata that can be queried.
  - `state` GoogleCloudAiplatformV1MetadataStoreMetadataStoreState — Represents state information for a MetadataStore.
    - `diskUtilizationBytes` string, int64 — The disk utilization of the MetadataStore in bytes.
  - `dataplexConfig` GoogleCloudAiplatformV1MetadataStoreDataplexConfig — Represents Dataplex integration settings.
    - `enabledPipelinesLineage` boolean — Optional. Whether or not Data Lineage synchronization is enabled for Vertex Pipelines.
  - `name` string — Output only. The resource name of the MetadataStore instance.
  - `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}`.
  - `description` string — Description of the MetadataStore.
  - `createTime` string, google-datetime — Output only. Timestamp when this MetadataStore was created.
  - `updateTime` string, google-datetime — Output only. Timestamp when this MetadataStore was last updated.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/aiplatform.md) · [All operations](https://skmtc.net/google/apis/aiplatform/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/aiplatform/versions/b608d71b91f0/schema)
