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

# Create new dataset

`POST /datasets`

New dataset containing one existing file, based on values of fields in
attached JSON. Returns dataset id as JSON object.

## Request body

- object
  - `name` string, required
  - `description` string
  - `space` string
  - `file_id` string, required

## Response `200`

OK

## Other responses

- `404` — The requested resource was not found

---

[API](https://skmtc.net/clowder-framework/apis/clowder.md) · [All operations](https://skmtc.net/clowder-framework/apis/clowder/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clowder-framework/clowder/versions/bcd187478e0d/schema)
