Qlik Sense Predictions API

The predictions API from Qlik Sense — 6 operation(s) for predictions.

Operations 12

POST /api/v1/ml/deployments/{deploymentId}/aliases/{aliasName}/realtime-predictions/actions/run Generate predictions in a synchronous request/response #
GET /api/v1/ml/deployments/{deploymentId}/batch-predictions List batch prediction configurations #
POST /api/v1/ml/deployments/{deploymentId}/batch-predictions Create a prediction configuration #
GET /api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId} Retrieve a batch prediction #
PATCH /api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId} Updates a batch prediction #
DELETE /api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId} Delete a batch prediction #
POST /api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/actions/predict Run a batch prediction #
GET /api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule Get a batch prediction schedule #
PATCH /api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule Update a batch prediction schedule #
PUT /api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule Add a batch prediction schedule #
DELETE /api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule Delete a batch prediction schedule #
POST /api/v1/ml/deployments/{deploymentId}/realtime-predictions/actions/run Generate predictions in a synchronous request/response #

Documentation

📖
Documentation
https://qlik.dev/apis/rest/analytics/apps/
📖
APIReference
https://qlik.dev/apis/rest/analytics/apps/
📖
Documentation
https://qlik.dev/apis/rest/analytics/change-stores/
📖
APIReference
https://qlik.dev/apis/rest/analytics/change-stores/
📖
Documentation
https://qlik.dev/apis/rest/analytics/discovery-agent/adaptive-cards/
📖
APIReference
https://qlik.dev/apis/rest/analytics/discovery-agent/adaptive-cards/
📖
Documentation
https://qlik.dev/apis/rest/analytics/odag-apps/
📖
APIReference
https://qlik.dev/apis/rest/analytics/odag-apps/
📖
Documentation
https://qlik.dev/apis/rest/analytics/odag-links/
📖
APIReference
https://qlik.dev/apis/rest/analytics/odag-links/
📖
Documentation
https://qlik.dev/apis/rest/analytics/odag-requests/
📖
APIReference
https://qlik.dev/apis/rest/analytics/odag-requests/
📖
Documentation
https://qlik.dev/apis/rest/analytics/odag-settings/
📖
APIReference
https://qlik.dev/apis/rest/analytics/odag-settings/
📖
Documentation
https://qlik.dev/apis/rest/api-keys/
📖
APIReference
https://qlik.dev/apis/rest/api-keys/
📖
Documentation
https://qlik.dev/apis/rest/apps/
📖
APIReference
https://qlik.dev/apis/rest/apps/
📖
Documentation
https://qlik.dev/apis/rest/assistants/
📖
APIReference
https://qlik.dev/apis/rest/assistants/
📖
Documentation
https://qlik.dev/apis/rest/audits/
📖
APIReference
https://qlik.dev/apis/rest/audits/
📖
Documentation
https://qlik.dev/apis/rest/automation-connections/
📖
APIReference
https://qlik.dev/apis/rest/automation-connections/
📖
Documentation
https://qlik.dev/apis/rest/automation-connectors/
📖
APIReference
https://qlik.dev/apis/rest/automation-connectors/
📖
Documentation
https://qlik.dev/apis/rest/automations/
📖
APIReference
https://qlik.dev/apis/rest/automations/
📖
Documentation
https://qlik.dev/apis/rest/automl-deployments/
📖
APIReference
https://qlik.dev/apis/rest/automl-deployments/
📖
Documentation
https://qlik.dev/apis/rest/automl-predictions/
📖
APIReference
https://qlik.dev/apis/rest/automl-predictions/
📖
Documentation
https://qlik.dev/apis/rest/banners/
📖
APIReference
https://qlik.dev/apis/rest/banners/
📖
Documentation
https://qlik.dev/apis/rest/brands/
📖
APIReference
https://qlik.dev/apis/rest/brands/
📖
Documentation
https://qlik.dev/apis/rest/collections/
📖
APIReference
https://qlik.dev/apis/rest/collections/
📖
Documentation
https://qlik.dev/apis/rest/conditions/
📖
APIReference
https://qlik.dev/apis/rest/conditions/
📖
Documentation
https://qlik.dev/apis/rest/consumption/
📖
APIReference
https://qlik.dev/apis/rest/consumption/
📖
Documentation
https://qlik.dev/apis/rest/core/auth-settings/
📖
APIReference
https://qlik.dev/apis/rest/core/auth-settings/
📖
Documentation
https://qlik.dev/apis/rest/core/ip-policies/
📖
APIReference
https://qlik.dev/apis/rest/core/ip-policies/
📖
Documentation
https://qlik.dev/apis/rest/csp-origins/
📖
APIReference
https://qlik.dev/apis/rest/csp-origins/
📖
Documentation
https://qlik.dev/apis/rest/csrf-token/
📖
APIReference
https://qlik.dev/apis/rest/csrf-token/
📖
Documentation
https://qlik.dev/apis/rest/data-alerts/
📖
APIReference
https://qlik.dev/apis/rest/data-alerts/
📖
Documentation
https://qlik.dev/apis/rest/data-assets/
📖
APIReference
https://qlik.dev/apis/rest/data-assets/
📖
Documentation
https://qlik.dev/apis/rest/data-connections/
📖
APIReference
https://qlik.dev/apis/rest/data-connections/
📖
Documentation
https://qlik.dev/apis/rest/data-credentials/
📖
APIReference
https://qlik.dev/apis/rest/data-credentials/
📖
Documentation
https://qlik.dev/apis/rest/data-files/
📖
APIReference
https://qlik.dev/apis/rest/data-files/
📖
Documentation
https://qlik.dev/apis/rest/data-governance/data-products/
📖
APIReference
https://qlik.dev/apis/rest/data-governance/data-products/
📖
Documentation
https://qlik.dev/apis/rest/data-governance/data-qualities/
📖
APIReference
https://qlik.dev/apis/rest/data-governance/data-qualities/
📖
Documentation
https://qlik.dev/apis/rest/data-governance/trust-scores/
📖
APIReference
https://qlik.dev/apis/rest/data-governance/trust-scores/
📖
Documentation
https://qlik.dev/apis/rest/data-qualities/
📖
APIReference
https://qlik.dev/apis/rest/data-qualities/
📖
Documentation
https://qlik.dev/apis/rest/data-sets/
📖
APIReference
https://qlik.dev/apis/rest/data-sets/
📖
Documentation
https://qlik.dev/apis/rest/data-sources/
📖
APIReference
https://qlik.dev/apis/rest/data-sources/
📖
Documentation
https://qlik.dev/apis/rest/data-stores/
📖
APIReference
https://qlik.dev/apis/rest/data-stores/
📖
Documentation
https://qlik.dev/apis/rest/di-projects/
📖
APIReference
https://qlik.dev/apis/rest/di-projects/
📖
Documentation
https://qlik.dev/apis/rest/direct-access-agents/
📖
APIReference
https://qlik.dev/apis/rest/direct-access-agents/
📖
Documentation
https://qlik.dev/apis/rest/encryption/
📖
APIReference
https://qlik.dev/apis/rest/encryption/
📖
Documentation
https://qlik.dev/apis/rest/extensions/
📖
APIReference
https://qlik.dev/apis/rest/extensions/
📖
Documentation
https://qlik.dev/apis/rest/glossaries/
📖
APIReference
https://qlik.dev/apis/rest/glossaries/
📖
Documentation
https://qlik.dev/apis/rest/groups/
📖
APIReference
https://qlik.dev/apis/rest/groups/
📖
Documentation
https://qlik.dev/apis/rest/identity-providers/
📖
APIReference
https://qlik.dev/apis/rest/identity-providers/
📖
Documentation
https://qlik.dev/apis/rest/items/
📖
APIReference
https://qlik.dev/apis/rest/items/
📖
Documentation
https://qlik.dev/apis/rest/knowledgebases/
📖
APIReference
https://qlik.dev/apis/rest/knowledgebases/
📖
Documentation
https://qlik.dev/apis/rest/licenses/
📖
APIReference
https://qlik.dev/apis/rest/licenses/
📖
Documentation
https://qlik.dev/apis/rest/lineage-graphs/
📖
APIReference
https://qlik.dev/apis/rest/lineage-graphs/
📖
Documentation
https://qlik.dev/apis/rest/login/
📖
APIReference
https://qlik.dev/apis/rest/login/
📖
Documentation
https://qlik.dev/apis/rest/ml/
📖
APIReference
https://qlik.dev/apis/rest/ml/
📖
Documentation
https://qlik.dev/apis/rest/notes/
📖
APIReference
https://qlik.dev/apis/rest/notes/
📖
Documentation
https://qlik.dev/apis/rest/notifications/
📖
APIReference
https://qlik.dev/apis/rest/notifications/
📖
Documentation
https://qlik.dev/apis/rest/oauth-clients/
📖
APIReference
https://qlik.dev/apis/rest/oauth-clients/
📖
Documentation
https://qlik.dev/apis/rest/oauth-tokens/
📖
APIReference
https://qlik.dev/apis/rest/oauth-tokens/
📖
Documentation
https://qlik.dev/apis/rest/questions/
📖
APIReference
https://qlik.dev/apis/rest/questions/
📖
Documentation
https://qlik.dev/apis/rest/quotas/
📖
APIReference
https://qlik.dev/apis/rest/quotas/
📖
Documentation
https://qlik.dev/apis/rest/reload-tasks/
📖
APIReference
https://qlik.dev/apis/rest/reload-tasks/
📖
Documentation
https://qlik.dev/apis/rest/reloads/
📖
APIReference
https://qlik.dev/apis/rest/reloads/
📖
Documentation
https://qlik.dev/apis/rest/report-templates/
📖
APIReference
https://qlik.dev/apis/rest/report-templates/
📖
Documentation
https://qlik.dev/apis/rest/reports/
📖
APIReference
https://qlik.dev/apis/rest/reports/
📖
Documentation
https://qlik.dev/apis/rest/roles/
📖
APIReference
https://qlik.dev/apis/rest/roles/
📖
Documentation
https://qlik.dev/apis/rest/scheduling/tasks/
📖
APIReference
https://qlik.dev/apis/rest/scheduling/tasks/
📖
Documentation
https://qlik.dev/apis/rest/sharing-tasks/
📖
APIReference
https://qlik.dev/apis/rest/sharing-tasks/
📖
Documentation
https://qlik.dev/apis/rest/spaces/
📖
APIReference
https://qlik.dev/apis/rest/spaces/
📖
Documentation
https://qlik.dev/apis/rest/tasks/
📖
APIReference
https://qlik.dev/apis/rest/tasks/
📖
Documentation
https://qlik.dev/apis/rest/temp-contents/
📖
APIReference
https://qlik.dev/apis/rest/temp-contents/
📖
Documentation
https://qlik.dev/apis/rest/tenant-settings/
📖
APIReference
https://qlik.dev/apis/rest/tenant-settings/
📖
Documentation
https://qlik.dev/apis/rest/tenants/
📖
APIReference
https://qlik.dev/apis/rest/tenants/
📖
Documentation
https://qlik.dev/apis/rest/themes/
📖
APIReference
https://qlik.dev/apis/rest/themes/
📖
Documentation
https://qlik.dev/apis/rest/transports/
📖
APIReference
https://qlik.dev/apis/rest/transports/
📖
Documentation
https://qlik.dev/apis/rest/ui-config/
📖
APIReference
https://qlik.dev/apis/rest/ui-config/
📖
Documentation
https://qlik.dev/apis/rest/users/
📖
APIReference
https://qlik.dev/apis/rest/users/
📖
Documentation
https://qlik.dev/apis/rest/web-integrations/
📖
APIReference
https://qlik.dev/apis/rest/web-integrations/
📖
Documentation
https://qlik.dev/apis/rest/web-notifications/
📖
APIReference
https://qlik.dev/apis/rest/web-notifications/
📖
Documentation
https://qlik.dev/apis/rest/webhooks/
📖
APIReference
https://qlik.dev/apis/rest/webhooks/
📖
Documentation
https://qlik.dev/apis/rest/workflows/automation-connections/
📖
APIReference
https://qlik.dev/apis/rest/workflows/automation-connections/
📖
Documentation
https://qlik.dev/apis/rest/workflows/automation-connectors/
📖
APIReference
https://qlik.dev/apis/rest/workflows/automation-connectors/
📖
Documentation
https://qlik.dev/apis/rest/workflows/automations/
📖
APIReference
https://qlik.dev/apis/rest/workflows/automations/
📖
Documentation
https://qlik.dev/apis/rest
📖
Authentication
https://qlik.dev/authenticate

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/qliksense-predictions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

