Coveo · Capability

Coveo Knowledge Generative AI API — Agent Orchestration API

Coveo Knowledge Generative AI API — Agent Orchestration API. 2 operations. Lead operation: Generates an Answer for the Given Configuration. Self-contained Naftiko capability covering one Coveo business surface.

Run with Naftiko CoveoKnowledge Generative AIAgent Orchestration API

What You Can Do

POST
Answer — Generates an Answer for the Given Configuration
/v1/organizations/{organizationid}/agents/{agentid}/answer
POST
Followup — Generates an Answer to the Follow-Up Question for the Given Configuration
/v1/organizations/{organizationid}/agents/{agentid}/follow-up

MCP Tools

generates-answer-given-configuration

Generates an Answer for the Given Configuration

generates-answer-follow-up-question

Generates an Answer to the Follow-Up Question for the Given Configuration

Capability Spec

knowledge-genai-agent-orchestration-api.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Coveo Knowledge Generative AI API — Agent Orchestration API
  description: 'Coveo Knowledge Generative AI API — Agent Orchestration API. 2 operations. Lead operation: Generates an Answer
    for the Given Configuration. Self-contained Naftiko capability covering one Coveo business surface.'
  tags:
  - Coveo
  - Knowledge Generative AI
  - Agent Orchestration API
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    COVEO_SEARCH_TOKEN: COVEO_SEARCH_TOKEN
capability:
  consumes:
  - type: http
    namespace: knowledge-genai-agent-orchestration-api
    baseUri: https://platform.cloud.coveo.com
    description: Coveo Knowledge Generative AI API — Agent Orchestration API business capability. Self-contained, no shared
      references.
    authentication:
      type: bearer
      token: '{{env.COVEO_SEARCH_TOKEN}}'
    resources:
    - name: api-preview-organizations-organizationId-agents-agentId-answer
      path: /api/preview/organizations/{organizationId}/agents/{agentId}/answer
      operations:
      - name: answer
        method: POST
        description: Generates an Answer for the Given Configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          description: The organization id
          required: true
        - name: agentId
          in: path
          type: string
          description: The agent id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-preview-organizations-organizationId-agents-agentId-follow-up
      path: /api/preview/organizations/{organizationId}/agents/{agentId}/follow-up
      operations:
      - name: followup
        method: POST
        description: Generates an Answer to the Follow-Up Question for the Given Configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          description: The organization id
          required: true
        - name: agentId
          in: path
          type: string
          description: The agent id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: knowledge-genai-agent-orchestration-api-rest
    port: 8080
    description: REST adapter for Coveo Knowledge Generative AI API — Agent Orchestration API. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/organizations/{organizationid}/agents/{agentid}/answer
      name: api-preview-organizations-organizationid-agents-agentid-answer
      description: REST surface for api-preview-organizations-organizationId-agents-agentId-answer.
      operations:
      - method: POST
        name: answer
        description: Generates an Answer for the Given Configuration
        call: knowledge-genai-agent-orchestration-api.answer
        with:
          organizationId: rest.organizationId
          agentId: rest.agentId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{organizationid}/agents/{agentid}/follow-up
      name: api-preview-organizations-organizationid-agents-agentid-follow-up
      description: REST surface for api-preview-organizations-organizationId-agents-agentId-follow-up.
      operations:
      - method: POST
        name: followup
        description: Generates an Answer to the Follow-Up Question for the Given Configuration
        call: knowledge-genai-agent-orchestration-api.followup
        with:
          organizationId: rest.organizationId
          agentId: rest.agentId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: knowledge-genai-agent-orchestration-api-mcp
    port: 9090
    transport: http
    description: MCP adapter for Coveo Knowledge Generative AI API — Agent Orchestration API. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: generates-answer-given-configuration
      description: Generates an Answer for the Given Configuration
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: knowledge-genai-agent-orchestration-api.answer
      with:
        organizationId: tools.organizationId
        agentId: tools.agentId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: generates-answer-follow-up-question
      description: Generates an Answer to the Follow-Up Question for the Given Configuration
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: knowledge-genai-agent-orchestration-api.followup
      with:
        organizationId: tools.organizationId
        agentId: tools.agentId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.