curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/ai-actions-preview/{jobId}/proposed-changes \
--header 'x-api-key: <api-key>'{
"success": true,
"proposedChanges": [
{
"sampleId": 123,
"step": 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>"
}
]
}
}
],
"error": "<string>"
}Get proposed changes from an AI Actions job.
curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/ai-actions-preview/{jobId}/proposed-changes \
--header 'x-api-key: <api-key>'{
"success": true,
"proposedChanges": [
{
"sampleId": 123,
"step": 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>"
}
]
}
}
],
"error": "<string>"
}OK
Whether the operation succeeded
Show child attributes
Show child attributes
New label (single-label)
True if the current sample should be disabled; or false if it should not be disabled.
List of bounding boxes. The existing bounding boxes on the sample will be replaced (so if you want to add new bounding boxes, use the existing list as a basis).
Show child attributes
New label (multi-label)
Show child attributes
Start index of the label (e.g. 0)
End index of the label (e.g. 3). This value is inclusive, so { startIndex: 0, endIndex: 3 } covers 0, 1, 2, 3.
The label for this section.
Optional error description (set if 'success' was false)
Was this page helpful?