VTEX · Capability

VTEX Intelligent Search Events API - Headless — Events

VTEX Intelligent Search Events API - Headless — Events. 1 operations. Lead operation: VTex Save events. Self-contained Naftiko capability covering one Vtex business surface.

Run with Naftiko VtexEvents

What You Can Do

POST
Post — VTex Save events
/v1/event

MCP Tools

vtex-save-events

VTex Save events

Capability Spec

intelligent-search-events-events.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: VTEX Intelligent Search Events API - Headless — Events
  description: 'VTEX Intelligent Search Events API - Headless — Events. 1 operations. Lead operation: VTex Save events. Self-contained
    Naftiko capability covering one Vtex business surface.'
  tags:
  - Vtex
  - Events
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    VTEX_API_KEY: VTEX_API_KEY
capability:
  consumes:
  - type: http
    namespace: intelligent-search-events-events
    baseUri: https://sp.vtex.com/event-api/v1/{accountName}
    description: VTEX Intelligent Search Events API - Headless — Events business capability. Self-contained, no shared references.
    resources:
    - name: event
      path: /event
      operations:
      - name: post
        method: POST
        description: VTex Save events
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accountName
          in: path
          type: string
          description: Name of the VTEX account. Used as part of the URL.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
  exposes:
  - type: rest
    namespace: intelligent-search-events-events-rest
    port: 8080
    description: REST adapter for VTEX Intelligent Search Events API - Headless — Events. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/event
      name: event
      description: REST surface for event.
      operations:
      - method: POST
        name: post
        description: VTex Save events
        call: intelligent-search-events-events.post
        with:
          accountName: rest.accountName
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: intelligent-search-events-events-mcp
    port: 9090
    transport: http
    description: MCP adapter for VTEX Intelligent Search Events API - Headless — Events. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: vtex-save-events
      description: VTex Save events
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: intelligent-search-events-events.post
      with:
        accountName: tools.accountName
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.