Coveo · Capability

Coveo Commerce API — Recommendations Configuration

Coveo Commerce API — Recommendations Configuration. 12 operations. Lead operation: Retrieves All Slot Configurations of an Organization. Self-contained Naftiko capability covering one Coveo business surface.

Run with Naftiko CoveoCommerceRecommendations Configuration

What You Can Do

GET
Getslotconfigurations — Retrieves All Slot Configurations of an Organization
/v1/organizations/{organizationid}/commerce/v2/recommendations/slots
POST
Createslotconfiguration — Create a Slot Configuration
/v1/organizations/{organizationid}/commerce/v2/recommendations/slots
GET
Getglobalqueryconfiguration — Retrieves a Global Query Configuration
/v1/organizations/{organizationid}/commerce/v2/recommendations/slots/global/query-configuration
PUT
Updateglobalqueryconfiguration — Update a Global Query Configuration
/v1/organizations/{organizationid}/commerce/v2/recommendations/slots/global/query-configuration
GET
Getslotconfigurationnames — Retrieves All Slot Configuration Ids & Names of an Organization
/v1/organizations/{organizationid}/commerce/v2/recommendations/slots/names
GET
Getslotstrategies1 — Retrieves Available Slot Strategies
/v1/organizations/{organizationid}/commerce/v2/recommendations/slots/strategies
GET
Getslotconfiguration — Retrieves a Slot Configuration
/v1/organizations/{organizationid}/commerce/v2/recommendations/slots/{configurationid}
PUT
Updateslotconfiguration — Update a Slot Configuration
/v1/organizations/{organizationid}/commerce/v2/recommendations/slots/{configurationid}
DELETE
Deleteslotconfiguration — Deletes a Slot Configuration
/v1/organizations/{organizationid}/commerce/v2/recommendations/slots/{configurationid}
GET
Getslotsettings — Retrieves Slot Settings
/v1/organizations/{organizationid}/commerce/v2/recommendations/slots/{configurationid}/settings
PUT
Updateslotsettings — Update Slot Settings
/v1/organizations/{organizationid}/commerce/v2/recommendations/slots/{configurationid}/settings
GET
Getslotstrategies — Retrieves Available Slot Strategies
/v1/organizations/{organizationid}/commerce/v2/recommendations/slots/{configurationid}/strategies

MCP Tools

retrieves-all-slot-configurations-organization

Retrieves All Slot Configurations of an Organization

read-only idempotent
create-slot-configuration

Create a Slot Configuration

retrieves-global-query-configuration

Retrieves a Global Query Configuration

read-only idempotent
update-global-query-configuration

Update a Global Query Configuration

idempotent
retrieves-all-slot-configuration-ids

Retrieves All Slot Configuration Ids & Names of an Organization

read-only idempotent
retrieves-available-slot-strategies

Retrieves Available Slot Strategies

read-only idempotent
retrieves-slot-configuration

Retrieves a Slot Configuration

read-only idempotent
update-slot-configuration

Update a Slot Configuration

idempotent
deletes-slot-configuration

Deletes a Slot Configuration

idempotent
retrieves-slot-settings

Retrieves Slot Settings

read-only idempotent
update-slot-settings

Update Slot Settings

idempotent
retrieves-available-slot-strategies-2

Retrieves Available Slot Strategies

read-only idempotent

Capability Spec

