Iterable · Capability

Iterable Export API — Export

Iterable Export API — Export. 3 operations. Lead operation: Export data as CSV. Self-contained Naftiko capability covering one Iterable business surface.

Run with Naftiko IterableExport

What You Can Do

GET
Exportdatacsv — Export data as CSV
/v1/export/data-csv
GET
Exportdatajson — Export data as JSON
/v1/export/data-json
GET
Exportuserevents — Export events for a specific user
/v1/export/userevents

MCP Tools

export-data-csv

Export data as CSV

read-only idempotent
export-data-json

Export data as JSON

read-only idempotent
export-events-specific-user

Export events for a specific user

read-only idempotent

Capability Spec

export-export.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Iterable Export API — Export
  description: 'Iterable Export API — Export. 3 operations. Lead operation: Export data as CSV. Self-contained Naftiko capability
    covering one Iterable business surface.'
  tags:
  - Iterable
  - Export
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ITERABLE_API_KEY: ITERABLE_API_KEY
capability:
  consumes:
  - type: http
    namespace: export-export
    baseUri: https://api.iterable.com/api
    description: Iterable Export API — Export business capability. Self-contained, no shared references.
    resources:
    - name: export-data.csv
      path: /export/data.csv
      operations:
      - name: exportdatacsv
        method: GET
        description: Export data as CSV
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: export-data.json
      path: /export/data.json
      operations:
      - name: exportdatajson
        method: GET
        description: Export data as JSON
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: export-userEvents
      path: /export/userEvents
      operations:
      - name: exportuserevents
        method: GET
        description: Export events for a specific user
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: email
          in: query
          type: string
          description: Email address of the user whose events to export
          required: true
        - name: includeCustomEvents
          in: query
          type: boolean
          description: Whether to include custom events in the export
    authentication:
      type: apikey
      key: Api-Key
      value: '{{env.ITERABLE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: export-export-rest
    port: 8080
    description: REST adapter for Iterable Export API — Export. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/export/data-csv
      name: export-data-csv
      description: REST surface for export-data.csv.
      operations:
      - method: GET
        name: exportdatacsv
        description: Export data as CSV
        call: export-export.exportdatacsv
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/export/data-json
      name: export-data-json
      description: REST surface for export-data.json.
      operations:
      - method: GET
        name: exportdatajson
        description: Export data as JSON
        call: export-export.exportdatajson
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/export/userevents
      name: export-userevents
      description: REST surface for export-userEvents.
      operations:
      - method: GET
        name: exportuserevents
        description: Export events for a specific user
        call: export-export.exportuserevents
        with:
          email: rest.email
          includeCustomEvents: rest.includeCustomEvents
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: export-export-mcp
    port: 9090
    transport: http
    description: MCP adapter for Iterable Export API — Export. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: export-data-csv
      description: Export data as CSV
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: export-export.exportdatacsv
      outputParameters:
      - type: object
        mapping: $.
    - name: export-data-json
      description: Export data as JSON
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: export-export.exportdatajson
      outputParameters:
      - type: object
        mapping: $.
    - name: export-events-specific-user
      description: Export events for a specific user
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: export-export.exportuserevents
      with:
        email: tools.email
        includeCustomEvents: tools.includeCustomEvents
      outputParameters:
      - type: object
        mapping: $.