POST
/
api
/
{projectId}
/
jobs
/
ai-actions
/
{actionId}
/
preview
Create preview AI Actions job
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
}

Authorizations

x-api-key
string
header
required

Path Parameters

projectId
integer
required

Project ID

actionId
integer
required

AI Action ID

Body

application/json

Response

200 - application/json

OK

The response is of type object.