PUT
/
datasets

Authorizations

Authorization
string
headerrequired

API Key or Token formatted as Bearer <YOUR_KEY_OR_TOKEN>

Body

application/json
type
enum<string>
required

Indicates what type of dataset you would like to create.

Available options:
TEXT,
NUMERICAL,
BOOLEAN,
FILE,
IMAGE,
DATETIME
name
string
required

User-facing name for the dataset.

process_id
string
required

Process id that the dataset will be associated with.

usl
number

FOR NUMERICAL DATA. Upper spec limit for the dataset

lsl
number

FOR NUMERICAL DATA. Lower spec limit for the dataset

unit
string

FOR NUMERICAL DATA. Unit that should be displayed for the dataset

Response

200 - application/json
id
string
required

Database id for the dataset

name
string
required

User facing name for the dataset

process_id
string
required

Process id associated with the dataset

order
number

Order in which the dataset shows up relative to others

data_type
enum<string>
required
Available options:
PARAMETRIC_QUANTITATIVE,
PARAMETRIC_QUALITATIVE,
CHECKBOX,
LINK,
IMAGE,
FILE,
UID
created_at
string
required
process_revision
number
required
lsl
number
usl
number
unit
string
child_component_id
string
expected_value
any
is_active
boolean
values
string[]

Used for property datasets, is a LRU cache of used values