Iterable · Capability

Iterable Export API — ExperimentMetrics

Iterable Export API — ExperimentMetrics. 1 operations. Lead operation: Export experiment metrics as CSV. Self-contained Naftiko capability covering one Iterable business surface.

Run with Naftiko IterableExperimentMetrics

What You Can Do

GET
Exportexperimentmetrics — Export experiment metrics as CSV
/v1/experiments/metrics

MCP Tools

export-experiment-metrics-csv

Export experiment metrics as CSV

read-only idempotent

Capability Spec

export-experimentmetrics.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Iterable Export API — ExperimentMetrics
  description: 'Iterable Export API — ExperimentMetrics. 1 operations. Lead operation: Export experiment metrics as CSV. Self-contained
    Naftiko capability covering one Iterable business surface.'
  tags:
  - Iterable
  - ExperimentMetrics
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ITERABLE_API_KEY: ITERABLE_API_KEY
capability:
  consumes:
  - type: http
    namespace: export-experimentmetrics
    baseUri: https://api.iterable.com/api
    description: Iterable Export API — ExperimentMetrics business capability. Self-contained, no shared references.
    resources:
    - name: experiments-metrics
      path: /experiments/metrics
      operations:
      - name: exportexperimentmetrics
        method: GET
        description: Export experiment metrics as CSV
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: experimentId
          in: query
          type: array
          description: One or more experiment IDs to export metrics for
        - name: campaignId
          in: query
          type: array
          description: One or more campaign IDs to export metrics for
    authentication:
      type: apikey
      key: Api-Key
      value: '{{env.ITERABLE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: export-experimentmetrics-rest
    port: 8080
    description: REST adapter for Iterable Export API — ExperimentMetrics. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/experiments/metrics
      name: experiments-metrics
      description: REST surface for experiments-metrics.
      operations:
      - method: GET
        name: exportexperimentmetrics
        description: Export experiment metrics as CSV
        call: export-experimentmetrics.exportexperimentmetrics
        with:
          experimentId: rest.experimentId
          campaignId: rest.campaignId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: export-experimentmetrics-mcp
    port: 9090
    transport: http
    description: MCP adapter for Iterable Export API — ExperimentMetrics. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: export-experiment-metrics-csv
      description: Export experiment metrics as CSV
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: export-experimentmetrics.exportexperimentmetrics
      with:
        experimentId: tools.experimentId
        campaignId: tools.campaignId
      outputParameters:
      - type: object
        mapping: $.