curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/{sampleId}/propose-changes \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"jobId": 123,
"proposedChanges": {
"label": "<string>",
"isDisabled": true,
"boundingBoxes": [
{
"label": "<string>",
"x": 123,
"y": 123,
"width": 123,
"height": 123
}
],
"metadata": {},
"structuredLabels": [
{
"startIndex": 123,
"endIndex": 123,
"label": "<string>"
}
]
}
}'
{
"success": true,
"error": "<string>"
}
Queue up changes to an object as part of the AI Actions flow. This overwrites any previous proposed changes.
curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/{sampleId}/propose-changes \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"jobId": 123,
"proposedChanges": {
"label": "<string>",
"isDisabled": true,
"boundingBoxes": [
{
"label": "<string>",
"x": 123,
"y": 123,
"width": 123,
"height": 123
}
],
"metadata": {},
"structuredLabels": [
{
"startIndex": 123,
"endIndex": 123,
"label": "<string>"
}
]
}
}'
{
"success": true,
"error": "<string>"
}
OK
The response is of type object
.