Create Dataset

Create a new Dataset

  • payload (DatasetCreate): Required. The payload that includes:
    • name (str): Name of the dataset, min_length=1, max_length=100.
    • description (str or None): A description about the dataset.
    • model_version_id (str or None): Model version identifier.
    • tags (list of DatasetTag or None): A list of tags related to the dataset.
    • schema (Schema): The schema of the dataset.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Creates a dataset with a name and, optionally, a description, a model version ID, key-value tags, and a schema. The schema defines the dataset's fields and their types.

When to use it

Use it to create a place to log records over the API, connect a source, or monitor data with policies. If you leave out the schema, SUPERWISE discovers it from the first data the dataset receives.

Required parameters

  • name (body): a descriptive name for the dataset, 1 to 100 characters.

Optional body fields: description, model_version_id, tags, schema.

Response

A successful call returns 201 Created with the DatasetResponse object: id, name, description, schema, tags, created_by, and timestamps.

Related: Get a dataset, Update a dataset, Log a record to a dataset, Create a dataset source

Body Params
string
required
length between 1 and 100

A descriptive name for this dataset

Relevant information about the context of this dataset

array | null
schema
object
Defaults to [object Object]
Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json