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

# Submit dataset

`POST /datasets`

Creates a dataset resource.
The path to the newly created resource will be returned in the *Location* response header.

## Request body

- Dataset — unresolved $ref

## Response `201`

Created

## Other responses

- `400` — Bad Request
- `409` — Conflict

## Changes

> 11 revisions in range; 3 not diffed.

- **2024-12-17** `7bbdf1c10c96` — 9 breaking, 16 warning
  - the request's body type/format changed from `object`/`` to ``/``
  - the response's body type/format changed from `object`/`` to ``/`` for status `400`
  - the response's body type/format changed from `object`/`` to ``/`` for status `409`
  - removed the required property `code` from the response with the `400` status
  - …21 more
- **2024-10-22** `04c12ef2ae18` — 1 breaking
  - the request property `publisher` became required

[Change history](https://skmtc.dev/central-digital-and-data-office/apis/data-catalogue-metadata-api/changes/datasets/post.md)

---

[API](https://skmtc.dev/central-digital-and-data-office/apis/data-catalogue-metadata-api.md) · [All operations](https://skmtc.dev/central-digital-and-data-office/apis/data-catalogue-metadata-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/central-digital-and-data-office/data-catalogue-metadata-api/revisions/2f0b25003051/schema)
