Coveo · Capability

Coveo Search API — Conditions

Coveo Search API — Conditions. 10 operations. Lead operation: List Condition Statements. Self-contained Naftiko capability covering one Coveo business surface.

Run with Naftiko CoveoSearchConditions

What You Can Do

GET
Listconditions — List Condition Statements
/v1/search/v1/admin/pipelines/statements
POST
Createcondition — Create Condition Statement
/v1/search/v1/admin/pipelines/statements
POST
Bulkdeleteconditions — Bulk Delete of Condition Statements
/v1/search/v1/admin/pipelines/statements/bulkdelete
POST
Bulkgetconditions — List Condition Statements
/v1/search/v1/admin/pipelines/statements/bulkget
POST
Validatepipelineconditionoperation — Validate a Single Pipeline Condition Operation.
/v1/search/v1/admin/pipelines/statements/validate
POST
Validatepipelineconditionoperations — Validate Batch of Pipeline Condition Operations.
/v1/search/v1/admin/pipelines/statements/validate/batch
GET
Getcondition — Get Condition Statement
/v1/search/v1/admin/pipelines/statements/{statementid}
PUT
Updatecondition — Update Condition Statement
/v1/search/v1/admin/pipelines/statements/{statementid}
DELETE
Deletecondition — Delete Condition Statement
/v1/search/v1/admin/pipelines/statements/{statementid}
GET
Listconditionassociations — List of Associations of a Condition
/v1/search/v1/admin/pipelines/statements/{statementid}/associations

MCP Tools

list-condition-statements

List Condition Statements

read-only idempotent
create-condition-statement

Create Condition Statement

bulk-delete-condition-statements

Bulk Delete of Condition Statements

list-condition-statements-2

List Condition Statements

read-only
validate-single-pipeline-condition-operation

Validate a Single Pipeline Condition Operation.

read-only
validate-batch-pipeline-condition-operations

Validate Batch of Pipeline Condition Operations.

read-only
get-condition-statement

Get Condition Statement

read-only idempotent
update-condition-statement

Update Condition Statement

idempotent
delete-condition-statement

Delete Condition Statement

idempotent
list-associations-condition

List of Associations of a Condition

read-only idempotent

Capability Spec

search-conditions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Coveo Search API — Conditions
  description: 'Coveo Search API — Conditions. 10 operations. Lead operation: List Condition Statements. Self-contained Naftiko
    capability covering one Coveo business surface.'
  tags:
  - Coveo
  - Search
  - Conditions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    COVEO_SEARCH_TOKEN: COVEO_SEARCH_TOKEN
