Coveo · Capability

Coveo Customer Service API — Answer

Coveo Customer Service API — Answer. 1 operations. Lead operation: Get Answer. Self-contained Naftiko capability covering one Coveo business surface.

Run with Naftiko CoveoCustomer ServiceAnswer

What You Can Do

POST
Getanswer — Get Answer
/v1/organizations/{organizationid}/answer/v1/configs/{configid}/generate

MCP Tools

get-answer

Get Answer

read-only

Capability Spec

customer-service-answer.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Coveo Customer Service API — Answer
  description: 'Coveo Customer Service API — Answer. 1 operations. Lead operation: Get Answer. Self-contained Naftiko capability
    covering one Coveo business surface.'
  tags:
  - Coveo
  - Customer Service
  - Answer
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    COVEO_SEARCH_TOKEN: COVEO_SEARCH_TOKEN
capability:
  consumes:
  - type: http
    namespace: customer-service-answer
    baseUri: https://platform.cloud.coveo.com
    description: Coveo Customer Service API — Answer business capability. Self-contained, no shared references.
    authentication:
      type: bearer
      token: '{{env.COVEO_SEARCH_TOKEN}}'
    resources:
    - name: rest-organizations-organizationId-answer-v1-configs-configId-generate
      path: /rest/organizations/{organizationId}/answer/v1/configs/{configId}/generate
      operations:
      - name: getanswer
        method: POST
        description: Get Answer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
  exposes:
  - type: rest
    namespace: customer-service-answer-rest
    port: 8080
    description: REST adapter for Coveo Customer Service API — Answer. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/organizations/{organizationid}/answer/v1/configs/{configid}/generate
      name: rest-organizations-organizationid-answer-v1-configs-configid-generate
      description: REST surface for rest-organizations-organizationId-answer-v1-configs-configId-generate.
      operations:
      - method: POST
        name: getanswer
        description: Get Answer
        call: customer-service-answer.getanswer
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: customer-service-answer-mcp
    port: 9090
    transport: http
    description: MCP adapter for Coveo Customer Service API — Answer. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-answer
      description: Get Answer
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: customer-service-answer.getanswer
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.