Amplitude · Capability

Amplitude Experiment Management API — Experiments

Amplitude Experiment Management API — Experiments. 4 operations. Lead operation: Amplitude List All Experiments. Self-contained Naftiko capability covering one Amplitude business surface.

Run with Naftiko AmplitudeExperiments

What You Can Do

GET
Listexperiments — Amplitude List All Experiments
/v1/api/1/experiments
POST
Createexperiment — Amplitude Create an Experiment
/v1/api/1/experiments
GET
Getexperiment — Amplitude Get an Experiment
/v1/api/1/experiments/{id}
PATCH
Updateexperiment — Amplitude Update an Experiment
/v1/api/1/experiments/{id}

MCP Tools

amplitude-list-all-experiments

Amplitude List All Experiments

read-only idempotent
amplitude-create-experiment

Amplitude Create an Experiment

amplitude-get-experiment

Amplitude Get an Experiment

read-only idempotent
amplitude-update-experiment

Amplitude Update an Experiment

idempotent

Capability Spec

experiment-management-experiments.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amplitude Experiment Management API — Experiments
  description: 'Amplitude Experiment Management API — Experiments. 4 operations. Lead operation: Amplitude List All Experiments.
    Self-contained Naftiko capability covering one Amplitude business surface.'
  tags:
  - Amplitude
  - Experiments
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMPLITUDE_API_KEY: AMPLITUDE_API_KEY
capability:
  consumes:
  - type: http
    namespace: experiment-management-experiments
    baseUri: https://experiment.amplitude.com
    description: Amplitude Experiment Management API — Experiments business capability. Self-contained, no shared references.
    resources:
    - name: api-1-experiments
      path: /api/1/experiments
      operations:
      - name: listexperiments
        method: GET
        description: Amplitude List All Experiments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
          description: The maximum number of experiments to return.
        - name: cursor
          in: query
          type: string
          description: A cursor for pagination.
      - name: createexperiment
        method: POST
        description: Amplitude Create an Experiment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-1-experiments-id
      path: /api/1/experiments/{id}
      operations:
      - name: getexperiment
        method: GET
        description: Amplitude Get an Experiment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateexperiment
        method: PATCH
        description: Amplitude Update an Experiment
        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.AMPLITUDE_API_KEY}}'
  exposes:
  - type: rest
    namespace: experiment-management-experiments-rest
    port: 8080
    description: REST adapter for Amplitude Experiment Management API — Experiments. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/api/1/experiments
      name: api-1-experiments
      description: REST surface for api-1-experiments.
      operations:
      - method: GET
        name: listexperiments
        description: Amplitude List All Experiments
        call: experiment-management-experiments.listexperiments
        with:
          limit: rest.limit
          cursor: rest.cursor
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createexperiment
        description: Amplitude Create an Experiment
        call: experiment-management-experiments.createexperiment
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/1/experiments/{id}
      name: api-1-experiments-id
      description: REST surface for api-1-experiments-id.
      operations:
      - method: GET
        name: getexperiment
        description: Amplitude Get an Experiment
        call: experiment-management-experiments.getexperiment
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updateexperiment
        description: Amplitude Update an Experiment
        call: experiment-management-experiments.updateexperiment
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: experiment-management-experiments-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amplitude Experiment Management API — Experiments. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: amplitude-list-all-experiments
      description: Amplitude List All Experiments
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: experiment-management-experiments.listexperiments
      with:
        limit: tools.limit
        cursor: tools.cursor
      outputParameters:
      - type: object
        mapping: $.
    - name: amplitude-create-experiment
      description: Amplitude Create an Experiment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: experiment-management-experiments.createexperiment
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amplitude-get-experiment
      description: Amplitude Get an Experiment
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: experiment-management-experiments.getexperiment
      outputParameters:
      - type: object
        mapping: $.
    - name: amplitude-update-experiment
      description: Amplitude Update an Experiment
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: experiment-management-experiments.updateexperiment
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.