---
title: "Create dataset"
method: POST
path: "/api/datasets/"
tags: ["Datasets"]
---

# Create dataset

`POST /api/datasets/`

Create a new dataset.

## Request body

- DatasetRequest
  - `columns` unknown
  - `created_by` UserSimpleRequest — A ModelSerializer that takes additional arguments for "fields", "omit" and "expand" in order to control which fields are displayed, and whether to replace simple values with complex, nested serializations
    - `email` string, email
    - `first_name` string
    - `last_name` string
    - `username` string, required
  - `description` string, nullable — Dataset description
  - `organization` integer, nullable
  - `title` string, required — Dataset title
  - `total_entities` integer, nullable
  - `vector_db_dataset_name` string — Dataset name for weaviate schema

## Response `201`

- Dataset
  - `columns` unknown
  - `created_at` string, date-time, required — Creation time
  - `created_by` UserSimple — A ModelSerializer that takes additional arguments for "fields", "omit" and "expand" in order to control which fields are displayed, and whether to replace simple values with complex, nested serializations
    - `avatar` string, nullable, required
    - `email` string, email
    - `first_name` string
    - `id` integer, required
    - `last_name` string
    - `username` string, required
  - `description` string, nullable — Dataset description
  - `id` integer, required
  - `organization` integer, nullable
  - `title` string, required — Dataset title
  - `total_entities` integer, nullable
  - `updated_at` string, date-time, required — Last updated time
  - `vector_db_dataset_name` string — Dataset name for weaviate schema

---

[API](https://skmtc.net/humansignal/apis/label-studio-api.md) · [All operations](https://skmtc.net/humansignal/apis/label-studio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/humansignal/label-studio-api/revisions/1d13f90af57a/schema)
