Machine Learning

The Machine Learning API allows you to generate profile insights to analyze datasets, create and manage machine learning experiments, deploy models, and run predictions.

Download specification

Endpoints

List deployments

Facts

Rate limit Tier 1 (1000 requests per minute)
Categories

Query Parameters

  • filterstring

    Deployment fields by which you can filter responses.

    • spaceId ID string (or empty string for personal space) - ID of space in which deployment(s) exist
    • modelId UUID string - By model ID
    • createdBy ID string
    • ownerId ID string
    • approverId ID string - ID of user that approved a model in the deployment
    • experimentId UUID string - ID of experiment in which model(s) exist
    • experimentVersionId UUID string - ID of experiment version in which model(s) exist
    • predictionEnabled boolean - Are predictions enabled
    • exactName string - Deployments with exact name. Names may not be unique.
    • nameContains string - Deployments where name includes this. Names may not be unique
    • modelName string - Partial or exact, case-insensitive name of model in the deployment
    • modelState enum string - State by which to find models

      • Valid states: pending, enabled, disabled, inactive
  • sortstring

    Field(s) by which to sort response

    Can be one of: "createdAt""+createdAt""-createdAt""name""+name""-name""updatedAt""+updatedAt""-updatedAt"

  • limitinteger

    Number of results per page. Default is 32.

  • offsetinteger

    Number of rows to skip before getting page[size]

Responses

200

application/json

OK

  • application/jsonobject
    Show application/json properties
    • dataarray of objects
      Required
      Show data properties
      • idstring
        Required

        ID of this entity

      • typestring
        Required

        Can be one of: "deployment"

      • attributesobject
        Required

        A deployed model against which you can run predictions

        Show attributes properties
        • idstring
          Required

          ID of this entity

        • namestring
          Required

          Name of this entity

        • errorsarray of objects

          JSON string with list of error objects.

          Show errors properties
          • codestring
            Required

            Qlik error code (not HTTP response status code)

          • metaobject

            Additional details about the error. These may vary by error.

            Show meta properties
            • issuestring

              The issue code

            • detailsstring

              Extra details for what may have caused the error

            • errorIdstring

              The unique id of the error instance

            • argumentstring

              The argument

            • resourcestring

              The resource type that the error occurred on

            • resourceIdstring

              The resource id that the error occurred on

          • titlestring
            Required

            Short summary of error

          • detailstring

            Description of the error

        • modelIdstring
          Required

          ID of the model

        • ownerIdstring
          Required

          ID of owner/user for this entity

        • spaceIdstring
          Required

          Space ID for this entity (empty string for personal space)

        • createdAtstring
          Required

          Timestamp when this was created

        • createdBystring
          Required

          ID of the owner/user that created this entity

        • updatedAtstring
          Required

          Timestamp when this was updated

        • deprecatedboolean
          Required

          Whether this deployment is deprecated

        • descriptionstring
          Required

          Description of this entity

        • errorMessagestring

          JSON string of error object

        • enablePredictionsboolean
          Required

          Whether to allow predictions

    • metaobject

      Meta for FIND operations

      Show meta properties
      • countinteger
        Required
    • linksobject
      Required

      Resource links included in paginated responses

      Show links properties
      • lastobject
        Required
        Show last properties
        • hrefstring

          Link to the last set of responses from limit minus offset to limit

      • nextobject
        Required
        Show next properties
        • hrefstring

          Link to the next set of responses

      • prevobject
        Required
        Show prev properties
        • hrefstring

          Link to the previous set of responses

      • selfobject
        Required
        Show self properties
        • hrefstring

          Link to the current set of responses

      • firstobject
        Required
        Show first properties
        • hrefstring

          Link to the first set of responses from offset 0 to count `limit``

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

GET /v1/ml/deployments
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/deployments" \
-H "Authorization: Bearer <access_token>"
const https = require('https')
  const data = JSON.stringify("")
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/deployments',
    'method': 'GET',
    'headers': {
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  
This API is not included yet in qlik-cli

Response

{
  "data": [
    {
      "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
      "type": "deployment",
      "attributes": {
        "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
        "name": "string",
        "errors": "[{\"code\":\"AML-145\",\"title\":\"datasync dependent service error, service profile\",\"errorId\":\"c1546687-ad5d-4002-87f6-8c9711298db1\",\"meta\":{\"errorId\":\"c1546687-ad5d-4002-87f6-8c9711298db1\"}}]\n",
        "modelId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
        "ownerId": "string",
        "spaceId": "string",
        "createdAt": "string",
        "createdBy": "string",
        "updatedAt": "string",
        "deprecated": true,
        "description": "string",
        "errorMessage": "string",
        "enablePredictions": true
      }
    }
  ],
  "meta": {
    "count": 42
  },
  "links": {
    "last": {
      "href": "string"
    },
    "next": {
      "href": "string"
    },
    "prev": {
      "href": "string"
    },
    "self": {
      "href": "string"
    },
    "first": {
      "href": "string"
    }
  }
}

Create a deployment

Facts

Rate limit Tier 2 (100 requests per minute)
Categories

Request Body

application/json

Input for creating a new deployment

  • application/jsonobject

    Input for creating a new deployment

    Show application/json properties
    • dataobject
      Show data properties
      • typestring

        Can be one of: "deployment"

      • attributesobject
        Show attributes properties
        • namestring
          Required

          Name of this entity

        • modelIdstring
          Required

          ID of the model

        • spaceIdstring
          Required

          Space ID for this entity (empty string for personal space)

        • deprecatedboolean

          Whether this deployment is deprecated

        • descriptionstring

          Description of this entity

        • enablePredictionsboolean

          Whether to allow real-time predictions

Responses

201

application/json

Created

  • application/jsonobject
    Show application/json properties
    • dataobject
      Required
      Show data properties
      • idstring
        Required

        ID of this entity

      • typestring
        Required

        Can be one of: "deployment"

      • attributesobject
        Required

        A deployed model against which you can run predictions

        Show attributes properties
        • idstring
          Required

          ID of this entity

        • namestring
          Required

          Name of this entity

        • errorsarray of objects

          JSON string with list of error objects.

          Show errors properties
          • codestring
            Required

            Qlik error code (not HTTP response status code)

          • metaobject

            Additional details about the error. These may vary by error.

            Show meta properties
            • issuestring

              The issue code

            • detailsstring

              Extra details for what may have caused the error

            • errorIdstring

              The unique id of the error instance

            • argumentstring

              The argument

            • resourcestring

              The resource type that the error occurred on

            • resourceIdstring

              The resource id that the error occurred on

          • titlestring
            Required

            Short summary of error

          • detailstring

            Description of the error

        • modelIdstring
          Required

          ID of the model

        • ownerIdstring
          Required

          ID of owner/user for this entity

        • spaceIdstring
          Required

          Space ID for this entity (empty string for personal space)

        • createdAtstring
          Required

          Timestamp when this was created

        • createdBystring
          Required

          ID of the owner/user that created this entity

        • updatedAtstring
          Required

          Timestamp when this was updated

        • deprecatedboolean
          Required

          Whether this deployment is deprecated

        • descriptionstring
          Required

          Description of this entity

        • errorMessagestring

          JSON string of error object

        • enablePredictionsboolean
          Required

          Whether to allow predictions

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

POST /v1/ml/deployments
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/deployments" \
-X POST \
-H "Content-type: application/json" \
-H "Authorization: Bearer <access_token>" \
-d '{"data":{"type":"deployment","attributes":{"name":"string","modelId":"c35f4b70-3ce4-4a30-b62b-2aef16943bc4","spaceId":"string","deprecated":true,"description":"string","enablePredictions":true}}}'
const https = require('https')
  const data = JSON.stringify({"data":{"type":"deployment","attributes":{"name":"string","modelId":"c35f4b70-3ce4-4a30-b62b-2aef16943bc4","spaceId":"string","deprecated":true,"description":"string","enablePredictions":true}}})
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/deployments',
    'method': 'POST',
    'headers': {
      'Content-type': 'application/json',
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  req.write(data)
  
This API is not included yet in qlik-cli

Request

{
  "data": {
    "type": "deployment",
    "attributes": {
      "name": "string",
      "modelId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
      "spaceId": "string",
      "deprecated": true,
      "description": "string",
      "enablePredictions": true
    }
  }
}

Response

{
  "data": {
    "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
    "type": "deployment",
    "attributes": {
      "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
      "name": "string",
      "errors": "[{\"code\":\"AML-145\",\"title\":\"datasync dependent service error, service profile\",\"errorId\":\"c1546687-ad5d-4002-87f6-8c9711298db1\",\"meta\":{\"errorId\":\"c1546687-ad5d-4002-87f6-8c9711298db1\"}}]\n",
      "modelId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
      "ownerId": "string",
      "spaceId": "string",
      "createdAt": "string",
      "createdBy": "string",
      "updatedAt": "string",
      "deprecated": true,
      "description": "string",
      "errorMessage": "string",
      "enablePredictions": true
    }
  }
}

Get a deployment

Facts

Rate limit Tier 1 (1000 requests per minute)
Categories

Path Parameters

  • deploymentIdstring
    Required

    ID of the deployment

Responses

200

application/json

OK

  • application/jsonobject
    Show application/json properties
    • dataobject
      Required
      Show data properties
      • idstring
        Required

        ID of this entity

      • typestring
        Required

        Can be one of: "deployment"

      • attributesobject
        Required

        A deployed model against which you can run predictions

        Show attributes properties
        • idstring
          Required

          ID of this entity

        • namestring
          Required

          Name of this entity

        • errorsarray of objects

          JSON string with list of error objects.

          Show errors properties
          • codestring
            Required

            Qlik error code (not HTTP response status code)

          • metaobject

            Additional details about the error. These may vary by error.

            Show meta properties
            • issuestring

              The issue code

            • detailsstring

              Extra details for what may have caused the error

            • errorIdstring

              The unique id of the error instance

            • argumentstring

              The argument

            • resourcestring

              The resource type that the error occurred on

            • resourceIdstring

              The resource id that the error occurred on

          • titlestring
            Required

            Short summary of error

          • detailstring

            Description of the error

        • modelIdstring
          Required

          ID of the model

        • ownerIdstring
          Required

          ID of owner/user for this entity

        • spaceIdstring
          Required

          Space ID for this entity (empty string for personal space)

        • createdAtstring
          Required

          Timestamp when this was created

        • createdBystring
          Required

          ID of the owner/user that created this entity

        • updatedAtstring
          Required

          Timestamp when this was updated

        • deprecatedboolean
          Required

          Whether this deployment is deprecated

        • descriptionstring
          Required

          Description of this entity

        • errorMessagestring

          JSON string of error object

        • enablePredictionsboolean
          Required

          Whether to allow predictions

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

GET /v1/ml/deployments/{deploymentId}
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/deployments/{deploymentId}" \
-H "Authorization: Bearer <access_token>"
const https = require('https')
  const data = JSON.stringify("")
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/deployments/{deploymentId}',
    'method': 'GET',
    'headers': {
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  
This API is not included yet in qlik-cli

Response

{
  "data": {
    "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
    "type": "deployment",
    "attributes": {
      "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
      "name": "string",
      "errors": "[{\"code\":\"AML-145\",\"title\":\"datasync dependent service error, service profile\",\"errorId\":\"c1546687-ad5d-4002-87f6-8c9711298db1\",\"meta\":{\"errorId\":\"c1546687-ad5d-4002-87f6-8c9711298db1\"}}]\n",
      "modelId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
      "ownerId": "string",
      "spaceId": "string",
      "createdAt": "string",
      "createdBy": "string",
      "updatedAt": "string",
      "deprecated": true,
      "description": "string",
      "errorMessage": "string",
      "enablePredictions": true
    }
  }
}

Update a deployment

Facts

Rate limit Tier 2 (100 requests per minute)
Categories

Path Parameters

  • deploymentIdstring
    Required

    ID of the deployment

Request Body

application/json

Values that can be patched.

  • application/jsonarray of objects

    Values that can be patched.

    Show application/json properties
    • opstring
      Required

      All patch requests use the replace operation

      Can be one of: "replace"

    • pathstring
      Required

      Path for the property you want to update

      Can be one of: "/name""/description""/spaceId"

    • valueany
      Required

      Use for fields that can be any type (string, number, etc.)

Responses

204

No Content

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

PATCH /v1/ml/deployments/{deploymentId}
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/deployments/{deploymentId}" \
-X PATCH \
-H "Content-type: application/json" \
-H "Authorization: Bearer <access_token>" \
-d '[{"op":"replace","path":"/name","value":"New Name"}]'
const https = require('https')
  const data = JSON.stringify([{"op":"replace","path":"/name","value":"New Name"}])
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/deployments/{deploymentId}',
    'method': 'PATCH',
    'headers': {
      'Content-type': 'application/json',
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  req.write(data)
  
This API is not included yet in qlik-cli

Request

[
  {
    "op": "replace",
    "path": "/name",
    "value": "New Name"
  }
]

Delete a deployment

Facts

Rate limit Tier 2 (100 requests per minute)
Categories

Path Parameters

  • deploymentIdstring
    Required

    ID of the deployment

Responses

204

No Content

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

DELETE /v1/ml/deployments/{deploymentId}
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/deployments/{deploymentId}" \
-X DELETE \
-H "Authorization: Bearer <access_token>"
const https = require('https')
  const data = JSON.stringify("")
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/deployments/{deploymentId}',
    'method': 'DELETE',
    'headers': {
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  
This API is not included yet in qlik-cli

Activate the model for this deployment

Facts

Rate limit Tier 2 (100 requests per minute)
Categories

Path Parameters

  • deploymentIdstring
    Required

    ID of the deployment

Responses

204

No Content

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

POST /v1/ml/deployments/{deploymentId}/actions/activate-models
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/deployments/{deploymentId}/actions/activate-models" \
-X POST \
-H "Authorization: Bearer <access_token>"
const https = require('https')
  const data = JSON.stringify("")
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/deployments/{deploymentId}/actions/activate-models',
    'method': 'POST',
    'headers': {
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  
This API is not included yet in qlik-cli

Deactivate the model for this deployment

Facts

Rate limit Tier 2 (100 requests per minute)
Categories

Path Parameters

  • deploymentIdstring
    Required

    ID of the deployment

Responses

204

No Content

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

POST /v1/ml/deployments/{deploymentId}/actions/deactivate-models
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/deployments/{deploymentId}/actions/deactivate-models" \
-X POST \
-H "Authorization: Bearer <access_token>"
const https = require('https')
  const data = JSON.stringify("")
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/deployments/{deploymentId}/actions/deactivate-models',
    'method': 'POST',
    'headers': {
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  
This API is not included yet in qlik-cli

List batch prediction configurations

Facts

Rate limit Tier 1 (1000 requests per minute)
Categories

Query Parameters

  • filterstring

    Batch prediction fields by which you can filter responses.

    • modelId UUID string - By model ID
  • sortstring

    Field(s) by which to sort response

    Can be one of: "createdAt""+createdAt""-createdAt""description""+description""-description""name""+name""-name""updatedAt""+updatedAt""-updatedAt"

  • limitinteger

    Number of results per page. Default is 32.

  • offsetinteger

    Number of rows to skip before getting page[size]

Path Parameters

  • deploymentIdstring
    Required

    ID of the deployment

Responses

200

application/json

OK

  • application/jsonobject
    Show application/json properties
    • dataarray of objects
      Required
      Show data properties
      • idstring
        Required

        ID of this entity

      • typestring
        Required

        Can be one of: "batch-prediction"

      • attributesobject
        Required

        A batch prediction job configuration

        Show attributes properties
        • idstring

          ID of this entity

        • namestring

          Name of this entity

        • errorsarray of objects

          JSON string with list of error objects.

          Show errors properties
          • codestring
            Required

            Qlik error code (not HTTP response status code)

          • metaobject

            Additional details about the error. These may vary by error.

            Show meta properties
            • issuestring

              The issue code

            • detailsstring

              Extra details for what may have caused the error

            • errorIdstring

              The unique id of the error instance

            • argumentstring

              The argument

            • resourcestring

              The resource type that the error occurred on

            • resourceIdstring

              The resource id that the error occurred on

          • titlestring
            Required

            Short summary of error

          • detailstring

            Description of the error

        • statusstring

          Status of this batch prediction

          Can be one of: "modified""ready""error""cancelled""pending"

        • ownerIdstring

          ID of owner/user for this entity

        • scheduleobject

          Batch prediction job schedule

          Show schedule properties
          • statusstring

            The status of the schedule

            Can be one of: "pending""active""error""error_scheduler_unreachable""error_scheduler_callback_error""licence_advanced_features_required""failing_schedule_permission"

          • timezonestring

            Timezone used for the date-time fields

          • recurrencearray of strings

            Recurrence rules. Maximum is DAILY but you can specify the hour, minute, and second it runs each day. One string per rule.

          • endDateTimestring

            When the job finished

          • chronosJobIdstring

            The ID of the chronos job

          • startDateTimestring

            When the job is scheduled to start

          • failureAttemptsnumber

            Number of times a scheduled prediction job has failed

          • applyDatasetChangeOnlyboolean

            If true, only run prediction if dataset has changed to avoid duplicates. If set to false, re-runs predictions on unchanged datasets.

          • lastSuccessfulDateTimestring

            When the last successful job happened

        • createdAtstring

          Timestamp when this was created

        • createdBystring

          ID of the owner/user that ran this prediction batch

        • dataSetIdstring

          The Qlik catalog dataset ID

        • datasetIdstring

          ID of the dataset with the prediction results

        • updatedAtstring

          Timestamp when this was updated

        • writebackobject

          Sets which files, file names, and spaces are used to write results of batch predictions (output files) to the catalog.

          Show writeback properties
          • formatstring
            Required

            File format for write back files (this applies to all)

            Can be one of: "qvd""parquet""csv"

          • dstNamestring
            Required
          • spaceIdstring
            Required

            Space ID where you want to save batch prediction writebacks or empty string ('') save them to your personal space.

          • dstShapNamestring
          • dstSourceNamestring
          • dstCoordShapNamestring
          • dstNotPredictedNamestring
        • indexColumnstring

          A column name upon which to create an index

        • deploymentIdstring

          ID of the deployment that processes these predictions

        • errorMessagestring

          JSON string of error object

        • outputDatasetstring

          Where to output dataset

    • metaobject

      Meta for FIND operations

      Show meta properties
      • countinteger
        Required
    • linksobject
      Required

      Resource links included in paginated responses

      Show links properties
      • lastobject
        Required
        Show last properties
        • hrefstring

          Link to the last set of responses from limit minus offset to limit

      • nextobject
        Required
        Show next properties
        • hrefstring

          Link to the next set of responses

      • prevobject
        Required
        Show prev properties
        • hrefstring

          Link to the previous set of responses

      • selfobject
        Required
        Show self properties
        • hrefstring

          Link to the current set of responses

      • firstobject
        Required
        Show first properties
        • hrefstring

          Link to the first set of responses from offset 0 to count `limit``

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