commerce-recommendations-configuration.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Coveo Commerce API — Recommendations Configuration
  description: 'Coveo Commerce API — Recommendations Configuration. 12 operations. Lead operation: Retrieves All Slot Configurations
    of an Organization. Self-contained Naftiko capability covering one Coveo business surface.'
  tags:
  - Coveo
  - Commerce
  - Recommendations Configuration
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    COVEO_SEARCH_TOKEN: COVEO_SEARCH_TOKEN
capability:
  consumes:
  - type: http
    namespace: commerce-recommendations-configuration
    baseUri: https://platform.cloud.coveo.com
    description: Coveo Commerce API — Recommendations Configuration business capability. Self-contained, no shared references.
    authentication:
      type: bearer
      token: '{{env.COVEO_SEARCH_TOKEN}}'
    resources:
    - name: rest-organizations-organizationId-commerce-v2-recommendations-slots
      path: /rest/organizations/{organizationId}/commerce/v2/recommendations/slots
      operations:
      - name: getslotconfigurations
        method: GET
        description: Retrieves All Slot Configurations of an Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).<br />**Example:**
            `acmecorporation8tp8wu3`
          required: true
        - name: trackingId
          in: query
          type: string
          description: The unique identifier of the tracking target.
          required: true
        - name: page
          in: query
          type: integer
          description: The 0-based index number of the page of [slot configuration](https://docs.coveo.com/en/o9b80563/glossary/recommendation-slot/)
            to retrieve.</br>**Minimum:** `0`
        - name: perPage
          in: query
          type: integer
          description: The number of [slot configurations](https://docs.coveo.com/en/o9b80563/glossary/recommendation-slot/)
            to list per page.</br>**Minimum:** `1`</br>**Maximum:** `1
      - name: createslotconfiguration
        method: POST
        description: Create a Slot Configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).<br />**Example:**
            `acmecorporation8tp8wu3`
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: rest-organizations-organizationId-commerce-v2-recommendations-slots-global-query
      path: /rest/organizations/{organizationId}/commerce/v2/recommendations/slots/global/query-configuration
      operations:
      - name: getglobalqueryconfiguration
        method: GET
        description: Retrieves a Global Query Configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).<br />**Example:**
            `acmecorporation8tp8wu3`
          required: true
        - name: trackingId
          in: query
          type: string
          description: The unique identifier of the tracking target.
          required: true
      - name: updateglobalqueryconfiguration
        method: PUT
        description: Update a Global Query Configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).<br />**Example:**
            `acmecorporation8tp8wu3`
          required: true
        - name: trackingId
          in: query
          type: string
          description: The unique identifier of the tracking target.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: rest-organizations-organizationId-commerce-v2-recommendations-slots-names
      path: /rest/organizations/{organizationId}/commerce/v2/recommendations/slots/names
      operations:
      - name: getslotconfigurationnames
        method: GET
        description: Retrieves All Slot Configuration Ids & Names of an Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).<br />**Example:**
            `acmecorporation8tp8wu3`
          required: true
        - name: trackingId
          in: query
          type: string
          description: The unique identifier of the tracking target.
          required: true
        - name: query
          in: query
          type: string
          description: Filter on names when requesting slot names & IDs. Will perform '*query*' match pattern.
        - name: page
          in: query
          type: integer
          description: The 0-based index number of the page of [slot configuration](https://docs.coveo.com/en/o9b80563/glossary/recommendation-slot/)
            to retrieve.</br>**Minimum:** `0`
        - name: perPage
          in: query
          type: integer
          description: The number of [slot configurations](https://docs.coveo.com/en/o9b80563/glossary/recommendation-slot/)
            to list per page.</br>**Minimum:** `1`</br>**Maximum:** `1
    - name: rest-organizations-organizationId-commerce-v2-recommendations-slots-strategies
      path: /rest/organizations/{organizationId}/commerce/v2/recommendations/slots/strategies
      operations:
      - name: getslotstrategies1
        method: GET
        description: Retrieves Available Slot Strategies
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).<br />**Example:**
            `acmecorporation8tp8wu3`
          required: true
        - name: slotType
          in: query
          type: string
          description: A slot type label that identifies the location of a slot.
          required: true
        - name: seedType
          in: query
          type: string
          description: 'The primary [seed product](https://docs.coveo.com/en/n5jg0219/glossary/seed-product) type used by
            recommendations strategies on this [slot configuration](https:'
          required: true
    - name: rest-organizations-organizationId-commerce-v2-recommendations-slots-configuratio
      path: /rest/organizations/{organizationId}/commerce/v2/recommendations/slots/{configurationId}
      operations:
      - name: getslotconfiguration
        method: GET
        description: Retrieves a Slot Configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).<br />**Example:**
            `acmecorporation8tp8wu3`
          required: true
        - name: configurationId
          in: path
          type: string
          description: The unique identifier of the [slot configuration](https://docs.coveo.com/en/o9b80563/glossary/recommendation-slot/).
          required: true
      - name: updateslotconfiguration
        method: PUT
        description: Update a Slot Configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).<br />**Example:**
            `acmecorporation8tp8wu3`
          required: true
        - name: configurationId
          in: path
          type: string
          description: The unique identifier of the [slot configuration](https://docs.coveo.com/en/o9b80563/glossary/recommendation-slot/).
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteslotconfiguration
        method: DELETE
        description: Deletes a Slot Configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).<br />**Example:**
            `acmecorporation8tp8wu3`
          required: true
        - name: configurationId
          in: path
          type: string
          description: The unique identifier of the [slot configuration](https://docs.coveo.com/en/o9b80563/glossary/recommendation-slot/).
          required: true
    - name: rest-organizations-organizationId-commerce-v2-recommendations-slots-configuratio
      path: /rest/organizations/{organizationId}/commerce/v2/recommendations/slots/{configurationId}/settings
      operations:
      - name: getslotsettings
        method: GET
        description: Retrieves Slot Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).<br />**Example:**
            `acmecorporation8tp8wu3`
          required: true
        - name: configurationId
          in: path
          type: string
          description: The unique identifier of the [slot configuration](https://docs.coveo.com/en/o9b80563/glossary/recommendation-slot/).
          required: true
      - name: updateslotsettings
        method: PUT
        description: Update Slot Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).<br />**Example:**
            `acmecorporation8tp8wu3`
          required: true
        - name: configurationId
          in: path
          type: string
          description: The unique identifier of the [slot configuration](https://docs.coveo.com/en/o9b80563/glossary/recommendation-slot/).
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: rest-organizations-organizationId-commerce-v2-recommendations-slots-configuratio
      path: /rest/organizations/{organizationId}/commerce/v2/recommendations/slots/{configurationId}/strategies
      operations:
      - name: getslotstrategies
        method: GET
        description: Retrieves Available Slot Strategies
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).<br />**Example:**
            `acmecorporation8tp8wu3`
          required: true
        - name: configurationId
          in: path
          type: string
          description: The unique identifier of the [slot configuration](https://docs.coveo.com/en/o9b80563/glossary/recommendation-slot/).
          required: true
  exposes:
  - type: rest
    namespace: commerce-recommendations-configuration-rest
    port: 8080
    description: REST adapter for Coveo Commerce API — Recommendations Configuration. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/organizations/{organizationid}/commerce/v2/recommendations/slots
      name: rest-organizations-organizationid-commerce-v2-recommendations-slots
      description: REST surface for rest-organizations-organizationId-commerce-v2-recommendations-slots.
      operations:
      - method: GET
        name: getslotconfigurations
        description: Retrieves All Slot Configurations of an Organization
        call: commerce-recommendations-configuration.getslotconfigurations
        with:
          organizationId: rest.organizationId
          trackingId: rest.trackingId
          page: rest.page
          perPage: rest.perPage
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createslotconfiguration
        description: Create a Slot Configuration
        call: commerce-recommendations-configuration.createslotconfiguration
        with:
          organizationId: rest.organizationId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{organizationid}/commerce/v2/recommendations/slots/global/query-configuration
      name: rest-organizations-organizationid-commerce-v2-recommendations-slots-global-query
      description: REST surface for rest-organizations-organizationId-commerce-v2-recommendations-slots-global-query.
      operations:
      - method: GET
        name: getglobalqueryconfiguration
        description: Retrieves a Global Query Configuration
        call: commerce-recommendations-configuration.getglobalqueryconfiguration
        with:
          organizationId: rest.organizationId
          trackingId: rest.trackingId
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateglobalqueryconfiguration
        description: Update a Global Query Configuration
        call: commerce-recommendations-configuration.updateglobalqueryconfiguration
        with:
          organizationId: rest.organizationId
          trackingId: rest.trackingId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{organizationid}/commerce/v2/recommendations/slots/names
      name: rest-organizations-organizationid-commerce-v2-recommendations-slots-names
      description: REST surface for rest-organizations-organizationId-commerce-v2-recommendations-slots-names.
      operations:
      - method: GET
        name: getslotconfigurationnames
        description: Retrieves All Slot Configuration Ids & Names of an Organization
        call: commerce-recommendations-configuration.getslotconfigurationnames
        with:
          organizationId: rest.organizationId
          trackingId: rest.trackingId
          query: rest.query
          page: rest.page
          perPage: rest.perPage
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{organizationid}/commerce/v2/recommendations/slots/strategies
      name: rest-organizations-organizationid-commerce-v2-recommendations-slots-strategies
      description: REST surface for rest-organizations-organizationId-commerce-v2-recommendations-slots-strategies.
      operations:
      - method: GET
        name: getslotstrategies1
        description: Retrieves Available Slot Strategies
        call: commerce-recommendations-configuration.getslotstrategies1
        with:
          organizationId: rest.organizationId
          slotType: rest.slotType
          seedType: rest.seedType
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{organizationid}/commerce/v2/recommendations/slots/{configurationid}
      name: rest-organizations-organizationid-commerce-v2-recommendations-slots-configuratio
      description: REST surface for rest-organizations-organizationId-commerce-v2-recommendations-slots-configuratio.
      operations:
      - method: GET
        name: getslotconfiguration
        description: Retrieves a Slot Configuration
        call: commerce-recommendations-configuration.getslotconfiguration
        with:
          organizationId: rest.organizationId
          configurationId: rest.configurationId
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateslotconfiguration
        description: Update a Slot Configuration
        call: commerce-recommendations-configuration.updateslotconfiguration
        with:
          organizationId: rest.organizationId
          configurationId: rest.configurationId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteslotconfiguration
        description: Deletes a Slot Configuration
        call: commerce-recommendations-configuration.deleteslotconfiguration
        with:
          organizationId: rest.organizationId
          configurationId: rest.configurationId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{organizationid}/commerce/v2/recommendations/slots/{configurationid}/settings
      name: rest-organizations-organizationid-commerce-v2-recommendations-slots-configuratio
      description: REST surface for rest-organizations-organizationId-commerce-v2-recommendations-slots-configuratio.
      operations:
      - method: GET
        name: getslotsettings
        description: Retrieves Slot Settings
        call: commerce-recommendations-configuration.getslotsettings
        with:
          organizationId: rest.organizationId
          configurationId: rest.configurationId
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateslotsettings
        description: Update Slot Settings
        call: commerce-recommendations-configuration.updateslotsettings
        with:
          organizationId: rest.organizationId
          configurationId: rest.configurationId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{organizationid}/commerce/v2/recommendations/slots/{configurationid}/strategies
      name: rest-organizations-organizationid-commerce-v2-recommendations-slots-configuratio
      description: REST surface for rest-organizations-organizationId-commerce-v2-recommendations-slots-configuratio.
      operations:
      - method: GET
        name: getslotstrategies
        description: Retrieves Available Slot Strategies
        call: commerce-recommendations-configuration.getslotstrategies
        with:
          organizationId: rest.organizationId
          configurationId: rest.configurationId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: commerce-recommendations-configuration-mcp
    port: 9090
    transport: http
    description: MCP adapter for Coveo Commerce API — Recommendations Configuration. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: retrieves-all-slot-configurations-organization
      description: Retrieves All Slot Configurations of an Organization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: commerce-recommendations-configuration.getslotconfigurations
      with:
        organizationId: tools.organizationId
        trackingId: tools.trackingId
        page: tools.page
        perPage: tools.perPage
      outputParameters:
      - type: object
        mapping: $.
    - name: create-slot-configuration
      description: Create a Slot Configuration
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: commerce-recommendations-configuration.createslotconfiguration
      with:
        organizationId: tools.organizationId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieves-global-query-configuration
      description: Retrieves a Global Query Configuration
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: commerce-recommendations-configuration.getglobalqueryconfiguration
      with:
        organizationId: tools.organizationId
        trackingId: tools.trackingId
      outputParameters:
      - type: object
        mapping: $.
    - name: update-global-query-configuration
      description: Update a Global Query Configuration
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: commerce-recommendations-configuration.updateglobalqueryconfiguration
      with:
        organizationId: tools.organizationId
        trackingId: tools.trackingId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieves-all-slot-configuration-ids
      description: Retrieves All Slot Configuration Ids & Names of an Organization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: commerce-recommendations-configuration.getslotconfigurationnames
      with:
        organizationId: tools.organizationId
        trackingId: tools.trackingId
        query: tools.query
        page: tools.page
        perPage: tools.perPage
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieves-available-slot-strategies
      description: Retrieves Available Slot Strategies
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: commerce-recommendations-configuration.getslotstrategies1
      with:
        organizationId: tools.organizationId
        slotType: tools.slotType
        seedType: tools.seedType
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieves-slot-configuration
      description: Retrieves a Slot Configuration
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: commerce-recommendations-configuration.getslotconfiguration
      with:
        organizationId: tools.organizationId
        configurationId: tools.configurationId
      outputParameters:
      - type: object
        mapping: $.
    - name: update-slot-configuration
      description: Update a Slot Configuration
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: commerce-recommendations-configuration.updateslotconfiguration
      with:
        organizationId: tools.organizationId
        configurationId: tools.configurationId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: deletes-slot-configuration
      description: Deletes a Slot Configuration
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: commerce-recommendations-configuration.deleteslotconfiguration
      with:
        organizationId: tools.organizationId
        configurationId: tools.configurationId
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieves-slot-settings
      description: Retrieves Slot Settings
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: commerce-recommendations-configuration.getslotsettings
      with:
        organizationId: tools.organizationId
        configurationId: tools.configurationId
      outputParameters:
      - type: object
        mapping: $.
    - name: update-slot-settings
      description: Update Slot Settings
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: commerce-recommendations-configuration.updateslotsettings
      with:
        organizationId: tools.organizationId
        configurationId: tools.configurationId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieves-available-slot-strategies-2
      description: Retrieves Available Slot Strategies
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: commerce-recommendations-configuration.getslotstrategies
      with:
        organizationId: tools.organizationId
        configurationId: tools.configurationId
      outputParameters:
      - type: object
        mapping: $.