capability:
  consumes:
  - type: http
    namespace: search-conditions
    baseUri: https://platform.cloud.coveo.com
    description: Coveo Search API — Conditions business capability. Self-contained, no shared references.
    authentication:
      type: bearer
      token: '{{env.COVEO_SEARCH_TOKEN}}'
    resources:
    - name: rest-search-v1-admin-pipelines-statements
      path: /rest/search/v1/admin/pipelines/statements
      operations:
      - name: listconditions
        method: GET
        description: List Condition Statements
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: filter
          in: query
          type: string
          description: The query filter to match.
        - name: sortBy
          in: query
          type: string
          description: The sort criteria to apply on the results.
        - name: expand
          in: query
          type: boolean
          description: Whether to include additional information such as the number of resources associated to the condition.
        - name: associationFilter
          in: query
          type: string
          description: Only includes conditions with a certain number of associated resources.
      - name: createcondition
        method: POST
        description: Create Condition Statement
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: rest-search-v1-admin-pipelines-statements-bulkDelete
      path: /rest/search/v1/admin/pipelines/statements/bulkDelete
      operations:
      - name: bulkdeleteconditions
        method: POST
        description: Bulk Delete of Condition Statements
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: rest-search-v1-admin-pipelines-statements-bulkGet
      path: /rest/search/v1/admin/pipelines/statements/bulkGet
      operations:
      - name: bulkgetconditions
        method: POST
        description: List Condition Statements
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: rest-search-v1-admin-pipelines-statements-validate
      path: /rest/search/v1/admin/pipelines/statements/validate
      operations:
      - name: validatepipelineconditionoperation
        method: POST
        description: Validate a Single Pipeline Condition Operation.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: rest-search-v1-admin-pipelines-statements-validate-batch
      path: /rest/search/v1/admin/pipelines/statements/validate/batch
      operations:
      - name: validatepipelineconditionoperations
        method: POST
        description: Validate Batch of Pipeline Condition Operations.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: rest-search-v1-admin-pipelines-statements-statementId
      path: /rest/search/v1/admin/pipelines/statements/{statementId}
      operations:
      - name: getcondition
        method: GET
        description: Get Condition Statement
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatecondition
        method: PUT
        description: Update Condition Statement
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletecondition
        method: DELETE
        description: Delete Condition Statement
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: rest-search-v1-admin-pipelines-statements-statementId-associations
      path: /rest/search/v1/admin/pipelines/statements/{statementId}/associations
      operations:
      - name: listconditionassociations
        method: GET
        description: List of Associations of a Condition
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: sortBy
          in: query
          type: string
          description: The sort criteria to apply on the results.
  exposes:
  - type: rest
    namespace: search-conditions-rest
    port: 8080
    description: REST adapter for Coveo Search API — Conditions. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/search/v1/admin/pipelines/statements
      name: rest-search-v1-admin-pipelines-statements
      description: REST surface for rest-search-v1-admin-pipelines-statements.
      operations:
      - method: GET
        name: listconditions
        description: List Condition Statements
        call: search-conditions.listconditions
        with:
          filter: rest.filter
          sortBy: rest.sortBy
          expand: rest.expand
          associationFilter: rest.associationFilter
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createcondition
        description: Create Condition Statement
        call: search-conditions.createcondition
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/search/v1/admin/pipelines/statements/bulkdelete
      name: rest-search-v1-admin-pipelines-statements-bulkdelete
      description: REST surface for rest-search-v1-admin-pipelines-statements-bulkDelete.
      operations:
      - method: POST
        name: bulkdeleteconditions
        description: Bulk Delete of Condition Statements
        call: search-conditions.bulkdeleteconditions
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/search/v1/admin/pipelines/statements/bulkget
      name: rest-search-v1-admin-pipelines-statements-bulkget
      description: REST surface for rest-search-v1-admin-pipelines-statements-bulkGet.
      operations:
      - method: POST
        name: bulkgetconditions
        description: List Condition Statements
        call: search-conditions.bulkgetconditions
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/search/v1/admin/pipelines/statements/validate
      name: rest-search-v1-admin-pipelines-statements-validate
      description: REST surface for rest-search-v1-admin-pipelines-statements-validate.
      operations:
      - method: POST
        name: validatepipelineconditionoperation
        description: Validate a Single Pipeline Condition Operation.
        call: search-conditions.validatepipelineconditionoperation
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/search/v1/admin/pipelines/statements/validate/batch
      name: rest-search-v1-admin-pipelines-statements-validate-batch
      description: REST surface for rest-search-v1-admin-pipelines-statements-validate-batch.
      operations:
      - method: POST
        name: validatepipelineconditionoperations
        description: Validate Batch of Pipeline Condition Operations.
        call: search-conditions.validatepipelineconditionoperations
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/search/v1/admin/pipelines/statements/{statementid}
      name: rest-search-v1-admin-pipelines-statements-statementid
      description: REST surface for rest-search-v1-admin-pipelines-statements-statementId.
      operations:
      - method: GET
        name: getcondition
        description: Get Condition Statement
        call: search-conditions.getcondition
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatecondition
        description: Update Condition Statement
        call: search-conditions.updatecondition
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletecondition
        description: Delete Condition Statement
        call: search-conditions.deletecondition
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/search/v1/admin/pipelines/statements/{statementid}/associations
      name: rest-search-v1-admin-pipelines-statements-statementid-associations
      description: REST surface for rest-search-v1-admin-pipelines-statements-statementId-associations.
      operations:
      - method: GET
        name: listconditionassociations
        description: List of Associations of a Condition
        call: search-conditions.listconditionassociations
        with:
          sortBy: rest.sortBy
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: search-conditions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Coveo Search API — Conditions. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-condition-statements
      description: List Condition Statements
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: search-conditions.listconditions
      with:
        filter: tools.filter
        sortBy: tools.sortBy
        expand: tools.expand
        associationFilter: tools.associationFilter
      outputParameters:
      - type: object
        mapping: $.
    - name: create-condition-statement
      description: Create Condition Statement
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: search-conditions.createcondition
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: bulk-delete-condition-statements
      description: Bulk Delete of Condition Statements
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: search-conditions.bulkdeleteconditions
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-condition-statements-2
      description: List Condition Statements
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: search-conditions.bulkgetconditions
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: validate-single-pipeline-condition-operation
      description: Validate a Single Pipeline Condition Operation.
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: search-conditions.validatepipelineconditionoperation
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: validate-batch-pipeline-condition-operations
      description: Validate Batch of Pipeline Condition Operations.
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: search-conditions.validatepipelineconditionoperations
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-condition-statement
      description: Get Condition Statement
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: search-conditions.getcondition
      outputParameters:
      - type: object
        mapping: $.
    - name: update-condition-statement
      description: Update Condition Statement
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: search-conditions.updatecondition
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-condition-statement
      description: Delete Condition Statement
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: search-conditions.deletecondition
      outputParameters:
      - type: object
        mapping: $.
    - name: list-associations-condition
      description: List of Associations of a Condition
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: search-conditions.listconditionassociations
      with:
        sortBy: tools.sortBy
      outputParameters:
      - type: object
        mapping: $.