PATCH
/
datasets
/
{dataset_id}
curl --request PATCH \
  --url https://api.serial.io/datasets/{dataset_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "usl": 123,
  "lsl": 123,
  "is_active": true
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "process_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "order": 123,
  "data_type": "PARAMETRIC_QUANTITATIVE",
  "created_at": "2023-11-07T05:31:56Z",
  "process_revision": 123,
  "lsl": 123,
  "usl": 123,
  "unit": "<string>",
  "child_component_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "expected_value": "<any>",
  "is_active": true,
  "values": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

API Key or Token formatted as Bearer <YOUR_KEY_OR_TOKEN>

Path Parameters

dataset_id
string
required

Id of the dataset

Body

application/json
name
string

New user facing name for the dataset

usl
number

New upper spec limit for the dataset

lsl
number

New lower spec limit for the dataset

is_active
boolean

Response

200
application/json
OK
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

data_type
enum<string>
required
Available options:
PARAMETRIC_QUANTITATIVE,
PARAMETRIC_QUALITATIVE,
CHECKBOX,
LINK,
IMAGE,
FILE,
UID
created_at
string
required
process_revision
number
required
order
number

Order in which the dataset shows up relative to others

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