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

# POST /v3/{+parent}/datasets

`POST /v3/{+parent}/datasets`

Creates a Dataset.

## Path parameters

- `parent` string, required

## Request body

- Dataset — A dataset that hosts the examples (sentence pairs) used for translation models.
  - `sourceLanguageCode` string — The BCP-47 language code of the source language.
  - `name` string — The resource name of the dataset, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}`
  - `validateExampleCount` integer — Output only. Number of validation examples (sentence pairs).
  - `updateTime` string, google-datetime — Output only. Timestamp when this dataset was last updated.
  - `testExampleCount` integer — Output only. Number of test examples (sentence pairs).
  - `displayName` string — The name of the dataset to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.
  - `targetLanguageCode` string — The BCP-47 language code of the target language.
  - `exampleCount` integer — Output only. The number of examples in the dataset.
  - `createTime` string, google-datetime — Output only. Timestamp when this dataset was created.
  - `trainExampleCount` integer — Output only. Number of training examples (sentence pairs).

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/translate.md) · [All operations](https://skmtc.dev/google/apis/translate/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/translate/revisions/1597c11ae5de/schema)