qliksense-predictions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ml Predictions API
  version: ''
servers:
- url: https://{tenant}.{region}.qlikcloud.com
  variables:
    region:
      default: us
      description: The region the tenant is hosted in
    tenant:
      default: your-tenant
      description: Name of the tenant that will be called
tags:
- name: Predictions
paths:
  /api/v1/ml/deployments/{deploymentId}/aliases/{aliasName}/realtime-predictions/actions/run:
    post:
      tags:
      - Predictions
      summary: Generate predictions in a synchronous request/response
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RealtimePrediction'
          description: Stream of combined prediction output returned successfully.
        '400':
          $ref: '#/components/responses/400BadRequest'
        '401':
          $ref: '#/components/responses/401Unauthorized'
        '403':
          $ref: '#/components/responses/403Forbidden'
        '404':
          $ref: '#/components/responses/404NotFound'
        '409':
          $ref: '#/components/responses/409Conflict'
        '503':
          $ref: '#/components/responses/503ServiceUnavailable'
        default:
          $ref: '#/components/responses/FailureDefault'
      parameters:
      - in: query
        name: includeNotPredictedReason
        schema:
          type: boolean
        required: false
        description: 'If true, reason why a prediction was not produced included response

          '
      - in: query
        name: includeShap
        schema:
          type: boolean
        required: false
        description: If true, shap values included in response
      - in: query
        name: includeSource
        schema:
          type: boolean
        required: false
        description: If true, source data included in response
      - in: query
        name: index
        schema:
          type: string
        required: false
        description: '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.

          '
      - $ref: '#/components/parameters/deploymentId'
      - $ref: '#/components/parameters/aliasName'
      operationId: predictRealtimeWithAlias
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RealtimePredictionInput'
        description: 'Request payload containing the dataset for predictions. Date features

          must be in ISO 8601 format.

          '
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '2'
        limit: 100
  /api/v1/ml/deployments/{deploymentId}/batch-predictions:
    get:
      tags:
      - Predictions
      summary: List batch prediction configurations
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchPredictionFindResponse'
          description: '`OK`'
        '400':
          $ref: '#/components/responses/400BadRequest'
        '401':
          $ref: '#/components/responses/401Unauthorized'
        '403':
          $ref: '#/components/responses/403Forbidden'
        '404':
          $ref: '#/components/responses/404NotFound'
        '500':
          $ref: '#/components/responses/500InternalError'
        '502':
          $ref: '#/components/responses/502BadGateway'
        '503':
          $ref: '#/components/responses/503ServiceUnavailable'
        default:
          $ref: '#/components/responses/FailureDefault'
      parameters:
      - $ref: '#/components/parameters/deploymentId'
      - $ref: '#/components/parameters/batchPredictionsFilter'
      - $ref: '#/components/parameters/batchPredictionsSort'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/offset'
      operationId: getBatchPredictions
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '1'
        limit: 1000
    post:
      tags:
      - Predictions
      summary: Create a prediction configuration
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchPredictionPostResponse'
          description: '`Created`'
        '400':
          $ref: '#/components/responses/400BadRequest'
        '401':
          $ref: '#/components/responses/401Unauthorized'
        '403':
          $ref: '#/components/responses/403Forbidden'
        '404':
          $ref: '#/components/responses/404NotFound'
        '500':
          $ref: '#/components/responses/500InternalError'
        '502':
          $ref: '#/components/responses/502BadGateway'
        '503':
          $ref: '#/components/responses/503ServiceUnavailable'
        default:
          $ref: '#/components/responses/FailureDefault'
      parameters:
      - $ref: '#/components/parameters/deploymentId'
      operationId: postBatchPrediction
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BatchPredictionInput'
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '2'
        limit: 100
  /api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}:
    get:
      tags:
      - Predictions
      summary: Retrieve a batch prediction
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchPredictionGetResponse'
          description: '`OK`'
        '400':
          $ref: '#/components/responses/400BadRequest'
        '401':
          $ref: '#/components/responses/401Unauthorized'
        '403':
          $ref: '#/components/responses/403Forbidden'
        '404':
          $ref: '#/components/responses/404NotFound'
        '500':
          $ref: '#/components/responses/500InternalError'
        '502':
          $ref: '#/components/responses/502BadGateway'
        '503':
          $ref: '#/components/responses/503ServiceUnavailable'
        default:
          $ref: '#/components/responses/FailureDefault'
      parameters:
      - $ref: '#/components/parameters/deploymentId'
      - $ref: '#/components/parameters/batchPredictionId'
      operationId: getBatchPrediction
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '1'
        limit: 1000
    patch:
      tags:
      - Predictions
      summary: Updates a batch prediction
      responses:
        '204':
          $ref: '#/components/responses/204NoContent'
        '400':
          $ref: '#/components/responses/400BadRequest'
        '401':
          $ref: '#/components/responses/401Unauthorized'
        '403':
          $ref: '#/components/responses/403Forbidden'
        '404':
          $ref: '#/components/responses/404NotFound'
        '500':
          $ref: '#/components/responses/500InternalError'
        '502':
          $ref: '#/components/responses/502BadGateway'
        '503':
          $ref: '#/components/responses/503ServiceUnavailable'
        default:
          $ref: '#/components/responses/FailureDefault'
      parameters:
      - $ref: '#/components/parameters/deploymentId'
      - $ref: '#/components/parameters/batchPredictionId'
      operationId: patchBatchPrediction
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BatchPredictionPatch'
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '2'
        limit: 100
    delete:
      tags:
      - Predictions
      summary: Delete a batch prediction
      responses:
        '204':
          $ref: '#/components/responses/204NoContent'
        '400':
          $ref: '#/components/responses/400BadRequest'
        '401':
          $ref: '#/components/responses/401Unauthorized'
        '403':
          $ref: '#/components/responses/403Forbidden'
        '404':
          $ref: '#/components/responses/404NotFound'
        '500':
          $ref: '#/components/responses/500InternalError'
        '502':
          $ref: '#/components/responses/502BadGateway'
        '503':
          $ref: '#/components/responses/503ServiceUnavailable'
        default:
          $ref: '#/components/responses/FailureDefault'
      parameters:
      - $ref: '#/components/parameters/deploymentId'
      - $ref: '#/components/parameters/batchPredictionId'
      operationId: deleteBatchPrediction
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '2'
        limit: 100
  /api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/actions/predict:
    post:
      tags:
      - Predictions
      summary: Run a batch prediction
      responses:
        '202':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchPredictionActionResponse'
          headers:
            Content-Location:
              schema:
                type: string
                format: uri
              required: true
              description: URL to poll for the status of this resource
          description: '`Accepted`'
        '400':
          $ref: '#/components/responses/400BadRequest'
        '401':
          $ref: '#/components/responses/401Unauthorized'
        '403':
          $ref: '#/components/responses/403Forbidden'
        '404':
          $ref: '#/components/responses/404NotFound'
        '500':
          $ref: '#/components/responses/500InternalError'
        '502':
          $ref: '#/components/responses/502BadGateway'
        '503':
          $ref: '#/components/responses/503ServiceUnavailable'
        default:
          $ref: '#/components/responses/FailureDefault'
      parameters:
      - $ref: '#/components/parameters/deploymentId'
      - $ref: '#/components/parameters/batchPredictionId'
      operationId: predictBatchPrediction
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '2'
        limit: 100
  /api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule:
    get:
      tags:
      - Predictions
      summary: Get a batch prediction schedule
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchPredictionScheduleGetResponse'
          description: '`OK`'
        '400':
          $ref: '#/components/responses/400BadRequest'
        '401':
          $ref: '#/components/responses/401Unauthorized'
        '403':
          $ref: '#/components/responses/403Forbidden'
        '404':
          $ref: '#/components/responses/404NotFound'
        '500':
          $ref: '#/components/responses/500InternalError'
        '502':
          $ref: '#/components/responses/502BadGateway'
        '503':
          $ref: '#/components/responses/503ServiceUnavailable'
        default:
          $ref: '#/components/responses/FailureDefault'
      parameters:
      - $ref: '#/components/parameters/deploymentId'
      - $ref: '#/components/parameters/batchPredictionId'
      description: Retrieves the schedule for a batch prediction.
      operationId: getBatchPredictionSchedule
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '1'
        limit: 1000
    patch:
      tags:
      - Predictions
      summary: Update a batch prediction schedule
      responses:
        '204':
          $ref: '#/components/responses/204NoContent'
        '400':
          $ref: '#/components/responses/400BadRequest'
        '401':
          $ref: '#/components/responses/401Unauthorized'
        '403':
          $ref: '#/components/responses/403Forbidden'
        '404':
          $ref: '#/components/responses/404NotFound'
        '500':
          $ref: '#/components/responses/500InternalError'
        '502':
          $ref: '#/components/responses/502BadGateway'
        '503':
          $ref: '#/components/responses/503ServiceUnavailable'
        default:
          $ref: '#/components/responses/FailureDefault'
      parameters:
      - $ref: '#/components/parameters/deploymentId'
      - $ref: '#/components/parameters/batchPredictionId'
      description: Updates the schedule for a batch prediction.
      operationId: patchBatchPredictionSchedule
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BatchPredictionSchedulePatch'
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '2'
        limit: 100
    put:
      tags:
      - Predictions
      summary: Add a batch prediction schedule
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchPredictionSchedulePutResponse'
          description: '`Created`'
        '400':
          $ref: '#/components/responses/400BadRequest'
        '401':
          $ref: '#/components/responses/401Unauthorized'
        '403':
          $ref: '#/components/responses/403Forbidden'
        '404':
          $ref: '#/components/responses/404NotFound'
        '500':
          $ref: '#/components/responses/500InternalError'
        '502':
          $ref: '#/components/responses/502BadGateway'
        '503':
          $ref: '#/components/responses/503ServiceUnavailable'
        default:
          $ref: '#/components/responses/FailureDefault'
      parameters:
      - $ref: '#/components/parameters/deploymentId'
      - $ref: '#/components/parameters/batchPredictionId'
      description: Adds a schedule to a batch prediction.
      operationId: putBatchPredictionSchedule
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BatchPredictionScheduleInput'
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '2'
        limit: 100
    delete:
      tags:
      - Predictions
      summary: Delete a batch prediction schedule
      responses:
        '204':
          $ref: '#/components/responses/204NoContent'
        '400':
          $ref: '#/components/responses/400BadRequest'
        '401':
          $ref: '#/components/responses/401Unauthorized'
        '403':
          $ref: '#/components/responses/403Forbidden'
        '404':
          $ref: '#/components/responses/404NotFound'
        '500':
          $ref: '#/components/responses/500InternalError'
        '502':
          $ref: '#/components/responses/502BadGateway'
        '503':
          $ref: '#/components/responses/503ServiceUnavailable'
        default:
          $ref: '#/components/responses/FailureDefault'
      parameters:
      - $ref: '#/components/parameters/deploymentId'
      - $ref: '#/components/parameters/batchPredictionId'
      description: Deletes the schedule from a batch prediction.
      operationId: deleteBatchPredictionSchedule
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '2'
        limit: 100
  /api/v1/ml/deployments/{deploymentId}/realtime-predictions/actions/run:
    post:
      tags:
      - Predictions
      summary: Generate predictions in a synchronous request/response
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RealtimePrediction'
          description: Stream of combined prediction output returned successfully.
        '400':
          $ref: '#/components/responses/400BadRequest'
        '401':
          $ref: '#/components/responses/401Unauthorized'
        '403':
          $ref: '#/components/responses/403Forbidden'
        '404':
          $ref: '#/components/responses/404NotFound'
        '409':
          $ref: '#/components/responses/409Conflict'
        '503':
          $ref: '#/components/responses/503ServiceUnavailable'
        default:
          $ref: '#/components/responses/FailureDefault'
      parameters:
      - in: query
        name: includeNotPredictedReason
        schema:
          type: boolean
        required: false
        description: 'If true, reason why a prediction was not produced included response

          '
      - in: query
        name: includeShap
        schema:
          type: boolean
        required: false
        description: If true, shapley values included in response
      - in: query
        name: includeSource
        schema:
          type: boolean
        required: false
        description: If true, source data included in response
      - in: query
        name: index
        schema:
          type: string
        required: false
        description: '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.

          '
      - $ref: '#/components/parameters/deploymentId'
      operationId: predictRealtime
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RealtimePredictionInput'
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '2'
        limit: 100
