post
https://api.superwise.ai/v1/datasets
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
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
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