cURL
curl --request POST \ --url https://studio.edgeimpulse.com/v1/api/{projectId}/ai-actions/order \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "orderByActionId": [ 123 ] }'
{ "success": true, "error": "<string>" }
Change the order of AI actions. Post the new order of all AI Actions by ID. You need to specify all AI Actions here. If not, an error will be thrown.
Project ID
OK
The response is of type object.
object