---
title: "Create Dataset"
method: POST
path: "/api/v3/dataset"
tags: ["Dataset"]
---

# Create Dataset

`POST /api/v3/dataset`

## Request

- Base URL: `https://{tenant_name}.benchling.com`
- URL: `https://{tenant_name}.benchling.com/api/v3/dataset`
- Auth: HTTP bearer

Create Dataset.

## Request body

- CreateDatasetInput
  - `customFields` CreateDatasetInputCustomFields
  - `dataFrameId` string, required
  - `folderId` string, required
  - `name` string, required

## Response `201`

Created

- Dataset: `Dataset` stores non-schematized tabular data, with Benchling-aware column types. Datasets are first-class, searchable, archivable folder items. A Dataset's actual data is stored in a `DataFrame`.
  - `__typename` string
  - `archiveReason` string, nullable
  - `archived` boolean
  - `createdAt` string, datetime
  - `creator` PrincipalRef
    - `__typename` string
    - `id` string, api_id
  - `customFields` CustomField[], nullable
    - `__typename` string
    - `name` string, nullable
    - `value` string, nullable
  - `dataFrameId` string, nullable
  - `displayId` string, nullable: A human-readable identifier for this dataset (e.g. "DATASET-1"). Automatically generated and unique within the tenant.
  - `folder` FolderRef
    - `__typename` string
    - `id` string, api_id
  - `id` string
  - `modifiedAt` string, datetime
  - `name` string, nullable

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/benchling/apis/benchling-api.md) - [All operations](https://skmtc.dev/benchling/apis/benchling-api/llms.txt) - [OpenAPI document](https://skmtc.dev/benchling/apis/benchling-api/revisions/3873a10bf7b8?raw)
