Create AI Action

Create AI Action

Create a new AI Action.

POSThttps://studio.edgeimpulse.com/v1/api/{projectId}/ai-actions/create
Path parameters
projectId*integer

Project ID

Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

id*integer
Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/ai-actions/create', {
    method: 'POST',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text"
}

Last updated