---
title: "POST /v1/{+parent}/analytics/datastores"
method: POST
path: "/v1/{+parent}/analytics/datastores"
tags: ["organizations"]
---

# POST /v1/{+parent}/analytics/datastores

`POST /v1/{+parent}/analytics/datastores`

Create a Datastore for an org

## Path parameters

- `parent` string, required

## Request body

- GoogleCloudApigeeV1Datastore — The data store defines the connection to export data repository (Cloud Storage, BigQuery), including the credentials used to access the data repository.
  - `createTime` string, int64 — Output only. Datastore create time, in milliseconds since the epoch of 1970-01-01T00:00:00Z
  - `self` string — Output only. Resource link of Datastore. Example: `/organizations/{org}/analytics/datastores/{uuid}`
  - `targetType` string — Destination storage type. Supported types `gcs` or `bigquery`.
  - `lastUpdateTime` string, int64 — Output only. Datastore last update time, in milliseconds since the epoch of 1970-01-01T00:00:00Z
  - `datastoreConfig` GoogleCloudApigeeV1DatastoreConfig — Configuration detail for datastore
    - `path` string — Path of Cloud Storage bucket Required for `gcs` target_type.
    - `datasetName` string — BigQuery dataset name Required for `bigquery` target_type.
    - `tablePrefix` string — Prefix of BigQuery table Required for `bigquery` target_type.
    - `projectId` string — Required. Google Cloud project in which the datastore exists
    - `bucketName` string — Name of the Cloud Storage bucket. Required for `gcs` target_type.
  - `displayName` string — Required. Display name in UI
  - `org` string — Output only. Organization that the datastore belongs to

## Response `200`

Successful response

---

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