cURL
curl --request POST \ --url https://studio.edgeimpulse.com/v1/api/{projectId}/jobs/ai-actions/{actionId}/preview \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "steps": [ { "transformationBlockId": 123, "parameters": {} } ], "sampleIds": [ 123 ], "cacheUnchangedSteps": true }'
{ "success": true, "error": "<string>", "id": 12873488112 }
Do a dry-run of an AI Actions job over a subset of data. This will instruct the block to propose changes to data items (via “setSampleProposedChanges”) rather than apply the changes directly.
Project ID
AI Action ID
OK
The response is of type object.
object