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

# POST /v3/{+dataset}:importData

`POST /v3/{+dataset}:importData`

Import sentence pairs into translation Dataset.

## Path parameters

- `dataset` string, required

## Request body

- ImportDataRequest — Request message for ImportData.
  - `inputConfig` DatasetInputConfig — Input configuration for datasets.
    - `inputFiles` InputFile[] — Files containing the sentence pairs to be imported to the dataset.
      - `usage` string — Optional. Usage of the file contents. Options are TRAIN|VALIDATION|TEST, or UNASSIGNED (by default) for auto split.
      - `gcsSource` GcsInputSource — The Google Cloud Storage location for the input content.
        - `inputUri` string — Required. Source data URI. For example, `gs://my_bucket/my_object`.

## 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)
