Projects

Get new AI Actions config

Get the AI Actions config for a new action

get/api/{projectId}/ai-actions/new

Request

Path parameters

projectIdinteger required

Project ID

Response

OK

successboolean required

Whether the operation succeeded

errorstring

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

Example response

{
  "action": {
    "lastPreviewState": {
      "samples": [
        {
          "id": 2,
          "filename": "idle01.d8Ae",
          "signatureValidate": true,
          "signatureMethod": "HS256",
          "label": "healthy-machine",
          "intervalMs": 16,
          "frequency": 62.5,
          "originalIntervalMs": 16,
          "originalFrequency": 62.5,
          "sensors": [
            {
              "name": "accX"
            }
          ],
          "datastreams": [
            {
              "sensors": [
                {
                  "name": "accX"
                }
              ]
            }
          ]
        }
      ]
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.