Edit label

Edit label

post

Sets the label (also known as class) of the sample. Use the same label for similar types of data, as they are used during training.

Authorizations
Path parameters
projectIdintegerRequired

Project ID

sampleIdintegerRequired

Sample ID

Body
labelstringOptional

New label for this sample

Example: water-hammer
Responses
post
POST /v1/api/{projectId}/raw-data/{sampleId}/edit-label HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 24

{
  "label": "water-hammer"
}
200

OK

{
  "success": true,
  "error": "text"
}

Last updated

Was this helpful?