Projects

Get AI Actions config

Get an AI Actions config

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

Request

Path parameters

projectIdinteger required

Project ID

actionIdinteger required

AI Action 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.