---
title: "POST /v1/accounts/{account_id}/datasets/{dataset_id}:splitDataset"
method: POST
path: "/v1/accounts/{account_id}/datasets/{dataset_id}:splitDataset"
tags: ["gateway.openapi_Gateway"]
---

# POST /v1/accounts/{account_id}/datasets/{dataset_id}:splitDataset

`POST /v1/accounts/{account_id}/datasets/{dataset_id}:splitDataset`

## Path parameters

- `account_id` string, required
- `dataset_id` string, required

## Request body

- GatewaySplitDatasetBody
  - `chunkSize` integer
  - `parent` string — The parent account ID of the requester.

## Response `200`

A successful response.

- GatewaySplitDatasetResponse
  - `chunkDatasetNames` string[]
  - `chunksCreated` integer
  - `totalExamples` string, int64

---

[API](https://skmtc.net/fw-ai-external/apis/gateway-rest-api.md) · [All operations](https://skmtc.net/fw-ai-external/apis/gateway-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fw-ai-external/gateway-rest-api/revisions/29a1e4db152c/schema)