components:
  schemas:
    BatchPredictionInput:
      type: object
      properties:
        data:
          type: object
          properties:
            type:
              enum:
              - batch-prediction
              type: string
              default: batch-prediction
            attributes:
              type: object
              properties:
                name:
                  $ref: '#/components/schemas/EntityName'
                aliasId:
                  $ref: '#/components/schemas/AliasId'
                schedule:
                  $ref: '#/components/schemas/BatchPredictionScheduleInputAttributes'
                dataSetId:
                  $ref: '#/components/schemas/DataSetId'
                writeback:
                  $ref: '#/components/schemas/BatchPredictionWriteback'
                description:
                  type: string
                indexColumn:
                  $ref: '#/components/schemas/IndexColumn'
                deploymentId:
                  $ref: '#/components/schemas/DeploymentId'
              additionalProperties: false
          additionalProperties: false
      description: Input values for creating a batch prediction configuration
      additionalProperties: false
    BatchPredictionWriteback:
      type: object
      required:
      - spaceId
      - format
      - dstName
      properties:
        format:
          enum:
          - qvd
          - parquet
          - csv
          type: string
          default: parquet
          description: File format for write back files (this applies to all)
        dstName:
          type: string
        spaceId:
          type: string
          description: 'Space ID where you want to save batch prediction writebacks or

            empty string ('''') save them to your personal space.

            '
        dstShapName:
          type: string
        dstSourceName:
          type: string
        dstCoordShapName:
          type: string
        dstNotPredictedName:
          type: string
      description: 'Sets which files, file names, and spaces are used to write results of

        batch predictions (output files) to the catalog.


        Note that for predictions based on time series models, `dstShapName`

        and `dstCoordShapName` do not apply and will be ignored if set.

        '
    DeploymentId:
      type: string
      format: uuid
      description: ID of a model deployment
      x-qlik-fiterable: true
    BatchPredictionScheduleGetResponse:
      type: object
      required:
      - data
      properties:
        data:
          type: object
          required:
          - type
          - id
          - attributes
          properties:
            id:
              $ref: '#/components/schemas/EntityId'
            type:
              enum:
              - batch-prediction-schedule
              type: string
            attributes:
              $ref: '#/components/schemas/BatchPredictionSchedule'
          additionalProperties: false
      additionalProperties: false
    TenantId:
      type: string
      format: uuid
      description: Tenant ID for this entity
      x-qlik-filterable: true
    ResponseLinks:
      type: object
      required:
      - first
      - prev
      - self
      - next
      - last
      properties:
        last:
          type: object
          properties:
            href:
              type: string
              format: uri
              description: 'Link to the last set of responses from `limit` minus `offset` to

                `limit`

                '
        next:
          type: object
          properties:
            href:
              type: string
              format: uri
              description: 'Link to the next set of responses

                '
        prev:
          type: object
          properties:
            href:
              type: string
              format: uri
              description: 'Link to the previous set of responses

                '
        self:
          type: object
          properties:
            href:
              type: string
              format: uri
              description: 'Link to the current set of responses

                '
        first:
          type: object
          properties:
            href:
              type: string
              format: uri
              description: 'Link to the first set of responses from `offset` 0 to count `limit``

                '
      description: Resource links included in paginated responses
      additionalProperties: false
    BatchPredictionStatus:
      enum:
      - modified
      - ready
      - error
      - cancelled
      - pending
      type: string
      description: Status of this batch prediction
    RealtimePrediction:
      type: object
      properties:
        data:
          type: object
          properties:
            type:
              enum:
              - realtime-prediction
              type: string
              default: realtime-prediction
            attributes:
              type: object
              properties:
                rows:
                  type: array
                  items:
                    type: array
                    items:
                      type: string
                  description: 'Rows of the dataset from which to produce predictions

                    '
                schema:
                  type: array
                  items:
                    $ref: '#/components/schemas/RealTimePredictionSchema'
                  description: List of features in the dataset
              additionalProperties: false
          additionalProperties: false
      description: Input values for creating realtime predictions
      additionalProperties: false
    RealtimePredictionInput:
      type: object
      properties:
        rows:
          type: array
          items:
            type: array
            items:
              type: string
          description: 'Rows of the dataset from which to produce predictions.

            Date features must be in ISO 8601 format.

            '
        schema:
          type: array
          items:
            $ref: '#/components/schemas/RealTimePredictionInputSchema'
          description: List of features in the dataset.
      description: Input values for creating realtime predictions
      additionalProperties: false
    UpdatedAt:
      type: string
      description: Timestamp when this was updated
    BatchPredictionSchedulePatch:
      type: array
      items:
        type: object
        example:
          op: replace
          path: /startDateTime
          value: '2022-09-14T12:00:00'
        required:
        - op
        - path
        - value
        properties:
          op:
            enum:
            - replace
            type: string
            description: All patch requests use the replace operation
          path:
            enum:
            - /startDateTime
            - /endDateTime
            - /timezone
            - /recurrence
            - /applyDatasetChangeOnly
            type: string
            description: Path for the property you want to update
          value:
            $ref: '#/components/schemas/AnyType'
        description: '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?

          '
        additionalProperties: false
    CorrType:
      enum:
      - batch-prediction
      - experiment-version
      type: string
      description: 'Types names of correlated resources (batch ''prediction'' and

        experiment_version)

        '
    BatchPredictionFindResponse:
      type: object
      required:
      - data
      - links
      properties:
        data:
          type: array
          items:
            type: object
            required:
            - type
            - id
            - attributes
            properties:
              id:
                $ref: '#/components/schemas/EntityId'
              type:
                enum:
                - batch-prediction
                type: string
              attributes:
                $ref: '#/components/schemas/BatchPrediction'
            additionalProperties: false
        meta:
          $ref: '#/components/schemas/FindResponseMeta'
        links:
          $ref: '#/components/schemas/ResponseLinks'
      additionalProperties: false
    CreatedAt:
      type: string
      description: Timestamp when this was created
    AnyType:
      description: Use for fields that can be `any` type (string, number, etc.)
    Errors:
      type: array
      items:
        $ref: '#/components/schemas/APIError'
      example: '[{"code":"AML-145","title":"datasync dependent service error, service profile","errorId":"c1546687-ad5d-4002-87f6-8c9711298db1","meta":{"errorId":"c1546687-ad5d-4002-87f6-8c9711298db1"}}]

        '
      description: JSON string with list of error objects
    OutputFile:
      type: object
      required:
      - key
      - fileName
      - fileType
      - spaceId
      - path
      properties:
        key:
          type: string
        path:
          type: string
        spaceId:
          $ref: '#/components/schemas/SpaceId'
        fileName:
          type: string
        fileType:
          $ref: '#/components/schemas/FileType'
    BatchPrediction:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/EntityId'
        name:
          $ref: '#/components/schemas/EntityName'
        errors:
          $ref: '#/components/schemas/Errors'
        status:
          $ref: '#/components/schemas/BatchPredictionStatus'
        aliasId:
          $ref: '#/components/schemas/AliasId'
        ownerId:
          $ref: '#/components/schemas/OwnerId'
        schedule:
          $ref: '#/components/schemas/BatchPredictionSchedule'
        createdAt:
          $ref: '#/components/schemas/CreatedAt'
        createdBy:
          type: string
          description: ID of the owner/user that ran this prediction batch
        dataSetId:
          $ref: '#/components/schemas/DataSetId'
        datasetId:
          type: string
          description: 'ID of the dataset with the prediction results

            '
        updatedAt:
          $ref: '#/components/schemas/UpdatedAt'
        writeback:
          $ref: '#/components/schemas/BatchPredictionWriteback'
        indexColumn:
          $ref: '#/components/schemas/IndexColumn'
        deploymentId:
          $ref: '#/components/schemas/DeploymentId'
        errorMessage:
          $ref: '#/components/schemas/ErrorMessage'
        outputDataset:
          type: string
          description: Where to output dataset
      description: A batch prediction job configuration
      additionalProperties: false
    AliasId:
      type: string
      format: uuid
      description: ID of an alias
    BatchPredictionGetResponse:
      type: object
      required:
      - data
      properties:
        data:
          type: object
          required:
          - type
          - id
          - attributes
          properties:
            id:
              $ref: '#/components/schemas/EntityId'
            type:
              enum:
              - batch-prediction
              type: string
            attributes:
              $ref: '#/components/schemas/BatchPrediction'
          additionalProperties: false
      additionalProperties: false
    PredictionJobResponse:
      type: object
      required:
      - id
      - createdAt
      - updatedAt
      - deletedAt
      - tenantId
      - createdBy
      - jobType
      - parentJobId
      - corrType
      - corrId
      - status
      - name
      - parentName
      - experimentVersionNumber
      - details
      - deploymentId
      - trigger
      - success
      - rowsPredicted
      - modelId
      properties:
        id:
          $ref: '#/components/schemas/EntityId'
        name:
          type: string
        corrId:
          $ref: '#/components/schemas/CorrId'
        status:
          enum:
          - pending
          - completed
          - cancelled
          - error
          - deleted_resource
          type: string
          description: Status of this job
        details:
          type: object
          required:
          - lineageSchemaUpdated
          - outputFiles
          - isScheduled
          properties:
            isScheduled:
              type: boolean
            outputFiles:
              type: array
              items:
                $ref: '#/components/schemas/OutputFile'
            lineageSchemaUpdated:
              type: boolean
        jobType:
          $ref: '#/components/schemas/JobType'
        modelId:
          $ref: '#/components/schemas/ModelId'
        success:
          type: boolean
        trigger:
          type: string
        corrType:
          $ref: '#/components/schemas/CorrType'
        tenantId:
          $ref: '#/components/schemas/TenantId'
        createdAt:
          $ref: '#/components/schemas/CreatedAt'
        createdBy:
          type: string
          description: ID of the owner/user that created this entity
        deletedAt:
          $ref: '#/components/schemas/DeletedAt'
        updatedAt:
          $ref: '#/components/schemas/UpdatedAt'
        parentName:
          type: string
        parentJobId:
          $ref: '#/components/schemas/ParentJobId'
        deploymentId:
          $ref: '#/components/schemas/DeploymentId'
        rowsPredicted:
          type: number
        experimentVersionNumber:
          type: string
    Failure:
      type: object
      required:
      - errors
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/APIError'
          uniqueItems: true
        traceId:
          type: string
      additionalProperties: false
    ErrorMessage:
      type: string
      description: JSON string of error object
    BatchPredictionSchedulePutResponse:
      type: object
      required:
      - data
      properties:
        data:
          type: object
          required:
          - type
          - id
          - attributes
          properties:
            id:
              $ref: '#/components/schemas/EntityId'
            type:
              enum:
              - batch-prediction-schedule
              type: string
            attribu

# --- truncated at 32 KB (45 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/qliksense/refs/heads/main/openapi/qliksense-predictions-api-openapi.yml