Incentivio Ml Controller API

The ml-controller API from Incentivio — 7 operation(s) for ml-controller.

GitHub OpenAPI
Business capability
Artificial Intelligence Management BC-610.60

Operations 20

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

PUT /ml/portal/client/rules Delete a recommendation rule · Delete recommendation rule #
Ask an LLM
“How do I remove a recommendation rule for a client?”
“Can I delete a single recommendation rule by its ID?”
Tell an agent destructive · confirm first
Delete recommendation rule {ruleId} for client {clientId}.
Remove the recommendation rule {ruleId} from client {clientId}.
POST /ml/portal/client/rules Create recommendation rules · Create recommendation rules #
Ask an LLM
“How do I add a batch of recommendation rules for a client?”
“Can I create several recommendation rules at once?”
Tell an agent
Create recommendation rules {rules} for client {clientId}.
Add these recommendation rules {rules} to client {clientId}.
PUT /ml/portal/client/location/{clientid} Update a client's recommendation locations · Update locations #
Ask an LLM
“How do I change the locations a client's recommendations are shown in?”
“Can I update a client's location settings?”
Tell an agent
Update the locations for client {clientid} to {locations}.
Set client {clientid}'s recommendation locations to {locations}.
PUT /ml/portal/client/item/category/change Move an item to a new category · Change item category #
Ask an LLM
“How do I reclassify an item from one category to another?”
“Can I change an item's subcategory as well as its category?”
Tell an agent
Move item {itemName} from category {previousCategory} to {category}.
Change item {itemName}'s category to {category} and subcategory to {subCategory}.
PUT /ml/portal/client/configuration Update a client's recommendation configuration · Update configuration #
Ask an LLM
“How do I change how many main, side and beverage items a client gets recommended?”
“Can I cap the number of recommendations a client sees?”
Tell an agent
Set client {clientId}'s main count to {mainCount}, side count to {sideCount}, beverage count to {beverageCount}.
Update client {clientId}'s recommendation limits to {maxRuleRecommendations} rules and {maxRecommendations} total.
POST /ml/portal/client/model/train Start training a client's recommendation model · Start training process #
Ask an LLM
“How do I kick off training for a client's recommendation model?”
“Can I start a new model training run for a client?”
Tell an agent
Start training the recommendation model for client {clientId} named {clientName}.
Begin a new model training run for client {clientId}.
GET /ml/** Route an ML request to the recommendation portal · Route ML request #
Ask an LLM
“How do I send a generic ML request to the recommendation portal?”
“Can I route any ML request to the recommendation portal endpoint?”
Tell an agent
Route this ML request to the recommendation portal.
Send an untyped ML request to the recommendation portal endpoint.
PUT /ml/** Route an ML request to the recommendation portal (PUT) · Route ML request 2 #
Ask an LLM
“Can I send a PUT ML request to the recommendation portal?”
“What does the second ML route handle?”
Tell an agent
Send a PUT ML request to the recommendation portal.
Use the second ML route to route this request to the recommendation portal.
POST /ml/** Route an ML request to the recommendation portal (POST) · Route ML request 1 #
Ask an LLM
“Can I send a POST ML request to the recommendation portal?”
“Which route handles new ML requests?”
Tell an agent
Send a POST ML request to the recommendation portal.
Use the first ML route to route this request to the recommendation portal.
DELETE /ml/** Route an ML request to the recommendation portal (DELETE) · Route ML request 3 #
Ask an LLM
“Can I send a DELETE ML request to the recommendation portal?”
“What does the third ML route do?”
Tell an agent destructive · confirm first
Send a DELETE ML request to the recommendation portal.
Use the third ML route to route this request to the recommendation portal.
OPTIONS /ml/** Route an ML request to the recommendation portal (OPTIONS) · Route ML request 6 #
Ask an LLM
“Can I send an OPTIONS ML request to the recommendation portal?”
“Which route handles preflight ML requests?”
Tell an agent
Send an OPTIONS ML request to the recommendation portal.
Use the sixth ML route to route this request to the recommendation portal.
HEAD /ml/** Route an ML request to the recommendation portal (HEAD) · Route ML request 5 #
Ask an LLM
“Can I send a HEAD ML request to the recommendation portal?”
“What does the fifth ML route return?”
Tell an agent
Send a HEAD ML request to the recommendation portal.
Use the fifth ML route to route this request to the recommendation portal.
PATCH /ml/** Route an ML request to the recommendation portal (PATCH) · Route ML request 4 #
Ask an LLM
“Can I send a PATCH ML request to the recommendation portal?”
“Which route handles partial ML updates?”
Tell an agent
Send a PATCH ML request to the recommendation portal.
Use the fourth ML route to route this request to the recommendation portal.
GET /ml/mobile/** Route an ML request to the mobile recommendation endpoint · Route ML request #
Ask an LLM
“How do I send an ML request to the mobile recommendation endpoint?”
“Can I route a mobile ML request with a body?”
Tell an agent
Route this mobile ML request to the mobile recommendation endpoint with body {body}.
Send an ML request to the mobile recommendation endpoint using {body}.
PUT /ml/mobile/** Route an ML request over mobile · Route ML request 3 #
Ask an LLM
“Is there an ML endpoint for mobile that accepts the full ML request configuration?”
“Can a mobile app route an ML request by PUT to the mobile path?”
Tell an agent
Route this ML request to mobile using PUT.
Send the full mobile ML configuration to the mobile endpoint.
POST /ml/mobile/** Route an ML request over mobile · Route ML request 2 #
Ask an LLM
“How does a mobile app send a new ML request to the mobile path?”
“Can I POST an ML request to the mobile handler for routing?”
Tell an agent
Route this ML request to mobile using POST.
Send a new mobile ML request to the mobile path.
DELETE /ml/mobile/** Route an ML request over mobile · Route ML request 5 #
Ask an LLM
“How do I remove an ML request through the mobile path?”
“Can a mobile client delete an ML request by DELETE?”
Tell an agent destructive · confirm first
Route this ML request to mobile using DELETE.
Remove the mobile ML request.
OPTIONS /ml/mobile/** Route an ML request over mobile · Route ML request 6 #
Ask an LLM
“Which methods does the mobile ML endpoint accept?”
“What options does the mobile ML handler support?”
Tell an agent
Route this ML request to mobile using OPTIONS.
Show the allowed methods for the mobile ML path.
HEAD /ml/mobile/** Route an ML request over mobile · Route ML request 1 #
Ask an LLM
“Can I check whether an ML request already went to mobile without sending it again?”
“What does a HEAD request to the mobile ML path return?”
Tell an agent
Route this ML request to mobile using HEAD.
Check the mobile ML request exists before sending it.
PATCH /ml/mobile/** Route an ML request over mobile · Route ML request 4 #
Ask an LLM
“Can a mobile app partially update an ML request on the mobile path?”
“Is there a mobile PATCH for ML request routing?”
Tell an agent
Route this ML request to mobile using PATCH.
Patch the mobile ML request in place.

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/incentivio:incentivio-ml-controller-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

incentivio-ml-controller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Incentivio Ml Controller API
  version: v0
  description: 'Operations tagged ml-controller across 2 of this provider''s published API definitions: incentivio-admin-api-openapi.json, incentivio-mobile-api-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://adminapi.incentivio.com/incentivio-admin-api
  description: Generated server url
- url: https://mobile.incentivio.com/incentivio-mobile-api
  description: Generated server url
tags:
- name: ml-controller
paths:
  /ml/portal/client/rules:
    put:
      tags:
      - ml-controller
      operationId: deleteRecommendationRule
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteRuleRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DeleteRuleResponse'
      summary: Delete recommendation rule
      x-summary-source: derived
    post:
      tags:
      - ml-controller
      operationId: createRecommendationRules
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateRuleRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CreateRuleResponse'
      summary: Create recommendation rules
      x-summary-source: derived
    servers:
    - url: https://adminapi.incentivio.com/incentivio-admin-api
      description: Generated server url
  /ml/portal/client/location/{clientid}:
    put:
      tags:
      - ml-controller
      operationId: updateLocations
      parameters:
      - name: clientid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateLocationRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/UpdateLocationResponse'
      summary: Update locations
      x-summary-source: derived
    servers:
    - url: https://adminapi.incentivio.com/incentivio-admin-api
      description: Generated server url
  /ml/portal/client/item/category/change:
    put:
      tags:
      - ml-controller
      operationId: changeItemCategory
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ItemCategoryChaingingRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CategoryChangedItemResponse'
      summary: Change item category
      x-summary-source: derived
    servers:
    - url: https://adminapi.incentivio.com/incentivio-admin-api
      description: Generated server url
  /ml/portal/client/configuration:
    put:
      tags:
      - ml-controller
      operationId: updateConfiguration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateConfigurationRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/UpdatedConfigurationResponse'
      summary: Update configuration
      x-summary-source: derived
    servers:
    - url: https://adminapi.incentivio.com/incentivio-admin-api
      description: Generated server url
  /ml/portal/client/model/train:
    post:
      tags:
      - ml-controller
      operationId: startTrainingProcess
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ModelTrainingRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/StartTrainingProcessResponse'
      summary: Start training process
      x-summary-source: derived
    servers:
    - url: https://adminapi.incentivio.com/incentivio-admin-api
      description: Generated server url
  /ml/**:
    get:
      tags:
      - ml-controller
      operationId: routeMLRequest
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
      summary: Route ML request
      x-summary-source: derived
    put:
      tags:
      - ml-controller
      operationId: routeMLRequest_2
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
      summary: Route ML request 2
      x-summary-source: derived
    post:
      tags:
      - ml-controller
      operationId: routeMLRequest_1
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
      summary: Route ML request 1
      x-summary-source: derived
    delete:
      tags:
      - ml-controller
      operationId: routeMLRequest_3
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
      summary: Route ML request 3
      x-summary-source: derived
    options:
      tags:
      - ml-controller
      operationId: routeMLRequest_6
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
      summary: Route ML request 6
      x-summary-source: derived
    head:
      tags:
      - ml-controller
      operationId: routeMLRequest_5
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
      summary: Route ML request 5
      x-summary-source: derived
    patch:
      tags:
      - ml-controller
      operationId: routeMLRequest_4
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
      summary: Route ML request 4
      x-summary-source: derived
    servers:
    - url: https://adminapi.incentivio.com/incentivio-admin-api
      description: Generated server url
  /ml/mobile/**:
    get:
      tags:
      - ml-controller
      operationId: getMlMobile**
      parameters:
      - name: body
        in: query
        required: true
        schema:
          type: object
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
      summary: Route ML request
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: routeMLRequest
    put:
      tags:
      - ml-controller
      operationId: putMlMobile**
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
      summary: Route ML request 3
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: routeMLRequest_3
    post:
      tags:
      - ml-controller
      operationId: postMlMobile**
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
      summary: Route ML request 2
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: routeMLRequest_2
    delete:
      tags:
      - ml-controller
      operationId: deleteMlMobile**
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
      summary: Route ML request 5
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: routeMLRequest_5
    options:
      tags:
      - ml-controller
      operationId: optionsMlMobile**
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
      summary: Route ML request 6
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: routeMLRequest_6
    head:
      tags:
      - ml-controller
      operationId: headMlMobile**
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
      summary: Route ML request 1
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: routeMLRequest_1
    patch:
      tags:
      - ml-controller
      operationId: patchMlMobile**
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
      summary: Route ML request 4
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: routeMLRequest_4
    servers:
    - url: https://mobile.incentivio.com/incentivio-mobile-api
      description: Generated server url
components:
  schemas:
    DeleteRuleResponse:
      type: object
      properties:
        code:
          type: integer
          format: int32
        message:
          type: string
    CategoryChangedItemResponse:
      type: object
      properties:
        clientId:
          type: string
        itemName:
          type: string
        category:
          type: string
        subCategory:
          type: string
        previousCategory:
          type: string
        previousSubCategory:
          type: string
    AdminPortalMetaDataRequest:
      type: object
      properties:
        deviceDetail:
          $ref: '#/components/schemas/DeviceDetailRequest'
        userDetail:
          $ref: '#/components/schemas/UserDetailRequest'
    UserDetailRequest:
      type: object
      properties:
        userId:
          type: string
        userName:
          type: string
        email:
          type: string
    RuleRequest:
      type: object
      properties:
        ruleId:
          type: string
        ruleType:
          type: string
        triggerMenus:
          type: array
          items:
            type: string
        triggerGroups:
          type: array
          items:
            type: string
        triggerItems:
          type: array
          items:
            type: string
        recommendationItems:
          type: array
          items:
            type: string
        metaData:
          $ref: '#/components/schemas/AdminPortalMetaDataRequest'
    UpdatedConfigurationResponse:
      type: object
      properties:
        code:
          type: integer
          format: int32
        message:
          type: string
        newSideCount:
          type: integer
          format: int32
        newBeverageCount:
          type: integer
          format: int32
        newDessertCount:
          type: integer
          format: int32
        newMaxRuleRecommendations:
          type: integer
          format: int32
        newMaxRecommendations:
          type: integer
          format: int32
    UpdateLocationResponse:
      type: object
      properties:
        code:
          type: integer
          format: int32
        message:
          type: string
        updatedLocationsCount:
          type: integer
          format: int32
    UpdateLocationRequest:
      type: object
      properties:
        clientId:
          type: string
        locations:
          type: array
          items:
            $ref: '#/components/schemas/LocationDetailRequest'
    DeleteRuleRequest:
      type: object
      properties:
        ruleId:
          type: string
        clientId:
          type: string
        metaData:
          $ref: '#/components/schemas/AdminPortalMetaDataRequest'
    CreateRuleRequest:
      type: object
      properties:
        clientId:
          type: string
        rules:
          type: array
          items:
            $ref: '#/components/schemas/RuleRequest'
    ModelTrainingRequest:
      type: object
      properties:
        clientId:
          type: string
        clientName:
          type: string
        metaData:
          $ref: '#/components/schemas/AdminPortalMetaDataRequest'
    DeviceDetailRequest:
      type: object
      properties:
        deviceIpAddress:
          type: string
        deviceType:
          type: string
        browserType:
          type: string
    UpdateConfigurationRequest:
      type: object
      properties:
        clientId:
          type: string
        mainCount:
          type: integer
          format: int32
        sideCount:
          type: integer
          format: int32
        beverageCount:
          type: integer
          format: int32
        dessertCount:
          type: integer
          format: int32
        maxRuleRecommendations:
          type: integer
          format: int32
        maxRecommendations:
          type: integer
          format: int32
        metaData:
          $ref: '#/components/schemas/AdminPortalMetaDataRequest'
    ItemCategoryChaingingRequest:
      type: object
      properties:
        clientId:
          type: string
        itemName:
          type: string
        category:
          type: string
        subCategory:
          type: string
        previousCategory:
          type: string
        previousSubCategory:
          type: string
        metaData:
          $ref: '#/components/schemas/AdminPortalMetaDataRequest'
    StartTrainingProcessResponse:
      type: object
      properties:
        code:
          type: integer
          format: int32
        message:
          type: string
    LocationDetailRequest:
      type: object
      properties:
        locationId:
          type: string
        locationName:
          type: string
        metaData:
          $ref: '#/components/schemas/AdminPortalMetaDataRequest'
        locationEnabled:
          type: boolean
    CreateRuleResponse:
      type: object
      properties:
        code:
          type: integer
          format: int32
        message:
          type: string
        ruleCount:
          type: integer
          format: int32
x-refined-from:
- incentivio-admin-api-openapi.json
- incentivio-mobile-api-openapi.json