Datasets
Create Dataset
Endpoint for creating datasets (also referred to as data keys).
PUT
/
datasets
Authorizations
Authorization
string
headerrequiredAPI Key or Token formatted as Bearer <YOUR_KEY_OR_TOKEN>
Body
application/json
type
enum<string>
requiredIndicates what type of dataset you would like to create.
Available options:
TEXT
, NUMERICAL
, BOOLEAN
, FILE
, IMAGE
, DATETIME
name
string
requiredUser-facing name for the dataset.
process_id
string
requiredProcess 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
requiredDatabase id for the dataset
name
string
requiredUser facing name for the dataset
process_id
string
requiredProcess id associated with the dataset
order
number
Order in which the dataset shows up relative to others
data_type
enum<string>
requiredAvailable options:
PARAMETRIC_QUANTITATIVE
, PARAMETRIC_QUALITATIVE
, CHECKBOX
, LINK
, IMAGE
, FILE
, UID
created_at
string
requiredprocess_revision
number
requiredlsl
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