---
title: "Register Dataset"
method: POST
path: "/api/domains/{domain_id}/datasets"
tags: ["datasets"]
---

# Register Dataset

`POST /api/domains/{domain_id}/datasets`

## Request

- Base URL: `https://api-v1.unusual.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api-v1.unusual.ai/api/domains/{domain_id}/datasets`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/login`

Staff: register rows carried in the request body (small datasets; the
MCP's presigned upload is the path for big files).

## Path parameters

- `domain_id` string, required

## Headers

- `x-view-as` string, nullable

## Request body

- RegisterDatasetRequest
  - `name` string, required
  - `rows` object[], required
  - `schema` object, nullable
  - `slug` string, nullable
  - `description` string, nullable
  - `provenance` object, nullable
  - `supersedes_id` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/unusual/apis/dashboard-server.md) - [All operations](https://skmtc.dev/unusual/apis/dashboard-server/llms.txt) - [OpenAPI document](https://skmtc.dev/unusual/apis/dashboard-server/revisions/89f716930ead?raw)
