Global Relay · Capability

Global Relay Conversation Archiving API — Conversations

Global Relay Conversation Archiving API — Conversations. 1 operations. Lead operation: Global Relay Archive a conversation. Self-contained Naftiko capability covering one Global Relay business surface.

Run with Naftiko Global RelayConversations

What You Can Do

POST
Archiveconversation — Global Relay Archive a conversation
/v1/conversations

MCP Tools

global-relay-archive-conversation

Global Relay Archive a conversation

Capability Spec

conversation-archiving-conversations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Global Relay Conversation Archiving API — Conversations
  description: 'Global Relay Conversation Archiving API — Conversations. 1 operations. Lead operation: Global Relay Archive
    a conversation. Self-contained Naftiko capability covering one Global Relay business surface.'
  tags:
  - Global Relay
  - Conversations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GLOBAL_RELAY_API_KEY: GLOBAL_RELAY_API_KEY
capability:
  consumes:
  - type: http
    namespace: conversation-archiving-conversations
    baseUri: https://conversations.api.globalrelay.com/v2
    description: Global Relay Conversation Archiving API — Conversations business capability. Self-contained, no shared references.
    resources:
    - name: conversations
      path: /conversations
      operations:
      - name: archiveconversation
        method: POST
        description: Global Relay Archive a conversation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.GLOBAL_RELAY_API_KEY}}'
  exposes:
  - type: rest
    namespace: conversation-archiving-conversations-rest
    port: 8080
    description: REST adapter for Global Relay Conversation Archiving API — Conversations. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/conversations
      name: conversations
      description: REST surface for conversations.
      operations:
      - method: POST
        name: archiveconversation
        description: Global Relay Archive a conversation
        call: conversation-archiving-conversations.archiveconversation
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: conversation-archiving-conversations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Global Relay Conversation Archiving API — Conversations. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: global-relay-archive-conversation
      description: Global Relay Archive a conversation
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: conversation-archiving-conversations.archiveconversation
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.