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

# POST /v1/projects/{projectsId}/locations/{locationsId}/datasets

`POST /v1/projects/{projectsId}/locations/{locationsId}/datasets`

## Request

- Base URL: `https://contactcenterinsights.googleapis.com`
- URL: `https://contactcenterinsights.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/datasets`
- 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`

Creates a dataset.

## Path parameters

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

## Query parameters

- `datasetId` string

## Request body

- GoogleCloudContactcenterinsightsV1Dataset: Dataset resource represents a collection of conversations that may be bounded (Static Dataset, e.g. golden dataset for training), or unbounded (Dynamic Dataset, e.g. live traffic, or agent training traffic)
  - `createTime` string, google-datetime: Output only. Dataset create time.
  - `description` string: Dataset description.
  - `displayName` string: Display name for the dataaset
  - `name` string: Immutable. Identifier. Resource name of the dataset. Format: projects/{project}/locations/{location}/datasets/{dataset}
  - `satisfiesPzi` boolean: Output only. Whether this resource is zone isolated.
  - `satisfiesPzs` boolean: Output only. Whether this resource is zone separated.
  - `ttl` string, google-duration: Optional. Option TTL for the dataset.
  - `type` 'TYPE_UNSPECIFIED' | 'EVAL' | 'LIVE': Dataset usage type.
  - `updateTime` string, google-datetime: Output only. Dataset update time.

## Response `200`

Successful response

- GoogleCloudContactcenterinsightsV1Dataset: Dataset resource represents a collection of conversations that may be bounded (Static Dataset, e.g. golden dataset for training), or unbounded (Dynamic Dataset, e.g. live traffic, or agent training traffic)
  - `createTime` string, google-datetime: Output only. Dataset create time.
  - `description` string: Dataset description.
  - `displayName` string: Display name for the dataaset
  - `name` string: Immutable. Identifier. Resource name of the dataset. Format: projects/{project}/locations/{location}/datasets/{dataset}
  - `satisfiesPzi` boolean: Output only. Whether this resource is zone isolated.
  - `satisfiesPzs` boolean: Output only. Whether this resource is zone separated.
  - `ttl` string, google-duration: Optional. Option TTL for the dataset.
  - `type` 'TYPE_UNSPECIFIED' | 'EVAL' | 'LIVE': Dataset usage type.
  - `updateTime` string, google-datetime: Output only. Dataset update time.

---

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