Skip to main content
POST
cURL

Body

POST /datasets/ — create a Dataset and its first DatasetVersion from an existing AssetContent.

The Dataset is owned by the caller by default. Pass owner_project_id to create a project-owned Dataset instead (the caller must be a member of that project); the view enforces ownership and resolves the user owner implicitly.

name
string
required
Maximum string length: 255
asset_content_id
string<uuid>
required
description
string
default:""
Maximum string length: 4096
owner_project_id
string<uuid> | null

Response

200 - application/json
id
string<uuid>
required
read-only
name
string
required
Maximum string length: 255
creator
string<uuid>
required
read-only
created_at
string<date-time>
required
read-only
updated_at
string<date-time>
required
read-only
versions
object[]
required
read-only
did
string
required
read-only
description
string
owner_user
string<uuid> | null
owner_project
string<uuid> | null