HomeGuidesAPI Reference
Log In
API Reference

Create dataset

Create a new dataset with a specified schema that allows to be used in processes. The schema defines the structure of data entries. Once created, the dataset becomes available in the platform and can be connected to spektr processes. Optionally, provide a "parentDatasetId" to create the dataset as a child of an existing dataset, used for related entities.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

The name of the dataset

dataType
object
required

A dictionary that represents your schema, where each property is a key with a value type

string

The ID of the parent dataset. When provided, the new dataset is created as a child dataset linked to the parent, used for related entities.

Headers
string

Optional unique key (1–255 chars) to ensure the request is processed only once. If a duplicate key is sent with the same request parameters, the original response is replayed. Replayed responses include the idempotent-replayed: true header.

Responses

409

A request with this idempotency-key is currently being processed

422

idempotency-key has already been used with different request parameters

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