Memesio · Capability

Memesio API Contracts — experimentation

Memesio API Contracts — experimentation. 3 operations. Lead operation: Get Pricing/Paywall Experiment Analysis Templates. Self-contained Naftiko capability covering one Memesio business surface.

Run with Naftiko Memesioexperimentation

What You Can Do

GET
Get — Get Pricing/Paywall Experiment Analysis Templates
/v1/api/analytics/experiments/templates
GET
Get — Decision Service for Growth Experiments with Optional Exposure Logging
/v1/api/growth/experiments/decision
POST
Post — Request Decisions or Query Exposure History for Growth Experiments
/v1/api/growth/experiments/decision

MCP Tools

get-pricing-paywall-experiment-analysis

Get Pricing/Paywall Experiment Analysis Templates

read-only idempotent
decision-service-growth-experiments-optional

Decision Service for Growth Experiments with Optional Exposure Logging

read-only idempotent
request-decisions-query-exposure-history

Request Decisions or Query Exposure History for Growth Experiments

read-only

Capability Spec

memesio-experimentation.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Memesio API Contracts — experimentation
  description: 'Memesio API Contracts — experimentation. 3 operations. Lead operation: Get Pricing/Paywall Experiment Analysis
    Templates. Self-contained Naftiko capability covering one Memesio business surface.'
  tags:
  - Memesio
  - experimentation
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MEMESIO_API_KEY: MEMESIO_API_KEY
capability:
  consumes:
  - type: http
    namespace: memesio-experimentation
    baseUri: ''
    description: Memesio API Contracts — experimentation business capability. Self-contained, no shared references.
    resources:
    - name: api-analytics-experiments-templates
      path: /api/analytics/experiments/templates
      operations:
      - name: get
        method: GET
        description: Get Pricing/Paywall Experiment Analysis Templates
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: templateId
          in: query
          type: string
    - name: api-growth-experiments-decision
      path: /api/growth/experiments/decision
      operations:
      - name: get
        method: GET
        description: Decision Service for Growth Experiments with Optional Exposure Logging
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: actorId
          in: query
          type: string
          required: true
        - name: surface
          in: query
          type: string
        - name: logExposure
          in: query
          type: boolean
      - name: post
        method: POST
        description: Request Decisions or Query Exposure History for Growth Experiments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: x-developer-api-key
      value: '{{env.MEMESIO_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: memesio-experimentation-rest
    port: 8080
    description: REST adapter for Memesio API Contracts — experimentation. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/analytics/experiments/templates
      name: api-analytics-experiments-templates
      description: REST surface for api-analytics-experiments-templates.
      operations:
      - method: GET
        name: get
        description: Get Pricing/Paywall Experiment Analysis Templates
        call: memesio-experimentation.get
        with:
          templateId: rest.templateId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/growth/experiments/decision
      name: api-growth-experiments-decision
      description: REST surface for api-growth-experiments-decision.
      operations:
      - method: GET
        name: get
        description: Decision Service for Growth Experiments with Optional Exposure Logging
        call: memesio-experimentation.get
        with:
          actorId: rest.actorId
          surface: rest.surface
          logExposure: rest.logExposure
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Request Decisions or Query Exposure History for Growth Experiments
        call: memesio-experimentation.post
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: memesio-experimentation-mcp
    port: 9090
    transport: http
    description: MCP adapter for Memesio API Contracts — experimentation. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-pricing-paywall-experiment-analysis
      description: Get Pricing/Paywall Experiment Analysis Templates
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: memesio-experimentation.get
      with:
        templateId: tools.templateId
      outputParameters:
      - type: object
        mapping: $.
    - name: decision-service-growth-experiments-optional
      description: Decision Service for Growth Experiments with Optional Exposure Logging
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: memesio-experimentation.get
      with:
        actorId: tools.actorId
        surface: tools.surface
        logExposure: tools.logExposure
      outputParameters:
      - type: object
        mapping: $.
    - name: request-decisions-query-exposure-history
      description: Request Decisions or Query Exposure History for Growth Experiments
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: memesio-experimentation.post
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.