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

# Create dataset

`POST /api/v1/datasets`

## Request

- Base URL: `https://dev.noveum.ai`
- URL: `https://dev.noveum.ai/api/v1/datasets`
- Auth: API key in cookie `apiKeyCookie` and HTTP bearer

Create dataset

## Request body

- object
  - `name` string, required
  - `slug` string
  - `description` string
  - `visibility` 'public' | 'org' | 'private'
  - `dataset_type` 'agent' | 'conversational' | 'g-eval' | 'custom'
  - `environment` string
  - `schema_version` string
  - `tags` string[]
  - `custom_attributes` object
  - `project_id` string

## Response `200`

Success

- object

## Other responses

- `201`: Dataset created
- `400`: Invalid request (validation)
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `409`: Dataset slug already exists
- `422`: Unprocessable entity
- `500`: Internal server error

---

[API](https://skmtc.dev/noveum/apis/noveum-api.md) · [All operations](https://skmtc.dev/noveum/apis/noveum-api/llms.txt) · [OpenAPI document](https://skmtc.dev/noveum/apis/noveum-api/revisions/1745e27f38d0?raw)
