Amazon Q · Capability

Amazon Q Business API — Conversations

Amazon Q Business API — Conversations. 2 operations. Lead operation: List Conversations. Self-contained Naftiko capability covering one Amazon Q business surface.

Run with Naftiko Amazon QConversations

What You Can Do

GET
Listconversations — List Conversations
/v1/applications/{applicationid}/conversations
POST
Chatsync — Chat Sync
/v1/applications/{applicationid}/conversations

MCP Tools

list-conversations

List Conversations

read-only idempotent
chat-sync

Chat Sync

Capability Spec

amazon-q-conversations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon Q Business API — Conversations
  description: 'Amazon Q Business API — Conversations. 2 operations. Lead operation: List Conversations. Self-contained Naftiko
    capability covering one Amazon Q business surface.'
  tags:
  - Amazon Q
  - Conversations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMAZON_Q_API_KEY: AMAZON_Q_API_KEY
capability:
  consumes:
  - type: http
    namespace: amazon-q-conversations
    baseUri: https://qbusiness.{region}.amazonaws.com
    description: Amazon Q Business API — Conversations business capability. Self-contained, no shared references.
    resources:
    - name: applications-applicationId-conversations
      path: /applications/{applicationId}/conversations
      operations:
      - name: listconversations
        method: GET
        description: List Conversations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: applicationId
          in: path
          type: string
          required: true
      - name: chatsync
        method: POST
        description: Chat Sync
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: applicationId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.AMAZON_Q_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: amazon-q-conversations-rest
    port: 8080
    description: REST adapter for Amazon Q Business API — Conversations. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/applications/{applicationid}/conversations
      name: applications-applicationid-conversations
      description: REST surface for applications-applicationId-conversations.
      operations:
      - method: GET
        name: listconversations
        description: List Conversations
        call: amazon-q-conversations.listconversations
        with:
          applicationId: rest.applicationId
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: chatsync
        description: Chat Sync
        call: amazon-q-conversations.chatsync
        with:
          applicationId: rest.applicationId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amazon-q-conversations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon Q Business API — Conversations. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-conversations
      description: List Conversations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: amazon-q-conversations.listconversations
      with:
        applicationId: tools.applicationId
      outputParameters:
      - type: object
        mapping: $.
    - name: chat-sync
      description: Chat Sync
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-q-conversations.chatsync
      with:
        applicationId: tools.applicationId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.