---
title: "Create a new Dataset"
method: POST
path: "/api/datasets/"
tags: ["datasets"]
---

# Create a new Dataset

`POST /api/datasets/`

## Request

- Base URL: `https://docs.blindinsight.io` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.blindinsight.io/api/datasets/`
- Auth: one of:
  - API key in cookie `sessionid`
  - HTTP basic
  - HTTP bearer
- TypeScript: <https://skmtc.dev/blindinsight/apis/blind-insight-rest-api/docs/api/datasets/post.ts> (a function with typed inputs; its response is checked against the schema)

Create a new dataset.

## Request body

- Dataset: HyperlinkedModelSerializer with `id` as the first field.
  - `id` string, required
  - `url` string, uri, required
  - `organization` string, uri, required
  - `name` string, required: A human-readable name for this dataset.
  - `slug` string: A unique slug for this dataset.
  - `description` string: A longer description of the dataset.

## Response `201`

- Dataset: HyperlinkedModelSerializer with `id` as the first field.
  - `id` string, required
  - `url` string, uri, required
  - `organization` string, uri, required
  - `name` string, required: A human-readable name for this dataset.
  - `slug` string: A unique slug for this dataset.
  - `description` string: A longer description of the dataset.

---

[API](https://skmtc.dev/blindinsight/apis/blind-insight-rest-api.md) - [All operations](https://skmtc.dev/blindinsight/apis/blind-insight-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/blindinsight/apis/blind-insight-rest-api/revisions/0ac902401cea?raw)