GET /v1/ml/deployments/{deploymentId}/batch-predictions
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/deployments/{deploymentId}/batch-predictions" \
-H "Authorization: Bearer <access_token>"
const https = require('https')
  const data = JSON.stringify("")
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/deployments/{deploymentId}/batch-predictions',
    'method': 'GET',
    'headers': {
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  
This API is not included yet in qlik-cli

Response

{
  "data": [
    {
      "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
      "type": "batch-prediction",
      "attributes": {
        "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
        "name": "string",
        "errors": "[{\"code\":\"AML-145\",\"title\":\"datasync dependent service error, service profile\",\"errorId\":\"c1546687-ad5d-4002-87f6-8c9711298db1\",\"meta\":{\"errorId\":\"c1546687-ad5d-4002-87f6-8c9711298db1\"}}]\n",
        "status": "modified",
        "ownerId": "string",
        "schedule": {
          "status": "pending",
          "timezone": "America/Toronto",
          "recurrence": [
            [
              "Daily at 11:10:00 AM [\"RRULE:FREQ=DAILY;BYHOUR=11;BYMINUTE=10;BYSECOND=0\"]",
              "Weekly on Mondays at 11:10:00 AM [\"RRULE:FREQ=WEEKLY;INTERVAL:1;BYDAY=MO;BYHOUR=11;BYMINUTE=10;BYSECOND=0\"]"
            ]
          ],
          "endDateTime": "string",
          "chronosJobId": "string",
          "startDateTime": "string",
          "failureAttempts": 42,
          "applyDatasetChangeOnly": true,
          "lastSuccessfulDateTime": "string"
        },
        "createdAt": "string",
        "createdBy": "string",
        "dataSetId": "672e55cfcadfb8a18281523e",
        "datasetId": "string",
        "updatedAt": "string",
        "writeback": {
          "format": "parquet",
          "dstName": "string",
          "spaceId": "string",
          "dstShapName": "string",
          "dstSourceName": "string",
          "dstCoordShapName": "string",
          "dstNotPredictedName": "string"
        },
        "indexColumn": "string",
        "deploymentId": "string",
        "errorMessage": "string",
        "outputDataset": "string"
      }
    }
  ],
  "meta": {
    "count": 42
  },
  "links": {
    "last": {
      "href": "string"
    },
    "next": {
      "href": "string"
    },
    "prev": {
      "href": "string"
    },
    "self": {
      "href": "string"
    },
    "first": {
      "href": "string"
    }
  }
}

Create a prediction configuration

Facts

Rate limit Tier 2 (100 requests per minute)
Categories

Path Parameters

  • deploymentIdstring
    Required

    ID of the deployment

Request Body

application/json

Input values for creating a batch prediction configuration

  • application/jsonobject

    Input values for creating a batch prediction configuration

    Show application/json properties
    • dataobject
      Show data properties
      • typestring

        Can be one of: "batch-prediction"

      • attributesobject
        Show attributes properties
        • namestring

          Name of this entity

        • scheduleobject

          Configuration to schedule a batch prediction

          Show schedule properties
          • timezonestring
            Required

            Timezone used for the date-time fields

          • recurrencearray of strings

            Recurrence rules. Maximum is DAILY but you can specify the hour, minute, and second it runs each day. One string per rule.

          • endDateTimestring

            When the job is scheduled to finish

          • startDateTimestring
            Required

            When the job is scheduled to start

          • applyDatasetChangeOnlyboolean

            If true, only run prediction if dataset has changed to avoid duplicates. If set to false, re-runs predictions on unchanged datasets.

        • dataSetIdstring

          The Qlik catalog dataset ID

        • writebackobject

          Sets which files, file names, and spaces are used to write results of batch predictions (output files) to the catalog.

          Show writeback properties
          • formatstring
            Required

            File format for write back files (this applies to all)

            Can be one of: "qvd""parquet""csv"

          • dstNamestring
            Required
          • spaceIdstring
            Required

            Space ID where you want to save batch prediction writebacks or empty string ('') save them to your personal space.

          • dstShapNamestring
          • dstSourceNamestring
          • dstCoordShapNamestring
          • dstNotPredictedNamestring
        • descriptionstring
        • indexColumnstring

          A column name upon which to create an index (empty string or undefined will default to automl-generated index)

        • deploymentIdstring

          The ID of the deployment used to make these predictions

Responses

201

application/json

Created

  • application/jsonobject
    Show application/json properties
    • dataobject
      Required
      Show data properties
      • idstring
        Required

        ID of this entity

      • typestring
        Required

        Can be one of: "batch-prediction"

      • attributesobject
        Required

        A batch prediction job configuration

        Show attributes properties
        • idstring

          ID of this entity

        • namestring

          Name of this entity

        • errorsarray of objects

          JSON string with list of error objects.

          Show errors properties
          • codestring
            Required

            Qlik error code (not HTTP response status code)

          • metaobject

            Additional details about the error. These may vary by error.

            Show meta properties
            • issuestring

              The issue code

            • detailsstring

              Extra details for what may have caused the error

            • errorIdstring

              The unique id of the error instance

            • argumentstring

              The argument

            • resourcestring

              The resource type that the error occurred on

            • resourceIdstring

              The resource id that the error occurred on

          • titlestring
            Required

            Short summary of error

          • detailstring

            Description of the error

        • statusstring

          Status of this batch prediction

          Can be one of: "modified""ready""error""cancelled""pending"

        • ownerIdstring

          ID of owner/user for this entity

        • scheduleobject

          Batch prediction job schedule

          Show schedule properties
          • statusstring

            The status of the schedule

            Can be one of: "pending""active""error""error_scheduler_unreachable""error_scheduler_callback_error""licence_advanced_features_required""failing_schedule_permission"

          • timezonestring

            Timezone used for the date-time fields

          • recurrencearray of strings

            Recurrence rules. Maximum is DAILY but you can specify the hour, minute, and second it runs each day. One string per rule.

          • endDateTimestring

            When the job finished

          • chronosJobIdstring

            The ID of the chronos job

          • startDateTimestring

            When the job is scheduled to start

          • failureAttemptsnumber

            Number of times a scheduled prediction job has failed

          • applyDatasetChangeOnlyboolean

            If true, only run prediction if dataset has changed to avoid duplicates. If set to false, re-runs predictions on unchanged datasets.

          • lastSuccessfulDateTimestring

            When the last successful job happened

        • createdAtstring

          Timestamp when this was created

        • createdBystring

          ID of the owner/user that ran this prediction batch

        • dataSetIdstring

          The Qlik catalog dataset ID

        • datasetIdstring

          ID of the dataset with the prediction results

        • updatedAtstring

          Timestamp when this was updated

        • writebackobject

          Sets which files, file names, and spaces are used to write results of batch predictions (output files) to the catalog.

          Show writeback properties
          • formatstring
            Required

            File format for write back files (this applies to all)

            Can be one of: "qvd""parquet""csv"

          • dstNamestring
            Required
          • spaceIdstring
            Required

            Space ID where you want to save batch prediction writebacks or empty string ('') save them to your personal space.

          • dstShapNamestring
          • dstSourceNamestring
          • dstCoordShapNamestring
          • dstNotPredictedNamestring
        • indexColumnstring

          A column name upon which to create an index

        • deploymentIdstring

          ID of the deployment that processes these predictions

        • errorMessagestring

          JSON string of error object

        • outputDatasetstring

          Where to output dataset

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

POST /v1/ml/deployments/{deploymentId}/batch-predictions
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/deployments/{deploymentId}/batch-predictions" \
-X POST \
-H "Content-type: application/json" \
-H "Authorization: Bearer <access_token>" \
-d '{"data":{"type":"batch-prediction","attributes":{"name":"string","schedule":{"timezone":"America/Toronto","recurrence":["RRULE:FREQ=DAILY;INTERVAL=1;BYHOUR=16;BYMINUTE=30;BYSECOND=0"],"endDateTime":"2025-12-31T23:59:00","startDateTime":"2025-12-25T00:00:00","applyDatasetChangeOnly":true},"dataSetId":"672e55cfcadfb8a18281523e","writeback":{"format":"parquet","dstName":"string","spaceId":"string","dstShapName":"string","dstSourceName":"string","dstCoordShapName":"string","dstNotPredictedName":"string"},"description":"string","indexColumn":"string","deploymentId":"string"}}}'
const https = require('https')
  const data = JSON.stringify({"data":{"type":"batch-prediction","attributes":{"name":"string","schedule":{"timezone":"America/Toronto","recurrence":["RRULE:FREQ=DAILY;INTERVAL=1;BYHOUR=16;BYMINUTE=30;BYSECOND=0"],"endDateTime":"2025-12-31T23:59:00","startDateTime":"2025-12-25T00:00:00","applyDatasetChangeOnly":true},"dataSetId":"672e55cfcadfb8a18281523e","writeback":{"format":"parquet","dstName":"string","spaceId":"string","dstShapName":"string","dstSourceName":"string","dstCoordShapName":"string","dstNotPredictedName":"string"},"description":"string","indexColumn":"string","deploymentId":"string"}}})
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/deployments/{deploymentId}/batch-predictions',
    'method': 'POST',
    'headers': {
      'Content-type': 'application/json',
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  req.write(data)
  
This API is not included yet in qlik-cli

Request

{
  "data": {
    "type": "batch-prediction",
    "attributes": {
      "name": "string",
      "schedule": {
        "timezone": "America/Toronto",
        "recurrence": [
          "RRULE:FREQ=DAILY;INTERVAL=1;BYHOUR=16;BYMINUTE=30;BYSECOND=0"
        ],
        "endDateTime": "2025-12-31T23:59:00",
        "startDateTime": "2025-12-25T00:00:00",
        "applyDatasetChangeOnly": true
      },
      "dataSetId": "672e55cfcadfb8a18281523e",
      "writeback": {
        "format": "parquet",
        "dstName": "string",
        "spaceId": "string",
        "dstShapName": "string",
        "dstSourceName": "string",
        "dstCoordShapName": "string",
        "dstNotPredictedName": "string"
      },
      "description": "string",
      "indexColumn": "string",
      "deploymentId": "string"
    }
  }
}

Response

{
  "data": {
    "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
    "type": "batch-prediction",
    "attributes": {
      "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
      "name": "string",
      "errors": "[{\"code\":\"AML-145\",\"title\":\"datasync dependent service error, service profile\",\"errorId\":\"c1546687-ad5d-4002-87f6-8c9711298db1\",\"meta\":{\"errorId\":\"c1546687-ad5d-4002-87f6-8c9711298db1\"}}]\n",
      "status": "modified",
      "ownerId": "string",
      "schedule": {
        "status": "pending",
        "timezone": "America/Toronto",
        "recurrence": [
          [
            "Daily at 11:10:00 AM [\"RRULE:FREQ=DAILY;BYHOUR=11;BYMINUTE=10;BYSECOND=0\"]",
            "Weekly on Mondays at 11:10:00 AM [\"RRULE:FREQ=WEEKLY;INTERVAL:1;BYDAY=MO;BYHOUR=11;BYMINUTE=10;BYSECOND=0\"]"
          ]
        ],
        "endDateTime": "string",
        "chronosJobId": "string",
        "startDateTime": "string",
        "failureAttempts": 42,
        "applyDatasetChangeOnly": true,
        "lastSuccessfulDateTime": "string"
      },
      "createdAt": "string",
      "createdBy": "string",
      "dataSetId": "672e55cfcadfb8a18281523e",
      "datasetId": "string",
      "updatedAt": "string",
      "writeback": {
        "format": "parquet",
        "dstName": "string",
        "spaceId": "string",
        "dstShapName": "string",
        "dstSourceName": "string",
        "dstCoordShapName": "string",
        "dstNotPredictedName": "string"
      },
      "indexColumn": "string",
      "deploymentId": "string",
      "errorMessage": "string",
      "outputDataset": "string"
    }
  }
}

Retrieve a batch prediction

Facts

Rate limit Tier 1 (1000 requests per minute)
Categories

Path Parameters

  • deploymentIdstring
    Required

    ID of the deployment

  • batchPredictionIdstring
    Required

    ID of the batch prediction

Responses

200

application/json

OK

  • application/jsonobject
    Show application/json properties
    • dataobject
      Required
      Show data properties
      • idstring
        Required

        ID of this entity

      • typestring
        Required

        Can be one of: "batch-prediction"

      • attributesobject
        Required

        A batch prediction job configuration

        Show attributes properties
        • idstring

          ID of this entity

        • namestring

          Name of this entity

        • errorsarray of objects

          JSON string with list of error objects.

          Show errors properties
          • codestring
            Required

            Qlik error code (not HTTP response status code)

          • metaobject

            Additional details about the error. These may vary by error.

            Show meta properties
            • issuestring

              The issue code

            • detailsstring

              Extra details for what may have caused the error

            • errorIdstring

              The unique id of the error instance

            • argumentstring

              The argument

            • resourcestring

              The resource type that the error occurred on

            • resourceIdstring

              The resource id that the error occurred on

          • titlestring
            Required

            Short summary of error

          • detailstring

            Description of the error

        • statusstring

          Status of this batch prediction

          Can be one of: "modified""ready""error""cancelled""pending"

        • ownerIdstring

          ID of owner/user for this entity

        • scheduleobject

          Batch prediction job schedule

          Show schedule properties
          • statusstring

            The status of the schedule

            Can be one of: "pending""active""error""error_scheduler_unreachable""error_scheduler_callback_error""licence_advanced_features_required""failing_schedule_permission"

          • timezonestring

            Timezone used for the date-time fields

          • recurrencearray of strings

            Recurrence rules. Maximum is DAILY but you can specify the hour, minute, and second it runs each day. One string per rule.

          • endDateTimestring

            When the job finished

          • chronosJobIdstring

            The ID of the chronos job

          • startDateTimestring

            When the job is scheduled to start

          • failureAttemptsnumber

            Number of times a scheduled prediction job has failed

          • applyDatasetChangeOnlyboolean

            If true, only run prediction if dataset has changed to avoid duplicates. If set to false, re-runs predictions on unchanged datasets.

          • lastSuccessfulDateTimestring

            When the last successful job happened

        • createdAtstring

          Timestamp when this was created

        • createdBystring

          ID of the owner/user that ran this prediction batch

        • dataSetIdstring

          The Qlik catalog dataset ID

        • datasetIdstring

          ID of the dataset with the prediction results

        • updatedAtstring

          Timestamp when this was updated

        • writebackobject

          Sets which files, file names, and spaces are used to write results of batch predictions (output files) to the catalog.

          Show writeback properties
          • formatstring
            Required

            File format for write back files (this applies to all)

            Can be one of: "qvd""parquet""csv"

          • dstNamestring
            Required
          • spaceIdstring
            Required

            Space ID where you want to save batch prediction writebacks or empty string ('') save them to your personal space.

          • dstShapNamestring
          • dstSourceNamestring
          • dstCoordShapNamestring
          • dstNotPredictedNamestring
        • indexColumnstring

          A column name upon which to create an index

        • deploymentIdstring

          ID of the deployment that processes these predictions

        • errorMessagestring

          JSON string of error object

        • outputDatasetstring

          Where to output dataset

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

GET /v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}" \
-H "Authorization: Bearer <access_token>"
const https = require('https')
  const data = JSON.stringify("")
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}',
    'method': 'GET',
    'headers': {
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  
This API is not included yet in qlik-cli

Response

{
  "data": {
    "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
    "type": "batch-prediction",
    "attributes": {
      "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
      "name": "string",
      "errors": "[{\"code\":\"AML-145\",\"title\":\"datasync dependent service error, service profile\",\"errorId\":\"c1546687-ad5d-4002-87f6-8c9711298db1\",\"meta\":{\"errorId\":\"c1546687-ad5d-4002-87f6-8c9711298db1\"}}]\n",
      "status": "modified",
      "ownerId": "string",
      "schedule": {
        "status": "pending",
        "timezone": "America/Toronto",
        "recurrence": [
          [
            "Daily at 11:10:00 AM [\"RRULE:FREQ=DAILY;BYHOUR=11;BYMINUTE=10;BYSECOND=0\"]",
            "Weekly on Mondays at 11:10:00 AM [\"RRULE:FREQ=WEEKLY;INTERVAL:1;BYDAY=MO;BYHOUR=11;BYMINUTE=10;BYSECOND=0\"]"
          ]
        ],
        "endDateTime": "string",
        "chronosJobId": "string",
        "startDateTime": "string",
        "failureAttempts": 42,
        "applyDatasetChangeOnly": true,
        "lastSuccessfulDateTime": "string"
      },
      "createdAt": "string",
      "createdBy": "string",
      "dataSetId": "672e55cfcadfb8a18281523e",
      "datasetId": "string",
      "updatedAt": "string",
      "writeback": {
        "format": "parquet",
        "dstName": "string",
        "spaceId": "string",
        "dstShapName": "string",
        "dstSourceName": "string",
        "dstCoordShapName": "string",
        "dstNotPredictedName": "string"
      },
      "indexColumn": "string",
      "deploymentId": "string",
      "errorMessage": "string",
      "outputDataset": "string"
    }
  }
}

Updates a batch prediction

Facts

Rate limit Tier 2 (100 requests per minute)
Categories

Path Parameters

  • deploymentIdstring
    Required

    ID of the deployment

  • batchPredictionIdstring
    Required

    ID of the batch prediction

Request Body

application/json

Values that can be patched. - name: Name of this entity - description: Description of this entity - dataSetId - outputDataset - indexColumn: Column name upon which to create an index (empty string or undefined will default to automl-generated index) - applyDatasetChangeOnly - ownerId: ID of batch owner/user - writeback: Where to write prediction results

  • application/jsonarray of objects

    Values that can be patched.

    • name: Name of this entity
    • description: Description of this entity
    • dataSetId
    • outputDataset
    • indexColumn: Column name upon which to create an index (empty string or undefined will default to automl-generated index)
    • applyDatasetChangeOnly
    • ownerId: ID of batch owner/user
    • writeback: Where to write prediction results
    Show application/json properties
    • opstring
      Required

      All patch requests use the replace operation

      Can be one of: "replace"

    • pathstring
      Required

      Path for the property you want to update

      Can be one of: "/name""/description""/dataSetId""/indexColumn""/applyDatasetChangeOnly""/ownerId""/writeback/spaceId""/writeback/format""/writeback/dstName""/writeback/dstShapName""/writeback/dstCoordShapName""/writeback/dstNotPredictedName""/writeback/dstSourceName"

    • valueany
      Required

      Use for fields that can be any type (string, number, etc.)

Responses

204

No Content

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

PATCH /v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}" \
-X PATCH \
-H "Content-type: application/json" \
-H "Authorization: Bearer <access_token>" \
-d '[{"op":"replace","path":"/name","value":"New Name"}]'
const https = require('https')
  const data = JSON.stringify([{"op":"replace","path":"/name","value":"New Name"}])
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}',
    'method': 'PATCH',
    'headers': {
      'Content-type': 'application/json',
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  req.write(data)
  
This API is not included yet in qlik-cli

Request

[
  {
    "op": "replace",
    "path": "/name",
    "value": "New Name"
  }
]

Delete a batch prediction

Facts

Rate limit Tier 2 (100 requests per minute)
Categories

Path Parameters

  • deploymentIdstring
    Required

    ID of the deployment

  • batchPredictionIdstring
    Required

    ID of the batch prediction

Responses

204

No Content

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

DELETE /v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}" \
-X DELETE \
-H "Authorization: Bearer <access_token>"
const https = require('https')
  const data = JSON.stringify("")
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}',
    'method': 'DELETE',
    'headers': {
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  
This API is not included yet in qlik-cli

Run a batch prediction

Facts

Rate limit Tier 2 (100 requests per minute)
Categories

Path Parameters

  • deploymentIdstring
    Required

    ID of the deployment

  • batchPredictionIdstring
    Required

    ID of the batch prediction

Responses

202

application/json

Accepted

Response for batch prediction predict action that indicates job and status

  • application/jsonobject

    Response for batch prediction predict action that indicates job and status

    Show application/json properties
    • dataobject
      Required
      Show data properties
      • idstring
        Required

        ID of this entity

      • typestring
        Required

        Can be one of: "job"

      • attributesobject
        Required
        Show attributes properties
        • idstring
          Required

          ID of this entity

        • namestring
          Required
        • corrIdstring
          Required

          The ID of a correlated resource of corrType

        • statusstring
          Required

          Status of this job

          Can be one of: "pending""completed""cancelled""error"

        • detailsobject
          Required
          Show details properties
          • isScheduledboolean
            Required
          • outputFilesarray of objects
            Required
            Show outputFiles properties
            • keystring
              Required
            • pathstring
              Required
            • spaceIdstring
              Required
            • fileNamestring
              Required
            • fileTypestring
              Required
          • lineageSchemaUpdatedboolean
            Required
        • jobTypestring
          Required

          Can be one of: "prediction"

        • modelIdstring
          Required

          ID of the model

        • successboolean
          Required
        • triggerstring
          Required
        • corrTypestring
          Required

          Types names of correlated resources (batch 'prediction' and experiment_version)

          Can be one of: "batch-prediction""experiment-version"

        • tenantIdstring
          Required

          Tenant ID for this entity

        • createdAtstring
          Required

          Timestamp when this was created

        • createdBystring
          Required

          ID of the owner/user that created this entity

        • deletedAtstring
          Required

          Timestamp when this is deleted

        • updatedAtstring
          Required

          Timestamp when this was updated

        • parentNamestring
          Required
        • parentJobIdstring
          Required
        • deploymentIdstring
          Required

          The ID of the deployment used to make these predictions

        • rowsPredictednumber
          Required
        • experimentVersionNumberstring
          Required

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

POST /v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/actions/predict
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/actions/predict" \
-X POST \
-H "Authorization: Bearer <access_token>"
const https = require('https')
  const data = JSON.stringify("")
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/actions/predict',
    'method': 'POST',
    'headers': {
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  
This API is not included yet in qlik-cli

Response

{
  "data": {
    "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
    "type": "job",
    "attributes": {
      "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
      "name": "string",
      "corrId": "string",
      "status": "pending",
      "details": {
        "isScheduled": true,
        "outputFiles": [
          {
            "key": "string",
            "path": "string",
            "spaceId": "string",
            "fileName": "string",
            "fileType": "string"
          }
        ],
        "lineageSchemaUpdated": true
      },
      "jobType": "prediction",
      "modelId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
      "success": true,
      "trigger": "string",
      "corrType": "batch-prediction",
      "tenantId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
      "createdAt": "string",
      "createdBy": "string",
      "deletedAt": "string",
      "updatedAt": "string",
      "parentName": "string",
      "parentJobId": "string",
      "deploymentId": "string",
      "rowsPredicted": 42,
      "experimentVersionNumber": "string"
    }
  }
}

Get a batch prediction schedule

Retrieves the schedule for a batch prediction.

Facts

Rate limit Tier 1 (1000 requests per minute)
Categories

Path Parameters

  • deploymentIdstring
    Required

    ID of the deployment

  • batchPredictionIdstring
    Required

    ID of the batch prediction

Responses

200

application/json

OK

  • application/jsonobject
    Show application/json properties
    • dataobject
      Required
      Show data properties
      • idstring
        Required

        ID of this entity

      • typestring
        Required

        Can be one of: "batch-prediction-schedule"

      • attributesobject
        Required

        Batch prediction job schedule

        Show attributes properties
        • statusstring

          The status of the schedule

          Can be one of: "pending""active""error""error_scheduler_unreachable""error_scheduler_callback_error""licence_advanced_features_required""failing_schedule_permission"

        • timezonestring

          Timezone used for the date-time fields

        • recurrencearray of strings

          Recurrence rules. Maximum is DAILY but you can specify the hour, minute, and second it runs each day. One string per rule.

        • endDateTimestring

          When the job finished

        • chronosJobIdstring

          The ID of the chronos job

        • startDateTimestring

          When the job is scheduled to start

        • failureAttemptsnumber

          Number of times a scheduled prediction job has failed

        • applyDatasetChangeOnlyboolean

          If true, only run prediction if dataset has changed to avoid duplicates. If set to false, re-runs predictions on unchanged datasets.

        • lastSuccessfulDateTimestring

          When the last successful job happened

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

GET /v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule" \
-H "Authorization: Bearer <access_token>"
const https = require('https')
  const data = JSON.stringify("")
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule',
    'method': 'GET',
    'headers': {
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  
This API is not included yet in qlik-cli

Response

{
  "data": {
    "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
    "type": "batch-prediction-schedule",
    "attributes": {
      "status": "pending",
      "timezone": "America/Toronto",
      "recurrence": [
        [
          "Daily at 11:10:00 AM [\"RRULE:FREQ=DAILY;BYHOUR=11;BYMINUTE=10;BYSECOND=0\"]",
          "Weekly on Mondays at 11:10:00 AM [\"RRULE:FREQ=WEEKLY;INTERVAL:1;BYDAY=MO;BYHOUR=11;BYMINUTE=10;BYSECOND=0\"]"
        ]
      ],
      "endDateTime": "string",
      "chronosJobId": "string",
      "startDateTime": "string",
      "failureAttempts": 42,
      "applyDatasetChangeOnly": true,
      "lastSuccessfulDateTime": "string"
    }
  }
}

Update a batch prediction schedule

Updates the schedule for a batch prediction.

Facts

Rate limit Tier 2 (100 requests per minute)
Categories

Path Parameters

  • deploymentIdstring
    Required

    ID of the deployment

  • batchPredictionIdstring
    Required

    ID of the batch prediction

Request Body

application/json

Values that can be patched. - startDateTime: When the batch starts, if scheduled - endDateTime: When batch ends, if scheduled - timeZone: Timezone used for scheduling - recurrence: Array of strings to indicate when this batch recurs - applyDatasetChangeOnly: Only run prediction if dataset has changed?

  • application/jsonarray of objects

    Values that can be patched.

    • startDateTime: When the batch starts, if scheduled
    • endDateTime: When batch ends, if scheduled
    • timeZone: Timezone used for scheduling
    • recurrence: Array of strings to indicate when this batch recurs
    • applyDatasetChangeOnly: Only run prediction if dataset has changed?
    Show application/json properties
    • opstring
      Required

      All patch requests use the replace operation

      Can be one of: "replace"

    • pathstring
      Required

      Path for the property you want to update

      Can be one of: "/startDateTime""/endDateTime""/timezone""/recurrence""/applyDatasetChangeOnly"

    • valueany
      Required

      Use for fields that can be any type (string, number, etc.)

Responses

204

No Content

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

PATCH /v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule" \
-X PATCH \
-H "Content-type: application/json" \
-H "Authorization: Bearer <access_token>" \
-d '[{"op":"replace","path":"/startDateTime","value":"2022-09-14T12:00:00"}]'
const https = require('https')
  const data = JSON.stringify([{"op":"replace","path":"/startDateTime","value":"2022-09-14T12:00:00"}])
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule',
    'method': 'PATCH',
    'headers': {
      'Content-type': 'application/json',
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  req.write(data)
  
This API is not included yet in qlik-cli

Request

[
  {
    "op": "replace",
    "path": "/startDateTime",
    "value": "2022-09-14T12:00:00"
  }
]

Add a batch prediction schedule

Adds a schedule to a batch prediction.

Facts

Rate limit Tier 2 (100 requests per minute)
Categories

Path Parameters

  • deploymentIdstring
    Required

    ID of the deployment

  • batchPredictionIdstring
    Required

    ID of the batch prediction

Request Body

application/json

Input values for a batch prediction schedule

  • application/jsonobject

    Input values for a batch prediction schedule

    Show application/json properties
    • dataobject
      Show data properties
      • typestring

        Can be one of: "batch-prediction-schedule"

      • attributesobject

        Configuration to schedule a batch prediction

        Show attributes properties
        • timezonestring
          Required

          Timezone used for the date-time fields

        • recurrencearray of strings

          Recurrence rules. Maximum is DAILY but you can specify the hour, minute, and second it runs each day. One string per rule.

        • endDateTimestring

          When the job is scheduled to finish

        • startDateTimestring
          Required

          When the job is scheduled to start

        • applyDatasetChangeOnlyboolean

          If true, only run prediction if dataset has changed to avoid duplicates. If set to false, re-runs predictions on unchanged datasets.

Responses

201

application/json

Created

  • application/jsonobject
    Show application/json properties
    • dataobject
      Required
      Show data properties
      • idstring
        Required

        ID of this entity

      • typestring
        Required

        Can be one of: "batch-prediction-schedule"

      • attributesobject
        Required

        Batch prediction job schedule

        Show attributes properties
        • statusstring

          The status of the schedule

          Can be one of: "pending""active""error""error_scheduler_unreachable""error_scheduler_callback_error""licence_advanced_features_required""failing_schedule_permission"

        • timezonestring

          Timezone used for the date-time fields

        • recurrencearray of strings

          Recurrence rules. Maximum is DAILY but you can specify the hour, minute, and second it runs each day. One string per rule.

        • endDateTimestring

          When the job finished

        • chronosJobIdstring

          The ID of the chronos job

        • startDateTimestring

          When the job is scheduled to start

        • failureAttemptsnumber

          Number of times a scheduled prediction job has failed

        • applyDatasetChangeOnlyboolean

          If true, only run prediction if dataset has changed to avoid duplicates. If set to false, re-runs predictions on unchanged datasets.

        • lastSuccessfulDateTimestring

          When the last successful job happened

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

PUT /v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule" \
-X PUT \
-H "Content-type: application/json" \
-H "Authorization: Bearer <access_token>" \
-d '{"data":{"type":"batch-prediction-schedule","attributes":{"timezone":"America/Toronto","recurrence":["RRULE:FREQ=DAILY;INTERVAL=1;BYHOUR=16;BYMINUTE=30;BYSECOND=0"],"endDateTime":"2025-12-31T23:59:00","startDateTime":"2025-12-25T00:00:00","applyDatasetChangeOnly":true}}}'
const https = require('https')
  const data = JSON.stringify({"data":{"type":"batch-prediction-schedule","attributes":{"timezone":"America/Toronto","recurrence":["RRULE:FREQ=DAILY;INTERVAL=1;BYHOUR=16;BYMINUTE=30;BYSECOND=0"],"endDateTime":"2025-12-31T23:59:00","startDateTime":"2025-12-25T00:00:00","applyDatasetChangeOnly":true}}})
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule',
    'method': 'PUT',
    'headers': {
      'Content-type': 'application/json',
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  req.write(data)
  
This API is not included yet in qlik-cli

Request

{
  "data": {
    "type": "batch-prediction-schedule",
    "attributes": {
      "timezone": "America/Toronto",
      "recurrence": [
        "RRULE:FREQ=DAILY;INTERVAL=1;BYHOUR=16;BYMINUTE=30;BYSECOND=0"
      ],
      "endDateTime": "2025-12-31T23:59:00",
      "startDateTime": "2025-12-25T00:00:00",
      "applyDatasetChangeOnly": true
    }
  }
}

Response

{
  "data": {
    "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
    "type": "batch-prediction-schedule",
    "attributes": {
      "status": "pending",
      "timezone": "America/Toronto",
      "recurrence": [
        [
          "Daily at 11:10:00 AM [\"RRULE:FREQ=DAILY;BYHOUR=11;BYMINUTE=10;BYSECOND=0\"]",
          "Weekly on Mondays at 11:10:00 AM [\"RRULE:FREQ=WEEKLY;INTERVAL:1;BYDAY=MO;BYHOUR=11;BYMINUTE=10;BYSECOND=0\"]"
        ]
      ],
      "endDateTime": "string",
      "chronosJobId": "string",
      "startDateTime": "string",
      "failureAttempts": 42,
      "applyDatasetChangeOnly": true,
      "lastSuccessfulDateTime": "string"
    }
  }
}

Delete a batch prediction schedule

Deletes the schedule from a batch prediction.

Facts

Rate limit Tier 2 (100 requests per minute)
Categories

Path Parameters

  • deploymentIdstring
    Required

    ID of the deployment

  • batchPredictionIdstring
    Required

    ID of the batch prediction

Responses

204

No Content

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

DELETE /v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule" \
-X DELETE \
-H "Authorization: Bearer <access_token>"
const https = require('https')
  const data = JSON.stringify("")
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule',
    'method': 'DELETE',
    'headers': {
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  
This API is not included yet in qlik-cli

Generate predictions in a synchronous request/response

Facts

Rate limit Tier 2 (100 requests per minute)
Categories

Header Parameters

  • Acceptstring

    Sets the format of the response

    Can be one of: "application/json""text/json""text/csv""application/parquet""application/vnd.apache.parquet"

Query Parameters

  • includeNotPredictedReasonboolean

    If true, reason why a prediction was not produced included response

  • includeShapboolean

    If true, shapley values included in response

  • includeSourceboolean

    If true, source data included in response

  • indexstring

    The name of the feature in the source data to use as an index in the response data. The column will be included with its original name and values. This is intended to allow the caller to join results with source data.

Path Parameters

  • deploymentIdstring
    Required

    ID of the deployment

Request Body

application/json

Input values for creating realtime predictions

  • application/jsonobject

    Input values for creating realtime predictions

    Show application/json properties
    • rowsarray of arrays

      Rows of the dataset from which to produce predictions

    • schemaarray of objects

      List of features in the dataset

      Show schema properties
      • namestring

        The name of a feature in the dataset

Responses

200

application/json

Stream of combined prediction output returned successfully.

Input values for creating realtime predictions

  • application/jsonobject

    Input values for creating realtime predictions

    Show application/json properties
    • dataobject
      Show data properties
      • typestring

        Can be one of: "realtime-prediction"

      • attributesobject
        Show attributes properties
        • rowsarray of arrays

          Rows of the dataset from which to produce predictions

        • schemaarray of objects

          List of features in the dataset

          Show schema properties
          • namestring

            The name of a feature in the dataset

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

409

application/json

Conflict

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

POST /v1/ml/deployments/{deploymentId}/realtime-predictions/actions/run
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/deployments/{deploymentId}/realtime-predictions/actions/run" \
-X POST \
-H "Content-type: application/json" \
-H "Authorization: Bearer <access_token>" \
-d '{"rows":[["string"]],"schema":[{"name":"string"}]}'
const https = require('https')
  const data = JSON.stringify({"rows":[["string"]],"schema":[{"name":"string"}]})
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/deployments/{deploymentId}/realtime-predictions/actions/run',
    'method': 'POST',
    'headers': {
      'Content-type': 'application/json',
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  req.write(data)
  
This API is not included yet in qlik-cli

Request

{
  "rows": [
    [
      "string"
    ]
  ],
  "schema": [
    {
      "name": "string"
    }
  ]
}

Response

{
  "data": {
    "type": "realtime-prediction",
    "attributes": {
      "rows": [
        [
          "string"
        ]
      ],
      "schema": [
        {
          "name": "string"
        }
      ]
    }
  }
}

List experiments

Retrieves a list of experiments based on provided filter and sort parameters.

Facts

Rate limit Tier 1 (1000 requests per minute)
Categories

Query Parameters

  • filterstring

    Experiment fields by which you can filter responses within this tenant

    • ownerId ID string - ID of the owner/user that created the experiment
    • spaceId ID string (or empty string for personal space) - ID of the space where the experiment is saved.
    • experimentVersionId UUID string - ID of an experiment version in the experiment
    • modelId UUID string - ID of a model associated with the experiment
    • deploymentId UUID string - ID of a deployment of a model associated with the experiment
  • sortstring

    Field(s) by which to sort response

    Can be one of: "createdAt""+createdAt""-createdAt""description""+description""-description""name""+name""-name""updatedAt""+updatedAt""-updatedAt"

  • limitinteger

    Number of results per page. Default is 32.

  • offsetinteger

    Number of rows to skip before getting page[size]

Responses

200

application/json

OK

  • application/jsonobject
    Show application/json properties
    • dataarray of objects
      Required
      Show data properties
      • idstring
        Required

        ID of this entity

      • typestring
        Required

        Can be one of: "experiment"

      • attributesobject
        Required

        An AutoML experiment

        Show attributes properties
        • idstring
          Required

          ID of this entity

        • namestring

          Name of this entity

        • ownerIdstring
          Required

          ID of owner/user for this entity

        • spaceIdstring
          Required

          Space ID for this entity (empty string for personal space)

        • tenantIdstring
          Required

          Tenant ID for this entity

        • createdAtstring
          Required

          Timestamp when this was created

        • updatedAtstring
          Required

          Timestamp when this was updated

        • descriptionstring

          Description of this entity

    • metaobject

      Meta for FIND operations

      Show meta properties
      • countinteger
        Required
    • linksobject
      Required

      Resource links included in paginated responses

      Show links properties
      • lastobject
        Required
        Show last properties
        • hrefstring

          Link to the last set of responses from limit minus offset to limit

      • nextobject
        Required
        Show next properties
        • hrefstring

          Link to the next set of responses

      • prevobject
        Required
        Show prev properties
        • hrefstring

          Link to the previous set of responses

      • selfobject
        Required
        Show self properties
        • hrefstring

          Link to the current set of responses

      • firstobject
        Required
        Show first properties
        • hrefstring

          Link to the first set of responses from offset 0 to count `limit``

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

GET /v1/ml/experiments
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/experiments" \
-H "Authorization: Bearer <access_token>"
const https = require('https')
  const data = JSON.stringify("")
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/experiments',
    'method': 'GET',
    'headers': {
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  
This API is not included yet in qlik-cli

Response

{
  "data": [
    {
      "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
      "type": "experiment",
      "attributes": {
        "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
        "name": "string",
        "ownerId": "string",
        "spaceId": "string",
        "tenantId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
        "createdAt": "string",
        "updatedAt": "string",
        "description": "string"
      }
    }
  ],
  "meta": {
    "count": 42
  },
  "links": {
    "last": {
      "href": "string"
    },
    "next": {
      "href": "string"
    },
    "prev": {
      "href": "string"
    },
    "self": {
      "href": "string"
    },
    "first": {
      "href": "string"
    }
  }
}

Create an experiment

Facts

Rate limit Tier 2 (100 requests per minute)
Categories

Request Body

application/json

Input for creating this entity

  • application/jsonobject

    Input for creating this entity

    Show application/json properties
    • dataobject

      Data container for ExperimentInput

      Show data properties
      • typestring

        Can be one of: "experiment"

      • attributesobject

        Experiment input attributes

        Show attributes properties
        • namestring
          Required

          Name of this entity

        • spaceIdstring
          Required

          Space ID for this entity (empty string for personal space)

        • descriptionstring

          Description of this entity

Responses

201

application/json

Created

  • application/jsonobject
    Show application/json properties
    • dataobject
      Required
      Show data properties
      • idstring
        Required

        ID of this entity

      • typestring
        Required

        Can be one of: "experiment"

      • attributesobject
        Required

        An AutoML experiment

        Show attributes properties
        • idstring
          Required

          ID of this entity

        • namestring

          Name of this entity

        • ownerIdstring
          Required

          ID of owner/user for this entity

        • spaceIdstring
          Required

          Space ID for this entity (empty string for personal space)

        • tenantIdstring
          Required

          Tenant ID for this entity

        • createdAtstring
          Required

          Timestamp when this was created

        • updatedAtstring
          Required

          Timestamp when this was updated

        • descriptionstring

          Description of this entity

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

POST /v1/ml/experiments
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/experiments" \
-X POST \
-H "Content-type: application/json" \
-H "Authorization: Bearer <access_token>" \
-d '{"data":{"type":"experiment","attributes":{"name":"string","spaceId":"string","description":"string"}}}'
const https = require('https')
  const data = JSON.stringify({"data":{"type":"experiment","attributes":{"name":"string","spaceId":"string","description":"string"}}})
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/experiments',
    'method': 'POST',
    'headers': {
      'Content-type': 'application/json',
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  req.write(data)
  
This API is not included yet in qlik-cli

Request

{
  "data": {
    "type": "experiment",
    "attributes": {
      "name": "string",
      "spaceId": "string",
      "description": "string"
    }
  }
}

Response

{
  "data": {
    "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
    "type": "experiment",
    "attributes": {
      "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
      "name": "string",
      "ownerId": "string",
      "spaceId": "string",
      "tenantId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
      "createdAt": "string",
      "updatedAt": "string",
      "description": "string"
    }
  }
}

Get an experiment

Facts

Rate limit Tier 1 (1000 requests per minute)
Categories

Path Parameters

  • experimentIdstring
    Required

    ID of the experiment

Responses

200

application/json

OK

  • application/jsonobject
    Show application/json properties
    • dataobject
      Required
      Show data properties
      • idstring
        Required

        ID of this entity

      • typestring
        Required

        Can be one of: "experiment"

      • attributesobject
        Required

        An AutoML experiment

        Show attributes properties
        • idstring
          Required

          ID of this entity

        • namestring

          Name of this entity

        • ownerIdstring
          Required

          ID of owner/user for this entity

        • spaceIdstring
          Required

          Space ID for this entity (empty string for personal space)

        • tenantIdstring
          Required

          Tenant ID for this entity

        • createdAtstring
          Required

          Timestamp when this was created

        • updatedAtstring
          Required

          Timestamp when this was updated

        • descriptionstring

          Description of this entity

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

GET /v1/ml/experiments/{experimentId}
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/experiments/{experimentId}" \
-H "Authorization: Bearer <access_token>"
const https = require('https')
  const data = JSON.stringify("")
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/experiments/{experimentId}',
    'method': 'GET',
    'headers': {
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  
This API is not included yet in qlik-cli

Response

{
  "data": {
    "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
    "type": "experiment",
    "attributes": {
      "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
      "name": "string",
      "ownerId": "string",
      "spaceId": "string",
      "tenantId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
      "createdAt": "string",
      "updatedAt": "string",
      "description": "string"
    }
  }
}

Update an experiment

Facts

Rate limit Tier 2 (100 requests per minute)
Categories

Path Parameters

  • experimentIdstring
    Required

    ID of the experiment

Request Body

application/json

Experiment fields that can be patched. The following paths all require `value` to be a string: `/name`, `/spaceId`, and `/description`

  • application/jsonarray of objects

    Experiment fields that can be patched. The following paths all require value to be a string: /name, /spaceId, and /description

    Show application/json properties
    • opstring
      Required

      All patch requests use the replace operation

      Can be one of: "replace"

    • pathstring
      Required

      Path for the property you want to update

      Can be one of: "/name""/description""/spaceId"

    • valueany
      Required

      Use for fields that can be any type (string, number, etc.)

Responses

204

No Content

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

PATCH /v1/ml/experiments/{experimentId}
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/experiments/{experimentId}" \
-X PATCH \
-H "Content-type: application/json" \
-H "Authorization: Bearer <access_token>" \
-d '[{"op":"replace","path":"/name","value":"New name"},{"op":"replace","path":"/description","value":"New description"},{"op":"replace","path":"/spaceId","value":"NEW_SPACE_ID"}]'
const https = require('https')
  const data = JSON.stringify([{"op":"replace","path":"/name","value":"New name"},{"op":"replace","path":"/description","value":"New description"},{"op":"replace","path":"/spaceId","value":"NEW_SPACE_ID"}])
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/experiments/{experimentId}',
    'method': 'PATCH',
    'headers': {
      'Content-type': 'application/json',
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  req.write(data)
  
This API is not included yet in qlik-cli

Request

[
  {
    "op": "replace",
    "path": "/name",
    "value": "New name"
  },
  {
    "op": "replace",
    "path": "/description",
    "value": "New description"
  },
  {
    "op": "replace",
    "path": "/spaceId",
    "value": "NEW_SPACE_ID"
  }
]

Delete an experiment

Facts

Rate limit Tier 2 (100 requests per minute)
Categories

Path Parameters

  • experimentIdstring
    Required

    ID of the experiment

Responses

204

No Content

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

DELETE /v1/ml/experiments/{experimentId}
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/experiments/{experimentId}" \
-X DELETE \
-H "Authorization: Bearer <access_token>"
const https = require('https')
  const data = JSON.stringify("")
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/experiments/{experimentId}',
    'method': 'DELETE',
    'headers': {
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  
This API is not included yet in qlik-cli

List models

Facts

Rate limit Tier 1 (1000 requests per minute)
Categories

Query Parameters

  • filterstring

    Model fields you can filter by:

    • experimentVersionId UUID string - Find by experiment version ID

    • batchNum UUID string - Search by batch number

    • isHpo boolean - Is hyperparameter optimization used?

    • isMetrics boolean - Are metrics for regression, binary, or multiclass are used?

    • id UUID string - Find by model ID

    • algorithm enum string - Find by algorithm

      • Valid algorithms: catboost_classifier, catboost_regression, elasticnet_regression, gaussian_nb, kneighbors_classifier, lasso_regression, lasso, lgbm_classifier, lgbm_regression, linear_regression, logistic_regression, random_forest_classifier, random_forest_regression, sgd_regression, xgb_classifier, xgb_regression

    • status enum string - find by status

      • Valid statuses: pending, training_requested, training_done, ready, error

    • hasDeployment boolean - Models that are part of a deployment

    • nameContains string - Models with name includes this case-insensitive string

    • exactName string - Models with exact name. Model names may not be unique

    • samplingRatio number - Find models by sampling ratio

    • modelState enum string - State by which to find models

      • Valid states: pending, enabled, disabled, inactive
  • sortstring

    Field(s) by which to sort response

    Can be one of: "createdAt""+createdAt""-createdAt""description""+description""-description""name""+name""-name""updatedAt""+updatedAt""-updatedAt"

  • limitinteger

    Number of results per page. Default is 32.

  • offsetinteger

    Number of rows to skip before getting page[size]

Path Parameters

  • experimentIdstring
    Required

    ID of the experiment

Responses

200

application/json

OK

  • application/jsonobject
    Show application/json properties
    • dataarray of objects
      Required
      Show data properties
      • idstring
        Required

        ID of this entity

      • typestring
        Required

        Can be one of: "model"

      • attributesobject
        Required

        A model based on an algorithm within an experiment version.

        Show attributes properties
        • idstring

          ID of this entity

        • namestring

          Name of this entity

        • errorsarray of objects

          JSON string with list of error objects

          Show errors properties
          • codestring
            Required

            Qlik error code (not HTTP response status code)

          • metaobject

            Additional details about the error. These may vary by error.

            Show meta properties
            • issuestring

              The issue code

            • detailsstring

              Extra details for what may have caused the error

            • errorIdstring

              The unique id of the error instance

            • argumentstring

              The argument

            • resourcestring

              The resource type that the error occurred on

            • resourceIdstring

              The resource id that the error occurred on

          • titlestring
            Required

            Short summary of error

          • detailstring

            Description of the error

        • hpoNumnumber

          Version number of the hyperparameter optimization

        • seqNumnumber

          Model sequence number within the experiment version

        • statusstring

          Model status. These are the status of the model in relation to experiments (i.e. training status).

          Can be one of: "pending""training_requested""training_done""ready""error"

        • columnsarray of strings

          Dataset columns selected as features

        • metricsobject

          Model metrics based on the type of model

          Show metrics properties
          • binaryobject
            Show binary properties
            • f1number

              The harmonic mean of precision and recall for training data

            • aucnumber

              Area under curve (training data)

            • mccnumber

              Matthews correlation coefficient (training data)

            • npvnumber

              Negative predictive value (training data)

            • f1Testnumber

              The harmonic mean of precision and recall for test data

            • recallnumber

              The true positive rate (training data)

            • aucTestnumber

              Area under curve (test data)

            • falloutnumber

              The false positive rate (training data)

            • logLossnumber

              Measures accuracy in logistic regression (training data)

            • mccTestnumber

              Matthews correlation coefficient (test data)

            • npvTestnumber

              Negative predictive value (test data)

            • accuracynumber

              Average measure of how often the model made correct predictions (training data)

            • missRatenumber

              The false negative rate (training data)

            • precisionnumber

              Positive predictive value. Probability that the model was correct when it predicted something was true. (training data)

            • thresholdnumber

              Probability that a prediction is true (training data)

            • recallTestnumber

              The true positive rate (test data)

            • falloutTestnumber

              The false positive rate (test data)

            • logLossTestnumber

              Measures accuracy in logistic regression (test data)

            • specificitynumber

              The true negative rate (training data)

            • accuracyTestnumber

              Average measure of how often the model made correct predictions (test data)

            • missRateTestnumber

              The false negative rate (test data)

            • trueNegativenumber

              Actual false values correctly predicted as false (training data)

            • truePositivenumber

              Actual true values correctly predicted as true (training data)

            • falseNegativenumber

              Actual true values incorrectly predicted as false (training data)

            • falsePositivenumber

              Actual false values incorrectly predicted as true (training data)

            • precisionTestnumber

              Positive predictive value. Probability that the model was correct when it predicted something was true. (test data)

            • thresholdTestnumber

              Probability that a prediction is true (test data)

            • specificityTestnumber

              The true negative rate (test data)

            • trueNegativeTestnumber

              Actual false values correctly predicted as false (test data)

            • truePositiveTestnumber

              Actual true values correctly predicted as true (test data)

            • falseNegativeTestnumber

              Actual true values incorrectly predicted as false (test data)

            • falsePositiveTestnumber

              Actual false values incorrectly predicted as true (test data)

          • multiclassobject
            Show multiclass properties
            • f1Macronumber

              Macro F1 is the averaged F1 value for each class without weighting (training data)

            • f1Micronumber

              Micro F1 is the F1 value calculated across the entire confusion matrix (training data)

            • accuracynumber

              Average of how often the model made a correct prediction (training data)

            • f1Weightednumber

              Weighted F1 (training data)

            • f1MacroTestnumber

              Macro F1 is the averaged F1 value for each class without weighting (test data)

            • f1MicroTestnumber

              Micro F1 is the F1 value calculated across the entire confusion matrix (test data)

            • accuracyTestnumber

              Average of how often the model made a correct prediction (test data)

            • f1WeightedTestnumber

              Weighted F1 (test data)

            • confusionMatrixstring

              A matrix summary of the accuracy of predictions in a classification model (training data)

            • confusionMatrixTeststring

              A matrix summary of the accuracy of predictions in a classification model (training data)

          • regressionobject
            Show regression properties
            • r2number

              R squared (training data)

            • maenumber

              Mean absolute error (training data)

            • msenumber

              Mean squared error (training data)

            • rmsenumber

              Root mean squared error (training data)

            • r2Testnumber

              R squared (test data)

            • maeTestnumber

              Mean absolute error (test data)

            • mseTestnumber

              Mean squared error (test data)

            • rmseTestnumber

              Root mean squared error (test data)

        • batchNumnumber

          Batch number indicates the index of the experiment version fold (most relevant when HPO is enabled)

        • algoAbbrvstring

          Model algorithm name abbreviation

          Can be one of: "CATBC""CATBR""ELNC""GNBC""LGBMC""LGBMR""LINR""LOGC""LSOC""RAFC""RAFR""SGDR""XGBC""XGBR"

        • algorithmstring

          The algorithm used by this model

        • createdAtstring

          Timestamp when this was created

        • updatedAtstring

          Timestamp when this was updated

        • modelStatestring

          Model state. These are the state of the model in relation to deployments.

          Can be one of: "pending""enabled""disabled""inactive"

        • descriptionstring

          Description of this entity

        • anomalyRationumber
        • errorMessagestring

          JSON string of error object

        • samplingRationumber

          Ratio of sample data in relation to the dataset

        • binningFeaturesarray of strings
        • droppedFeaturesarray of objects

          Features dropped because they're unsuitable

          Show droppedFeatures properties
          • namestring

            Name of dropped feature in the dataset

          • reasonstring

            Reason the feature was dropped

            Can be one of: "highly_correlated""has_target_leakage""is_date_engineered""feature_with_low_importance"

        • experimentVersionIdstring

          ID of the experiment version

        • powerTransformFeaturesarray of strings
        • binaryImbalanceSamplingobject
          Show binaryImbalanceSampling properties
          • sampleClassstring
          • sampleRationumber
          • sampleDirectionstring

            Can be one of: "up""down"

    • metaobject

      Meta for FIND operations

      Show meta properties
      • countinteger
        Required
    • linksobject
      Required

      Resource links included in paginated responses

      Show links properties
      • lastobject
        Required
        Show last properties
        • hrefstring

          Link to the last set of responses from limit minus offset to limit

      • nextobject
        Required
        Show next properties
        • hrefstring

          Link to the next set of responses

      • prevobject
        Required
        Show prev properties
        • hrefstring

          Link to the previous set of responses

      • selfobject
        Required
        Show self properties
        • hrefstring

          Link to the current set of responses

      • firstobject
        Required
        Show first properties
        • hrefstring

          Link to the first set of responses from offset 0 to count `limit``

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

GET /v1/ml/experiments/{experimentId}/models
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/experiments/{experimentId}/models" \
-H "Authorization: Bearer <access_token>"
const https = require('https')
  const data = JSON.stringify("")
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/experiments/{experimentId}/models',
    'method': 'GET',
    'headers': {
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  
This API is not included yet in qlik-cli

Response

{
  "data": [
    {
      "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
      "type": "model",
      "attributes": {
        "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
        "name": "string",
        "errors": "[{\"code\":\"AML-145\",\"title\":\"datasync dependent service error, service profile\",\"errorId\":\"c1546687-ad5d-4002-87f6-8c9711298db1\",\"meta\":{\"errorId\":\"c1546687-ad5d-4002-87f6-8c9711298db1\"}}]\n",
        "hpoNum": 42,
        "seqNum": 42,
        "status": "pending",
        "columns": [
          "string"
        ],
        "metrics": {
          "binary": {
            "f1": 42,
            "auc": 42,
            "mcc": 42,
            "npv": 42,
            "f1Test": 42,
            "recall": 42,
            "aucTest": 42,
            "fallout": 42,
            "logLoss": 42,
            "mccTest": 42,
            "npvTest": 42,
            "accuracy": 42,
            "missRate": 42,
            "precision": 42,
            "threshold": 42,
            "recallTest": 42,
            "falloutTest": 42,
            "logLossTest": 42,
            "specificity": 42,
            "accuracyTest": 42,
            "missRateTest": 42,
            "trueNegative": 42,
            "truePositive": 42,
            "falseNegative": 42,
            "falsePositive": 42,
            "precisionTest": 42,
            "thresholdTest": 42,
            "specificityTest": 42,
            "trueNegativeTest": 42,
            "truePositiveTest": 42,
            "falseNegativeTest": 42,
            "falsePositiveTest": 42
          },
          "multiclass": {
            "f1Macro": 42,
            "f1Micro": 42,
            "accuracy": 42,
            "f1Weighted": 42,
            "f1MacroTest": 42,
            "f1MicroTest": 42,
            "accuracyTest": 42,
            "f1WeightedTest": 42,
            "confusionMatrix": "string",
            "confusionMatrixTest": "string"
          },
          "regression": {
            "r2": 42,
            "mae": 42,
            "mse": 42,
            "rmse": 42,
            "r2Test": 42,
            "maeTest": 42,
            "mseTest": 42,
            "rmseTest": 42
          }
        },
        "batchNum": 42,
        "algoAbbrv": "CATBC",
        "algorithm": "string",
        "createdAt": "string",
        "updatedAt": "string",
        "modelState": "pending",
        "description": "string",
        "anomalyRatio": 42,
        "errorMessage": "string",
        "samplingRatio": 42,
        "binningFeatures": [
          "string"
        ],
        "droppedFeatures": [
          {
            "name": "string",
            "reason": "highly_correlated"
          }
        ],
        "experimentVersionId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
        "powerTransformFeatures": [
          "string"
        ],
        "binaryImbalanceSampling": {
          "sampleClass": "string",
          "sampleRatio": 42,
          "sampleDirection": "up"
        }
      }
    }
  ],
  "meta": {
    "count": 42
  },
  "links": {
    "last": {
      "href": "string"
    },
    "next": {
      "href": "string"
    },
    "prev": {
      "href": "string"
    },
    "self": {
      "href": "string"
    },
    "first": {
      "href": "string"
    }
  }
}

Get a model

Facts

Rate limit Tier 1 (1000 requests per minute)
Categories

Path Parameters

  • experimentIdstring
    Required

    ID of the experiment

  • modelIdstring
    Required

    ID of the model

Responses

200

application/json

OK

  • application/jsonobject
    Show application/json properties
    • dataobject
      Required
      Show data properties
      • idstring
        Required

        ID of this entity

      • typestring
        Required

        Can be one of: "model"

      • attributesobject
        Required

        A model based on an algorithm within an experiment version.

        Show attributes properties
        • idstring

          ID of this entity

        • namestring

          Name of this entity

        • errorsarray of objects

          JSON string with list of error objects

          Show errors properties
          • codestring
            Required

            Qlik error code (not HTTP response status code)

          • metaobject

            Additional details about the error. These may vary by error.

            Show meta properties
            • issuestring

              The issue code

            • detailsstring

              Extra details for what may have caused the error

            • errorIdstring

              The unique id of the error instance

            • argumentstring

              The argument

            • resourcestring

              The resource type that the error occurred on

            • resourceIdstring

              The resource id that the error occurred on

          • titlestring
            Required

            Short summary of error

          • detailstring

            Description of the error

        • hpoNumnumber

          Version number of the hyperparameter optimization

        • seqNumnumber

          Model sequence number within the experiment version

        • statusstring

          Model status. These are the status of the model in relation to experiments (i.e. training status).

          Can be one of: "pending""training_requested""training_done""ready""error"

        • columnsarray of strings

          Dataset columns selected as features

        • metricsobject

          Model metrics based on the type of model

          Show metrics properties
          • binaryobject
            Show binary properties
            • f1number

              The harmonic mean of precision and recall for training data

            • aucnumber

              Area under curve (training data)

            • mccnumber

              Matthews correlation coefficient (training data)

            • npvnumber

              Negative predictive value (training data)

            • f1Testnumber

              The harmonic mean of precision and recall for test data

            • recallnumber

              The true positive rate (training data)

            • aucTestnumber

              Area under curve (test data)

            • falloutnumber

              The false positive rate (training data)

            • logLossnumber

              Measures accuracy in logistic regression (training data)

            • mccTestnumber

              Matthews correlation coefficient (test data)

            • npvTestnumber

              Negative predictive value (test data)

            • accuracynumber

              Average measure of how often the model made correct predictions (training data)

            • missRatenumber

              The false negative rate (training data)

            • precisionnumber

              Positive predictive value. Probability that the model was correct when it predicted something was true. (training data)

            • thresholdnumber

              Probability that a prediction is true (training data)

            • recallTestnumber

              The true positive rate (test data)

            • falloutTestnumber

              The false positive rate (test data)

            • logLossTestnumber

              Measures accuracy in logistic regression (test data)

            • specificitynumber

              The true negative rate (training data)

            • accuracyTestnumber

              Average measure of how often the model made correct predictions (test data)

            • missRateTestnumber

              The false negative rate (test data)

            • trueNegativenumber

              Actual false values correctly predicted as false (training data)

            • truePositivenumber

              Actual true values correctly predicted as true (training data)

            • falseNegativenumber

              Actual true values incorrectly predicted as false (training data)

            • falsePositivenumber

              Actual false values incorrectly predicted as true (training data)

            • precisionTestnumber

              Positive predictive value. Probability that the model was correct when it predicted something was true. (test data)

            • thresholdTestnumber

              Probability that a prediction is true (test data)

            • specificityTestnumber

              The true negative rate (test data)

            • trueNegativeTestnumber

              Actual false values correctly predicted as false (test data)

            • truePositiveTestnumber

              Actual true values correctly predicted as true (test data)

            • falseNegativeTestnumber

              Actual true values incorrectly predicted as false (test data)

            • falsePositiveTestnumber

              Actual false values incorrectly predicted as true (test data)

          • multiclassobject
            Show multiclass properties
            • f1Macronumber

              Macro F1 is the averaged F1 value for each class without weighting (training data)

            • f1Micronumber

              Micro F1 is the F1 value calculated across the entire confusion matrix (training data)

            • accuracynumber

              Average of how often the model made a correct prediction (training data)

            • f1Weightednumber

              Weighted F1 (training data)

            • f1MacroTestnumber

              Macro F1 is the averaged F1 value for each class without weighting (test data)

            • f1MicroTestnumber

              Micro F1 is the F1 value calculated across the entire confusion matrix (test data)

            • accuracyTestnumber

              Average of how often the model made a correct prediction (test data)

            • f1WeightedTestnumber

              Weighted F1 (test data)

            • confusionMatrixstring

              A matrix summary of the accuracy of predictions in a classification model (training data)

            • confusionMatrixTeststring

              A matrix summary of the accuracy of predictions in a classification model (training data)

          • regressionobject
            Show regression properties
            • r2number

              R squared (training data)

            • maenumber

              Mean absolute error (training data)

            • msenumber

              Mean squared error (training data)

            • rmsenumber

              Root mean squared error (training data)

            • r2Testnumber

              R squared (test data)

            • maeTestnumber

              Mean absolute error (test data)

            • mseTestnumber

              Mean squared error (test data)

            • rmseTestnumber

              Root mean squared error (test data)

        • batchNumnumber

          Batch number indicates the index of the experiment version fold (most relevant when HPO is enabled)

        • algoAbbrvstring

          Model algorithm name abbreviation

          Can be one of: "CATBC""CATBR""ELNC""GNBC""LGBMC""LGBMR""LINR""LOGC""LSOC""RAFC""RAFR""SGDR""XGBC""XGBR"

        • algorithmstring

          The algorithm used by this model

        • createdAtstring

          Timestamp when this was created

        • updatedAtstring

          Timestamp when this was updated

        • modelStatestring

          Model state. These are the state of the model in relation to deployments.

          Can be one of: "pending""enabled""disabled""inactive"

        • descriptionstring

          Description of this entity

        • anomalyRationumber
        • errorMessagestring

          JSON string of error object

        • samplingRationumber

          Ratio of sample data in relation to the dataset

        • binningFeaturesarray of strings
        • droppedFeaturesarray of objects

          Features dropped because they're unsuitable

          Show droppedFeatures properties
          • namestring

            Name of dropped feature in the dataset

          • reasonstring

            Reason the feature was dropped

            Can be one of: "highly_correlated""has_target_leakage""is_date_engineered""feature_with_low_importance"

        • experimentVersionIdstring

          ID of the experiment version

        • powerTransformFeaturesarray of strings
        • binaryImbalanceSamplingobject
          Show binaryImbalanceSampling properties
          • sampleClassstring
          • sampleRationumber
          • sampleDirectionstring

            Can be one of: "up""down"

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

GET /v1/ml/experiments/{experimentId}/models/{modelId}
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/experiments/{experimentId}/models/{modelId}" \
-H "Authorization: Bearer <access_token>"
const https = require('https')
  const data = JSON.stringify("")
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/experiments/{experimentId}/models/{modelId}',
    'method': 'GET',
    'headers': {
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  
This API is not included yet in qlik-cli

Response

{
  "data": {
    "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
    "type": "model",
    "attributes": {
      "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
      "name": "string",
      "errors": "[{\"code\":\"AML-145\",\"title\":\"datasync dependent service error, service profile\",\"errorId\":\"c1546687-ad5d-4002-87f6-8c9711298db1\",\"meta\":{\"errorId\":\"c1546687-ad5d-4002-87f6-8c9711298db1\"}}]\n",
      "hpoNum": 42,
      "seqNum": 42,
      "status": "pending",
      "columns": [
        "string"
      ],
      "metrics": {
        "binary": {
          "f1": 42,
          "auc": 42,
          "mcc": 42,
          "npv": 42,
          "f1Test": 42,
          "recall": 42,
          "aucTest": 42,
          "fallout": 42,
          "logLoss": 42,
          "mccTest": 42,
          "npvTest": 42,
          "accuracy": 42,
          "missRate": 42,
          "precision": 42,
          "threshold": 42,
          "recallTest": 42,
          "falloutTest": 42,
          "logLossTest": 42,
          "specificity": 42,
          "accuracyTest": 42,
          "missRateTest": 42,
          "trueNegative": 42,
          "truePositive": 42,
          "falseNegative": 42,
          "falsePositive": 42,
          "precisionTest": 42,
          "thresholdTest": 42,
          "specificityTest": 42,
          "trueNegativeTest": 42,
          "truePositiveTest": 42,
          "falseNegativeTest": 42,
          "falsePositiveTest": 42
        },
        "multiclass": {
          "f1Macro": 42,
          "f1Micro": 42,
          "accuracy": 42,
          "f1Weighted": 42,
          "f1MacroTest": 42,
          "f1MicroTest": 42,
          "accuracyTest": 42,
          "f1WeightedTest": 42,
          "confusionMatrix": "string",
          "confusionMatrixTest": "string"
        },
        "regression": {
          "r2": 42,
          "mae": 42,
          "mse": 42,
          "rmse": 42,
          "r2Test": 42,
          "maeTest": 42,
          "mseTest": 42,
          "rmseTest": 42
        }
      },
      "batchNum": 42,
      "algoAbbrv": "CATBC",
      "algorithm": "string",
      "createdAt": "string",
      "updatedAt": "string",
      "modelState": "pending",
      "description": "string",
      "anomalyRatio": 42,
      "errorMessage": "string",
      "samplingRatio": 42,
      "binningFeatures": [
        "string"
      ],
      "droppedFeatures": [
        {
          "name": "string",
          "reason": "highly_correlated"
        }
      ],
      "experimentVersionId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
      "powerTransformFeatures": [
        "string"
      ],
      "binaryImbalanceSampling": {
        "sampleClass": "string",
        "sampleRatio": 42,
        "sampleDirection": "up"
      }
    }
  }
}

List experiment versions

Facts

Rate limit Tier 1 (1000 requests per minute)
Categories

Query Parameters

  • filterstring

    Experiment version filter options

    • isRunning boolean - Is the experiment version running (training models)?
    • isSettled boolean - Is the experiment version settled?
    • status enum string - Status to filter by. Omit to get models of any status.
      • Valid statuses: pending, ready, error, cancelled
    • modelId UUID string - ID of a model associated with the experiment
  • sortstring

    Field(s) by which to sort response

    Can be one of: "createdAt""+createdAt""-createdAt""description""+description""-description""experimentMode""+experimentMode""-experimentMode""experimentType""+experimentType""-experimentType""name""+name""-name""status""+status""-status""updatedAt""+updatedAt""-updatedAt""versionNumber""+versionNumber""-versionNumber"

  • limitinteger

    Number of results per page. Default is 32.

  • offsetinteger

    Number of rows to skip before getting page[size]

Path Parameters

  • experimentIdstring
    Required

    ID of the experiment

Responses

200

application/json

OK

  • application/jsonobject
    Show application/json properties
    • dataarray of objects
      Required
      Show data properties
      • idstring
        Required

        ID of this entity

      • typestring
        Required

        Can be one of: "experiment-version"

      • attributesobject
        Required

        An AutoML experiment version. This is a configuration for training models within an experiment.

        Show attributes properties
        • idstring
          Required

          ID of this entity

        • namestring

          Name of this entity

        • errorsarray of objects

          List of errors

          Show errors properties
          • codestring
            Required

            Qlik error code (not HTTP response status code)

          • metaobject

            Additional details about the error. These may vary by error.

            Show meta properties
            • issuestring

              The issue code

            • detailsstring

              Extra details for what may have caused the error

            • errorIdstring

              The unique id of the error instance

            • argumentstring

              The argument

            • resourcestring

              The resource type that the error occurred on

            • resourceIdstring

              The resource id that the error occurred on

          • titlestring
            Required

            Short summary of error

          • detailstring

            Description of the error

        • statusstring
          Required

          Current status of this entity

          Can be one of: "ready""error""cancelled"

        • targetstring
          Required

          The target field in the dataset

        • createdAtstring
          Required

          Timestamp when this was created

        • dataSetIdstring
          Required

          The Qlik catalog dataset ID

        • profileIdstring

          ID of the dataset profile with metadata about source data

        • updatedAtstring
          Required

          Timestamp when this was updated

        • algorithmsarray of strings

          List of algorithms selected for model training in this version

          Values may be any of: "catboost_classifier""catboost_regression""elasticnet_regression""gaussian_nb""kneighbors_classifier""lasso_regression""lasso""lgbm_classifier""lgbm_regression""linear_regression""logistic_regression""random_forest_classifier""random_forest_regression""sgd_regression""xgb_classifier""xgb_regression"

        • topModelIdstring

          ID of the top model (based on training scores) in this experiment version

        • dateIndexesarray of strings

          A optional date column name to index

        • errorMessagestring

          JSON string of error object

        • experimentIdstring
          Required

          ID of the experiment

        • featuresListarray of objects

          List of features from your dataset for creating Experiment Versions. This appears in from ProfileInsights response (in the defaultVersionConfig). You can adjust the default settings before using it as input to create or update Experiment Versions.

          Show featuresList properties
          • namestring

            Name of the feature column

          • includeboolean

            Include this feature in your experiment version? Default here is based on insights for this feature (e.g. willBeDropped).

          • dataTypestring

            The data type of this feature in your dataset

            Can be one of: "DATE""TIME""DATETIME""TIMESTAMP""STRING""DOUBLE""DECIMAL""INTEGER""BOOLEAN""BINARY""CUSTOM""FLOAT""OBJECT"

          • changeTypestring

            Indicates if you want to change the featureType for this feature within the experiment version

            Can be one of: "categorical""numeric""date""freetext"

          • featureTypestring

            The type this feature is interpreted as within an experiment version. If you want a value to be interpreted differently (e.g. see 0/1 as categorical/boolean instead of numeric), use changeType.

            Can be one of: "categorical""numeric""date""freetext"

          • parentFeaturestring

            The parent feature name for engineered features. e.g. OrderDate may be the parent of its engineered features (features extracted from parent) like OrderDate.YEAR, OrderDate.MONTH, etc.

        • lastBatchNuminteger

          Number of the last batch

        • datasetOriginstring

          Whether this is a new or other dataset

          Can be one of: "new""changed""refreshed""same"

        • versionNumberinteger
          1. -based sequential version number within the experiment
        • experimentModestring

          The model training mode for the experiment version

          Can be one of: "intelligent""manual""manual_hpo"

        • experimentTypestring
          Required

          Experiment type

          Can be one of: "binary""multiclass""regression"

        • createdByUserIdstring
          Required

          ID of owner/user for this entity

        • trainingDurationinteger

          Training duration in seconds. If provided, minimum is 900 (15m) and max is 21600 (6h).

        • preprocessedInsightsarray of objects

          Preprocessed insights. Like feature insights but with fewer details.

          Show preprocessedInsights properties
          • namestring
            Required

            Name of the preprocessed insight column

          • insightsarray of strings
            Required

            Preliminary list of column/feature insights available after preprocessing but before feature insights are available

            Values may be any of: "is_free_text""cannot_be_processed_as_free_text""is_date_engineered""has_target_leakage""feature_type_change_invalid""feature_type_change_failed""feature_type_change_successful"

          • willBeDroppedboolean
            Required

            Whether this feature insight will be dropped due to free text or high cardinality that makes it less useful

    • metaobject

      Meta for FIND operations

      Show meta properties
      • countinteger
        Required
    • linksobject
      Required

      Resource links included in paginated responses

      Show links properties
      • lastobject
        Required
        Show last properties
        • hrefstring

          Link to the last set of responses from limit minus offset to limit

      • nextobject
        Required
        Show next properties
        • hrefstring

          Link to the next set of responses

      • prevobject
        Required
        Show prev properties
        • hrefstring

          Link to the previous set of responses

      • selfobject
        Required
        Show self properties
        • hrefstring

          Link to the current set of responses

      • firstobject
        Required
        Show first properties
        • hrefstring

          Link to the first set of responses from offset 0 to count `limit``

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

GET /v1/ml/experiments/{experimentId}/versions
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/experiments/{experimentId}/versions" \
-H "Authorization: Bearer <access_token>"
const https = require('https')
  const data = JSON.stringify("")
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/experiments/{experimentId}/versions',
    'method': 'GET',
    'headers': {
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  
This API is not included yet in qlik-cli

Response

{
  "data": [
    {
      "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
      "type": "experiment-version",
      "attributes": {
        "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
        "name": "string",
        "errors": "[{\"code\":\"AML-145\",\"title\":\"datasync dependent service error, service profile\",\"errorId\":\"c1546687-ad5d-4002-87f6-8c9711299999\",\"meta\":{\"errorId\":\"c1546687-ad5d-4002-87f6-8c9711255555\"}}]\n",
        "status": "pending",
        "target": "TargetColumn",
        "createdAt": "string",
        "dataSetId": "672e55cfcadfb8a18281523e",
        "profileId": "string",
        "updatedAt": "string",
        "algorithms": [
          "catboost_classifier"
        ],
        "topModelId": "string",
        "dateIndexes": [
          "string"
        ],
        "errorMessage": "string",
        "experimentId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
        "featuresList": [
          {
            "name": "ColumnA",
            "include": true,
            "dataType": "STRING",
            "changeType": null,
            "featureType": "categorical",
            "parentFeature": null
          }
        ],
        "lastBatchNum": 42,
        "datasetOrigin": "new",
        "versionNumber": 42,
        "experimentMode": "intelligent",
        "experimentType": "binary",
        "createdByUserId": "string",
        "trainingDuration": 42,
        "preprocessedInsights": [
          {
            "name": "string",
            "insights": [],
            "willBeDropped": true
          }
        ]
      }
    }
  ],
  "meta": {
    "count": 42
  },
  "links": {
    "last": {
      "href": "string"
    },
    "next": {
      "href": "string"
    },
    "prev": {
      "href": "string"
    },
    "self": {
      "href": "string"
    },
    "first": {
      "href": "string"
    }
  }
}

Create an experiment version

Creates an experiment version. Poll this version and check its status field to determine when models are finished training.

Facts

Rate limit Tier 2 (100 requests per minute)
Categories

Path Parameters

  • experimentIdstring
    Required

    ID of the experiment

Request Body

application/json

Input for creating a new experiment version. Defaults provided in the ProfileInsights response.

  • application/jsonobject

    Input for creating a new experiment version. Defaults provided in the ProfileInsights response.

    Show application/json properties
    • dataobject
      Required
      Show data properties
      • typestring
        Required

        Can be one of: "experiment-version"

      • attributesobject
        Required
        Show attributes properties
        • namestring
          Required
        • targetstring
          Required

          The target field in the dataset. Set in first experiment version and can't be changed in subsequent versions.

        • dataSetIdstring
          Required

          The Qlik catalog dataset ID

        • algorithmsarray of strings

          Algorithms used for model training in this version. See documentation for valid algorithms for each experimentType.

          If not provided, defaults to all valid algorithms for your experimentType.

          Values may be any of: "catboost_classifier""catboost_regression""elasticnet_regression""gaussian_nb""kneighbors_classifier""lasso_regression""lasso""lgbm_classifier""lgbm_regression""linear_regression""logistic_regression""random_forest_classifier""random_forest_regression""sgd_regression""xgb_classifier""xgb_regression"

        • dateIndexesarray of strings

          A optional date column name to index

        • featuresListarray of objects
          Required

          List of features from your dataset for creating Experiment Versions. This appears in from ProfileInsights response (in the defaultVersionConfig). You can adjust the default settings before using it as input to create or update Experiment Versions.

          Show featuresList properties
          • namestring

            Name of the feature column

          • includeboolean

            Include this feature in your experiment version? Default here is based on insights for this feature (e.g. willBeDropped).

          • dataTypestring

            The data type of this feature in your dataset

            Can be one of: "DATE""TIME""DATETIME""TIMESTAMP""STRING""DOUBLE""DECIMAL""INTEGER""BOOLEAN""BINARY""CUSTOM""FLOAT""OBJECT"

          • changeTypestring

            Indicates if you want to change the featureType for this feature within the experiment version

            Can be one of: "categorical""numeric""date""freetext"

          • featureTypestring

            The type this feature is interpreted as within an experiment version. If you want a value to be interpreted differently (e.g. see 0/1 as categorical/boolean instead of numeric), use changeType.

            Can be one of: "categorical""numeric""date""freetext"

          • parentFeaturestring

            The parent feature name for engineered features. e.g. OrderDate may be the parent of its engineered features (features extracted from parent) like OrderDate.YEAR, OrderDate.MONTH, etc.

        • datasetOriginstring

          Whether this is a new or other dataset

          Can be one of: "new""changed""refreshed""same"

        • experimentModestring
          Required

          The model training mode for the experiment version

          Can be one of: "intelligent""manual""manual_hpo"

        • experimentTypestring
          Required

          Experiment type

          Can be one of: "binary""multiclass""regression"

        • trainingDurationinteger

          Training duration in seconds. If provided, minimum is 900 (15m) and max is 21600 (6h).

Responses

201

application/json

Accepted

  • application/jsonobject
    Show application/json properties
    • dataobject
      Required
      Show data properties
      • idstring
        Required

        ID of this entity

      • typestring
        Required

        Can be one of: "experiment-version"

      • attributesobject
        Required

        An AutoML experiment version. This is a configuration for training models within an experiment.

        Show attributes properties
        • idstring
          Required

          ID of this entity

        • namestring

          Name of this entity

        • errorsarray of objects

          List of errors

          Show errors properties
          • codestring
            Required

            Qlik error code (not HTTP response status code)

          • metaobject

            Additional details about the error. These may vary by error.

            Show meta properties
            • issuestring

              The issue code

            • detailsstring

              Extra details for what may have caused the error

            • errorIdstring

              The unique id of the error instance

            • argumentstring

              The argument

            • resourcestring

              The resource type that the error occurred on

            • resourceIdstring

              The resource id that the error occurred on

          • titlestring
            Required

            Short summary of error

          • detailstring

            Description of the error

        • statusstring
          Required

          Current status of this entity

          Can be one of: "ready""error""cancelled"

        • targetstring
          Required

          The target field in the dataset

        • createdAtstring
          Required

          Timestamp when this was created

        • dataSetIdstring
          Required

          The Qlik catalog dataset ID

        • profileIdstring

          ID of the dataset profile with metadata about source data

        • updatedAtstring
          Required

          Timestamp when this was updated

        • algorithmsarray of strings

          List of algorithms selected for model training in this version

          Values may be any of: "catboost_classifier""catboost_regression""elasticnet_regression""gaussian_nb""kneighbors_classifier""lasso_regression""lasso""lgbm_classifier""lgbm_regression""linear_regression""logistic_regression""random_forest_classifier""random_forest_regression""sgd_regression""xgb_classifier""xgb_regression"

        • topModelIdstring

          ID of the top model (based on training scores) in this experiment version

        • dateIndexesarray of strings

          A optional date column name to index

        • errorMessagestring

          JSON string of error object

        • experimentIdstring
          Required

          ID of the experiment

        • featuresListarray of objects

          List of features from your dataset for creating Experiment Versions. This appears in from ProfileInsights response (in the defaultVersionConfig). You can adjust the default settings before using it as input to create or update Experiment Versions.

          Show featuresList properties
          • namestring

            Name of the feature column

          • includeboolean

            Include this feature in your experiment version? Default here is based on insights for this feature (e.g. willBeDropped).

          • dataTypestring

            The data type of this feature in your dataset

            Can be one of: "DATE""TIME""DATETIME""TIMESTAMP""STRING""DOUBLE""DECIMAL""INTEGER""BOOLEAN""BINARY""CUSTOM""FLOAT""OBJECT"

          • changeTypestring

            Indicates if you want to change the featureType for this feature within the experiment version

            Can be one of: "categorical""numeric""date""freetext"

          • featureTypestring

            The type this feature is interpreted as within an experiment version. If you want a value to be interpreted differently (e.g. see 0/1 as categorical/boolean instead of numeric), use changeType.

            Can be one of: "categorical""numeric""date""freetext"

          • parentFeaturestring

            The parent feature name for engineered features. e.g. OrderDate may be the parent of its engineered features (features extracted from parent) like OrderDate.YEAR, OrderDate.MONTH, etc.

        • lastBatchNuminteger

          Number of the last batch

        • datasetOriginstring

          Whether this is a new or other dataset

          Can be one of: "new""changed""refreshed""same"

        • versionNumberinteger
          1. -based sequential version number within the experiment
        • experimentModestring

          The model training mode for the experiment version

          Can be one of: "intelligent""manual""manual_hpo"

        • experimentTypestring
          Required

          Experiment type

          Can be one of: "binary""multiclass""regression"

        • createdByUserIdstring
          Required

          ID of owner/user for this entity

        • trainingDurationinteger

          Training duration in seconds. If provided, minimum is 900 (15m) and max is 21600 (6h).

        • preprocessedInsightsarray of objects

          Preprocessed insights. Like feature insights but with fewer details.

          Show preprocessedInsights properties
          • namestring
            Required

            Name of the preprocessed insight column

          • insightsarray of strings
            Required

            Preliminary list of column/feature insights available after preprocessing but before feature insights are available

            Values may be any of: "is_free_text""cannot_be_processed_as_free_text""is_date_engineered""has_target_leakage""feature_type_change_invalid""feature_type_change_failed""feature_type_change_successful"

          • willBeDroppedboolean
            Required

            Whether this feature insight will be dropped due to free text or high cardinality that makes it less useful

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

POST /v1/ml/experiments/{experimentId}/versions
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/experiments/{experimentId}/versions" \
-X POST \
-H "Content-type: application/json" \
-H "Authorization: Bearer <access_token>" \
-d '{"data":{"type":"experiment-version","attributes":{"name":"Experiment version name. Defaults to current date.","target":"TargetColumn","dataSetId":"672e55cfcadfb8a18281523e","algorithms":["catboost_classifier"],"dateIndexes":["string"],"featuresList":[{"name":"ColumnA","include":true,"dataType":"STRING","changeType":null,"featureType":"categorical","parentFeature":null}],"datasetOrigin":"new","experimentMode":"intelligent","experimentType":"binary","trainingDuration":42}}}'
const https = require('https')
  const data = JSON.stringify({"data":{"type":"experiment-version","attributes":{"name":"Experiment version name. Defaults to current date.","target":"TargetColumn","dataSetId":"672e55cfcadfb8a18281523e","algorithms":["catboost_classifier"],"dateIndexes":["string"],"featuresList":[{"name":"ColumnA","include":true,"dataType":"STRING","changeType":null,"featureType":"categorical","parentFeature":null}],"datasetOrigin":"new","experimentMode":"intelligent","experimentType":"binary","trainingDuration":42}}})
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/experiments/{experimentId}/versions',
    'method': 'POST',
    'headers': {
      'Content-type': 'application/json',
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  req.write(data)
  
This API is not included yet in qlik-cli

Request

{
  "data": {
    "type": "experiment-version",
    "attributes": {
      "name": "Experiment version name. Defaults to current date.",
      "target": "TargetColumn",
      "dataSetId": "672e55cfcadfb8a18281523e",
      "algorithms": [
        "catboost_classifier"
      ],
      "dateIndexes": [
        "string"
      ],
      "featuresList": [
        {
          "name": "ColumnA",
          "include": true,
          "dataType": "STRING",
          "changeType": null,
          "featureType": "categorical",
          "parentFeature": null
        }
      ],
      "datasetOrigin": "new",
      "experimentMode": "intelligent",
      "experimentType": "binary",
      "trainingDuration": 42
    }
  }
}

Response

{
  "data": {
    "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
    "type": "experiment-version",
    "attributes": {
      "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
      "name": "string",
      "errors": "[{\"code\":\"AML-145\",\"title\":\"datasync dependent service error, service profile\",\"errorId\":\"c1546687-ad5d-4002-87f6-8c9711299999\",\"meta\":{\"errorId\":\"c1546687-ad5d-4002-87f6-8c9711255555\"}}]\n",
      "status": "pending",
      "target": "TargetColumn",
      "createdAt": "string",
      "dataSetId": "672e55cfcadfb8a18281523e",
      "profileId": "string",
      "updatedAt": "string",
      "algorithms": [
        "catboost_classifier"
      ],
      "topModelId": "string",
      "dateIndexes": [
        "string"
      ],
      "errorMessage": "string",
      "experimentId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
      "featuresList": [
        {
          "name": "ColumnA",
          "include": true,
          "dataType": "STRING",
          "changeType": null,
          "featureType": "categorical",
          "parentFeature": null
        }
      ],
      "lastBatchNum": 42,
      "datasetOrigin": "new",
      "versionNumber": 42,
      "experimentMode": "intelligent",
      "experimentType": "binary",
      "createdByUserId": "string",
      "trainingDuration": 42,
      "preprocessedInsights": [
        {
          "name": "string",
          "insights": [],
          "willBeDropped": true
        }
      ]
    }
  }
}

Get an experiment version

Facts

Rate limit Tier 1 (1000 requests per minute)
Categories

Path Parameters

  • experimentIdstring
    Required

    ID of the experiment

  • experimentVersionIdstring
    Required

    ID of the experiment version

Responses

200

application/json

OK

  • application/jsonobject
    Show application/json properties
    • dataobject
      Required
      Show data properties
      • idstring
        Required

        ID of this entity

      • typestring
        Required

        Can be one of: "experiment-version"

      • attributesobject
        Required

        An AutoML experiment version. This is a configuration for training models within an experiment.

        Show attributes properties
        • idstring
          Required

          ID of this entity

        • namestring

          Name of this entity

        • errorsarray of objects

          List of errors

          Show errors properties
          • codestring
            Required

            Qlik error code (not HTTP response status code)

          • metaobject

            Additional details about the error. These may vary by error.

            Show meta properties
            • issuestring

              The issue code

            • detailsstring

              Extra details for what may have caused the error

            • errorIdstring

              The unique id of the error instance

            • argumentstring

              The argument

            • resourcestring

              The resource type that the error occurred on

            • resourceIdstring

              The resource id that the error occurred on

          • titlestring
            Required

            Short summary of error

          • detailstring

            Description of the error

        • statusstring
          Required

          Current status of this entity

          Can be one of: "ready""error""cancelled"

        • targetstring
          Required

          The target field in the dataset

        • createdAtstring
          Required

          Timestamp when this was created

        • dataSetIdstring
          Required

          The Qlik catalog dataset ID

        • profileIdstring

          ID of the dataset profile with metadata about source data

        • updatedAtstring
          Required

          Timestamp when this was updated

        • algorithmsarray of strings

          List of algorithms selected for model training in this version

          Values may be any of: "catboost_classifier""catboost_regression""elasticnet_regression""gaussian_nb""kneighbors_classifier""lasso_regression""lasso""lgbm_classifier""lgbm_regression""linear_regression""logistic_regression""random_forest_classifier""random_forest_regression""sgd_regression""xgb_classifier""xgb_regression"

        • topModelIdstring

          ID of the top model (based on training scores) in this experiment version

        • dateIndexesarray of strings

          A optional date column name to index

        • errorMessagestring

          JSON string of error object

        • experimentIdstring
          Required

          ID of the experiment

        • featuresListarray of objects

          List of features from your dataset for creating Experiment Versions. This appears in from ProfileInsights response (in the defaultVersionConfig). You can adjust the default settings before using it as input to create or update Experiment Versions.

          Show featuresList properties
          • namestring

            Name of the feature column

          • includeboolean

            Include this feature in your experiment version? Default here is based on insights for this feature (e.g. willBeDropped).

          • dataTypestring

            The data type of this feature in your dataset

            Can be one of: "DATE""TIME""DATETIME""TIMESTAMP""STRING""DOUBLE""DECIMAL""INTEGER""BOOLEAN""BINARY""CUSTOM""FLOAT""OBJECT"

          • changeTypestring

            Indicates if you want to change the featureType for this feature within the experiment version

            Can be one of: "categorical""numeric""date""freetext"

          • featureTypestring

            The type this feature is interpreted as within an experiment version. If you want a value to be interpreted differently (e.g. see 0/1 as categorical/boolean instead of numeric), use changeType.

            Can be one of: "categorical""numeric""date""freetext"

          • parentFeaturestring

            The parent feature name for engineered features. e.g. OrderDate may be the parent of its engineered features (features extracted from parent) like OrderDate.YEAR, OrderDate.MONTH, etc.

        • lastBatchNuminteger

          Number of the last batch

        • datasetOriginstring

          Whether this is a new or other dataset

          Can be one of: "new""changed""refreshed""same"

        • versionNumberinteger
          1. -based sequential version number within the experiment
        • experimentModestring

          The model training mode for the experiment version

          Can be one of: "intelligent""manual""manual_hpo"

        • experimentTypestring
          Required

          Experiment type

          Can be one of: "binary""multiclass""regression"

        • createdByUserIdstring
          Required

          ID of owner/user for this entity

        • trainingDurationinteger

          Training duration in seconds. If provided, minimum is 900 (15m) and max is 21600 (6h).

        • preprocessedInsightsarray of objects

          Preprocessed insights. Like feature insights but with fewer details.

          Show preprocessedInsights properties
          • namestring
            Required

            Name of the preprocessed insight column

          • insightsarray of strings
            Required

            Preliminary list of column/feature insights available after preprocessing but before feature insights are available

            Values may be any of: "is_free_text""cannot_be_processed_as_free_text""is_date_engineered""has_target_leakage""feature_type_change_invalid""feature_type_change_failed""feature_type_change_successful"

          • willBeDroppedboolean
            Required

            Whether this feature insight will be dropped due to free text or high cardinality that makes it less useful

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

GET /v1/ml/experiments/{experimentId}/versions/{experimentVersionId}
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/experiments/{experimentId}/versions/{experimentVersionId}" \
-H "Authorization: Bearer <access_token>"
const https = require('https')
  const data = JSON.stringify("")
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/experiments/{experimentId}/versions/{experimentVersionId}',
    'method': 'GET',
    'headers': {
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  
This API is not included yet in qlik-cli

Response

{
  "data": {
    "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
    "type": "experiment-version",
    "attributes": {
      "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
      "name": "string",
      "errors": "[{\"code\":\"AML-145\",\"title\":\"datasync dependent service error, service profile\",\"errorId\":\"c1546687-ad5d-4002-87f6-8c9711299999\",\"meta\":{\"errorId\":\"c1546687-ad5d-4002-87f6-8c9711255555\"}}]\n",
      "status": "pending",
      "target": "TargetColumn",
      "createdAt": "string",
      "dataSetId": "672e55cfcadfb8a18281523e",
      "profileId": "string",
      "updatedAt": "string",
      "algorithms": [
        "catboost_classifier"
      ],
      "topModelId": "string",
      "dateIndexes": [
        "string"
      ],
      "errorMessage": "string",
      "experimentId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
      "featuresList": [
        {
          "name": "ColumnA",
          "include": true,
          "dataType": "STRING",
          "changeType": null,
          "featureType": "categorical",
          "parentFeature": null
        }
      ],
      "lastBatchNum": 42,
      "datasetOrigin": "new",
      "versionNumber": 42,
      "experimentMode": "intelligent",
      "experimentType": "binary",
      "createdByUserId": "string",
      "trainingDuration": 42,
      "preprocessedInsights": [
        {
          "name": "string",
          "insights": [],
          "willBeDropped": true
        }
      ]
    }
  }
}

Update an experiment version

Facts

Rate limit Tier 2 (100 requests per minute)
Categories

Path Parameters

  • experimentIdstring
    Required

    ID of the experiment

  • experimentVersionIdstring
    Required

    ID of the experiment version

Request Body

application/json

Values that can be patched.

  • application/jsonarray of objects

    Values that can be patched.

    Show application/json properties
    • opstring
      Required

      All patch requests use the replace operation

      Can be one of: "replace"

    • pathstring
      Required

      Path for the properties you can update.

      Can be one of: "/name"

    • valueany
      Required

      Use for fields that can be any type (string, number, etc.)

Responses

204

No Content

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

PATCH /v1/ml/experiments/{experimentId}/versions/{experimentVersionId}
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/experiments/{experimentId}/versions/{experimentVersionId}" \
-X PATCH \
-H "Content-type: application/json" \
-H "Authorization: Bearer <access_token>" \
-d '[{"op":"replace","path":"/name","value":"New name"}]'
const https = require('https')
  const data = JSON.stringify([{"op":"replace","path":"/name","value":"New name"}])
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/experiments/{experimentId}/versions/{experimentVersionId}',
    'method': 'PATCH',
    'headers': {
      'Content-type': 'application/json',
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  req.write(data)
  
This API is not included yet in qlik-cli

Request

[
  {
    "op": "replace",
    "path": "/name",
    "value": "New name"
  }
]

Delete an experiment version

Facts

Rate limit Tier 2 (100 requests per minute)
Categories

Path Parameters

  • experimentIdstring
    Required

    ID of the experiment

  • experimentVersionIdstring
    Required

    ID of the experiment version

Responses

204

No Content

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

DELETE /v1/ml/experiments/{experimentId}/versions/{experimentVersionId}
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/experiments/{experimentId}/versions/{experimentVersionId}" \
-X DELETE \
-H "Authorization: Bearer <access_token>"
const https = require('https')
  const data = JSON.stringify("")
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/experiments/{experimentId}/versions/{experimentVersionId}',
    'method': 'DELETE',
    'headers': {
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  
This API is not included yet in qlik-cli

Cancel jobs

Cancels jobs for an experiment version or batch prediction.

Facts

Rate limit Tier 2 (100 requests per minute)
Categories

Path Parameters

  • corrTypestring
    Required

    The type of a resource paired with a corrId

    Can be one of: "batch-prediction""experiment-version"

  • corrIdstring
    Required

    The ID of a correlated resource of corrType

Responses

204

No Content

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

405

application/json

Method Not Allowed

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

POST /v1/ml/jobs/{corrType}/{corrId}/actions/cancel
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/jobs/{corrType}/{corrId}/actions/cancel" \
-X POST \
-H "Authorization: Bearer <access_token>"
const https = require('https')
  const data = JSON.stringify("")
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/jobs/{corrType}/{corrId}/actions/cancel',
    'method': 'POST',
    'headers': {
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  
This API is not included yet in qlik-cli

Start profile insights creation

Starts creating profile insights for an experiment dataset. This is an asynchronous operation. A 202 Accepted response indicates that the process has started successfully. Use the link in the response to check the status.

Facts

Rate limit Tier 2 (100 requests per minute)
Categories

Request Body

application/json

Input to get dataset and feature metadata needed to create experiment versions

  • application/jsonobject

    Input to get dataset and feature metadata needed to create experiment versions

    Show application/json properties
    • dataobject

      Data wrapper for request input

      Show data properties
      • typestring

        Can be one of: "profile-insights"

      • attributesobject

        The request body for this resource

        Show attributes properties
        • dataSetIdstring

          The Qlik catalog dataset ID

Responses

200

application/json

OK

  • application/jsonobject
    Show application/json properties
    • dataobject
      Required
      Show data properties
      • idstring
        Required

        ID of this entity

      • typestring
        Required

        Can be one of: "profile-insights"

      • attributesobject
        Required

        Insights (metadata) about an experiment dataset

        Show attributes properties
        • statusstring
          Required

          Status of profile insights. Not available until ready.

          Can be one of: "pending""error""ready"

        • ownerIdstring
          Required

          ID of owner/user for this entity

        • insightsarray of objects

          List of feature insights object, one per feature in the dataset

          Show insights properties
          • namestring
            Required

            Name of the feature insight

          • insightsarray of strings
            Required

            List of insights about this feature.

            Values may be any of: "constant""high_cardinality""high_cardinality_integer""too_many_nulls""will_be_impact_encoded""will_be_one_hot_encoded""possible_free_text_encoded""valid_index""underrepresented_class""invalid_column_name""will_be_date_engineered"

          • willBeDroppedboolean
            Required

            Whether this feature will be dropped. Traits like high cardinality make some features less predictive or too costly to merit use.

          • cannotBeTargetboolean
            Required

            Whether a feature cannot be the target field

          • experimentTypesarray of strings
            Required

            Experiment types in this feature insight

            Values may be any of: "binary""multiclass""regression"

          • engineeredFeaturesarray of strings

            Preliminary list of engineered features as strings. If subsequent processing validates them, they'll be converted to EngineeredFeature objects within a NestedColumn, each of which may contain its own FeatureInsights.

        • tenantIdstring
          Required

          Tenant ID for this entity

        • defaultVersionConfigobject
          Show defaultVersionConfig properties
          • namestring
            Required
          • dataSetIdstring
            Required

            The Qlik catalog dataset ID

          • featuresListarray of objects

            List of features from your dataset for creating Experiment Versions. This appears in from ProfileInsights response (in the defaultVersionConfig). You can adjust the default settings before using it as input to create or update Experiment Versions.

            Show featuresList properties
            • namestring

              Name of the feature column

            • includeboolean

              Include this feature in your experiment version? Default here is based on insights for this feature (e.g. willBeDropped).

            • dataTypestring

              The data type of this feature in your dataset

              Can be one of: "DATE""TIME""DATETIME""TIMESTAMP""STRING""DOUBLE""DECIMAL""INTEGER""BOOLEAN""BINARY""CUSTOM""FLOAT""OBJECT"

            • changeTypestring

              Indicates if you want to change the featureType for this feature within the experiment version

              Can be one of: "categorical""numeric""date""freetext"

            • featureTypestring

              The type this feature is interpreted as within an experiment version. If you want a value to be interpreted differently (e.g. see 0/1 as categorical/boolean instead of numeric), use changeType.

              Can be one of: "categorical""numeric""date""freetext"

            • parentFeaturestring

              The parent feature name for engineered features. e.g. OrderDate may be the parent of its engineered features (features extracted from parent) like OrderDate.YEAR, OrderDate.MONTH, etc.

          • datasetOriginstring
            Required

            Whether this is a new or other dataset

            Can be one of: "new""changed""refreshed""same"

          • experimentModestring
            Required

            The model training mode for the experiment version

            Can be one of: "intelligent""manual""manual_hpo"

202

application/json

Accepted

  • application/jsonobject
    Show application/json properties
    • dataobject
      Required
      Show data properties
      • idstring
        Required

        ID of this entity

      • typestring
        Required

        Can be one of: "profile-insights"

      • attributesobject
        Required

        Insights (metadata) about an experiment dataset

        Show attributes properties
        • statusstring
          Required

          Status of profile insights. Not available until ready.

          Can be one of: "pending""error""ready"

        • ownerIdstring
          Required

          ID of owner/user for this entity

        • insightsarray of objects

          List of feature insights object, one per feature in the dataset

          Show insights properties
          • namestring
            Required

            Name of the feature insight

          • insightsarray of strings
            Required

            List of insights about this feature.

            Values may be any of: "constant""high_cardinality""high_cardinality_integer""too_many_nulls""will_be_impact_encoded""will_be_one_hot_encoded""possible_free_text_encoded""valid_index""underrepresented_class""invalid_column_name""will_be_date_engineered"

          • willBeDroppedboolean
            Required

            Whether this feature will be dropped. Traits like high cardinality make some features less predictive or too costly to merit use.

          • cannotBeTargetboolean
            Required

            Whether a feature cannot be the target field

          • experimentTypesarray of strings
            Required

            Experiment types in this feature insight

            Values may be any of: "binary""multiclass""regression"

          • engineeredFeaturesarray of strings

            Preliminary list of engineered features as strings. If subsequent processing validates them, they'll be converted to EngineeredFeature objects within a NestedColumn, each of which may contain its own FeatureInsights.

        • tenantIdstring
          Required

          Tenant ID for this entity

        • defaultVersionConfigobject
          Show defaultVersionConfig properties
          • namestring
            Required
          • dataSetIdstring
            Required

            The Qlik catalog dataset ID

          • featuresListarray of objects

            List of features from your dataset for creating Experiment Versions. This appears in from ProfileInsights response (in the defaultVersionConfig). You can adjust the default settings before using it as input to create or update Experiment Versions.

            Show featuresList properties
            • namestring

              Name of the feature column

            • includeboolean

              Include this feature in your experiment version? Default here is based on insights for this feature (e.g. willBeDropped).

            • dataTypestring

              The data type of this feature in your dataset

              Can be one of: "DATE""TIME""DATETIME""TIMESTAMP""STRING""DOUBLE""DECIMAL""INTEGER""BOOLEAN""BINARY""CUSTOM""FLOAT""OBJECT"

            • changeTypestring

              Indicates if you want to change the featureType for this feature within the experiment version

              Can be one of: "categorical""numeric""date""freetext"

            • featureTypestring

              The type this feature is interpreted as within an experiment version. If you want a value to be interpreted differently (e.g. see 0/1 as categorical/boolean instead of numeric), use changeType.

              Can be one of: "categorical""numeric""date""freetext"

            • parentFeaturestring

              The parent feature name for engineered features. e.g. OrderDate may be the parent of its engineered features (features extracted from parent) like OrderDate.YEAR, OrderDate.MONTH, etc.

          • datasetOriginstring
            Required

            Whether this is a new or other dataset

            Can be one of: "new""changed""refreshed""same"

          • experimentModestring
            Required

            The model training mode for the experiment version

            Can be one of: "intelligent""manual""manual_hpo"

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

POST /v1/ml/profile-insights
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/profile-insights" \
-X POST \
-H "Content-type: application/json" \
-H "Authorization: Bearer <access_token>" \
-d '{"data":{"type":"profile-insights","attributes":{"dataSetId":"672e55cfcadfb8a18281523e"}}}'
const https = require('https')
  const data = JSON.stringify({"data":{"type":"profile-insights","attributes":{"dataSetId":"672e55cfcadfb8a18281523e"}}})
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/profile-insights',
    'method': 'POST',
    'headers': {
      'Content-type': 'application/json',
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  req.write(data)
  
This API is not included yet in qlik-cli

Request

{
  "data": {
    "type": "profile-insights",
    "attributes": {
      "dataSetId": "672e55cfcadfb8a18281523e"
    }
  }
}

Response

{
  "data": {
    "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
    "type": "profile-insights",
    "attributes": {
      "status": "pending",
      "ownerId": "string",
      "insights": [
        {
          "name": "string",
          "insights": [
            "constant"
          ],
          "willBeDropped": true,
          "cannotBeTarget": true,
          "experimentTypes": [
            "binary"
          ],
          "engineeredFeatures": "[\n  `${featureName}.YEAR`,\n  `${featureName}.MONTH`\n]\n"
        }
      ],
      "tenantId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
      "defaultVersionConfig": {
        "name": "Experiment version name. Defaults to current date/time.",
        "dataSetId": "672e55cfcadfb8a18281523e",
        "featuresList": [
          {
            "name": "ColumnA",
            "include": true,
            "dataType": "STRING",
            "changeType": null,
            "featureType": "categorical",
            "parentFeature": null
          }
        ],
        "datasetOrigin": "new",
        "experimentMode": "intelligent"
      }
    }
  }
}

Get profile insights

Retrieves profile insights for the specified dataset. If you received a 202 Accepted response from POST /ml/profile-insights, poll this endpoint until a 200 OK response with ready status is returned.

Facts

Rate limit Tier 1 (1000 requests per minute)
Categories

Path Parameters

  • dataSetIdstring
    Required

    The Qlik catalog dataset ID

Responses

200

application/json

OK

  • application/jsonobject
    Show application/json properties
    • dataobject
      Required
      Show data properties
      • idstring
        Required

        ID of this entity

      • typestring
        Required

        Can be one of: "profile-insights"

      • attributesobject
        Required

        Insights (metadata) about an experiment dataset

        Show attributes properties
        • statusstring
          Required

          Status of profile insights. Not available until ready.

          Can be one of: "pending""error""ready"

        • ownerIdstring
          Required

          ID of owner/user for this entity

        • insightsarray of objects

          List of feature insights object, one per feature in the dataset

          Show insights properties
          • namestring
            Required

            Name of the feature insight

          • insightsarray of strings
            Required

            List of insights about this feature.

            Values may be any of: "constant""high_cardinality""high_cardinality_integer""too_many_nulls""will_be_impact_encoded""will_be_one_hot_encoded""possible_free_text_encoded""valid_index""underrepresented_class""invalid_column_name""will_be_date_engineered"

          • willBeDroppedboolean
            Required

            Whether this feature will be dropped. Traits like high cardinality make some features less predictive or too costly to merit use.

          • cannotBeTargetboolean
            Required

            Whether a feature cannot be the target field

          • experimentTypesarray of strings
            Required

            Experiment types in this feature insight

            Values may be any of: "binary""multiclass""regression"

          • engineeredFeaturesarray of strings

            Preliminary list of engineered features as strings. If subsequent processing validates them, they'll be converted to EngineeredFeature objects within a NestedColumn, each of which may contain its own FeatureInsights.

        • tenantIdstring
          Required

          Tenant ID for this entity

        • defaultVersionConfigobject
          Show defaultVersionConfig properties
          • namestring
            Required
          • dataSetIdstring
            Required

            The Qlik catalog dataset ID

          • featuresListarray of objects

            List of features from your dataset for creating Experiment Versions. This appears in from ProfileInsights response (in the defaultVersionConfig). You can adjust the default settings before using it as input to create or update Experiment Versions.

            Show featuresList properties
            • namestring

              Name of the feature column

            • includeboolean

              Include this feature in your experiment version? Default here is based on insights for this feature (e.g. willBeDropped).

            • dataTypestring

              The data type of this feature in your dataset

              Can be one of: "DATE""TIME""DATETIME""TIMESTAMP""STRING""DOUBLE""DECIMAL""INTEGER""BOOLEAN""BINARY""CUSTOM""FLOAT""OBJECT"

            • changeTypestring

              Indicates if you want to change the featureType for this feature within the experiment version

              Can be one of: "categorical""numeric""date""freetext"

            • featureTypestring

              The type this feature is interpreted as within an experiment version. If you want a value to be interpreted differently (e.g. see 0/1 as categorical/boolean instead of numeric), use changeType.

              Can be one of: "categorical""numeric""date""freetext"

            • parentFeaturestring

              The parent feature name for engineered features. e.g. OrderDate may be the parent of its engineered features (features extracted from parent) like OrderDate.YEAR, OrderDate.MONTH, etc.

          • datasetOriginstring
            Required

            Whether this is a new or other dataset

            Can be one of: "new""changed""refreshed""same"

          • experimentModestring
            Required

            The model training mode for the experiment version

            Can be one of: "intelligent""manual""manual_hpo"

400

application/json

Bad Request

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

401

application/json

Unauthorized

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

403

application/json

Forbidden

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

404

application/json

Not Found

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

500

application/json

Internal Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

502

application/json

Bad Gateway

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

503

application/json

Service Unavailable

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

default

application/json

Unexpected Error

  • application/jsonobject
    Show application/json properties
    • errorsarray of objects
      Required

      An error object

      Show errors properties
      • codestring
        Required

        Qlik error code (not HTTP response status code)

      • metaobject

        Additional details about the error. These may vary by error.

        Show meta properties
        • issuestring

          The issue code

        • detailsstring

          Extra details for what may have caused the error

        • errorIdstring

          The unique id of the error instance

        • argumentstring

          The argument

        • resourcestring

          The resource type that the error occurred on

        • resourceIdstring

          The resource id that the error occurred on

      • titlestring
        Required

        Short summary of error

      • detailstring

        Description of the error

GET /v1/ml/profile-insights/{dataSetId}
curl "https://your-tenant.us.qlikcloud.com/api/v1/ml/profile-insights/{dataSetId}" \
-H "Authorization: Bearer <access_token>"
const https = require('https')
  const data = JSON.stringify("")
  const options =   {
    'hostname': 'https://your-tenant.us.qlikcloud.com',
    'port': 443,
    'path': '/api/v1/ml/profile-insights/{dataSetId}',
    'method': 'GET',
    'headers': {
      'Authorization': 'Bearer <access_token>'
    }
  }
  const req = https.request(options)
  
This API is not included yet in qlik-cli

Response

{
  "data": {
    "id": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
    "type": "profile-insights",
    "attributes": {
      "status": "pending",
      "ownerId": "string",
      "insights": [
        {
          "name": "string",
          "insights": [
            "constant"
          ],
          "willBeDropped": true,
          "cannotBeTarget": true,
          "experimentTypes": [
            "binary"
          ],
          "engineeredFeatures": "[\n  `${featureName}.YEAR`,\n  `${featureName}.MONTH`\n]\n"
        }
      ],
      "tenantId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4",
      "defaultVersionConfig": {
        "name": "Experiment version name. Defaults to current date/time.",
        "dataSetId": "672e55cfcadfb8a18281523e",
        "featuresList": [
          {
            "name": "ColumnA",
            "include": true,
            "dataType": "STRING",
            "changeType": null,
            "featureType": "categorical",
            "parentFeature": null
          }
        ],
        "datasetOrigin": "new",
        "experimentMode": "intelligent"
      }
    }
  }
}