statsig · Capability

Statsig Console API — Autotunes

Statsig Console API — Autotunes. 2 operations. Lead operation: List all autotunes. Self-contained Naftiko capability covering one Statsig business surface.

Run with Naftiko StatsigAutotunes

What You Can Do

GET
Listautotunes — List all autotunes
/v1/autotunes
POST
Createautotune — Create an autotune
/v1/autotunes

MCP Tools

list-all-autotunes

List all autotunes

read-only idempotent
create-autotune

Create an autotune

Capability Spec

console-autotunes.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Statsig Console API — Autotunes
  description: 'Statsig Console API — Autotunes. 2 operations. Lead operation: List all autotunes. Self-contained Naftiko
    capability covering one Statsig business surface.'
  tags:
  - Statsig
  - Autotunes
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    STATSIG_API_KEY: STATSIG_API_KEY
capability:
  consumes:
  - type: http
    namespace: console-autotunes
    baseUri: https://statsigapi.net/console/v1
    description: Statsig Console API — Autotunes business capability. Self-contained, no shared references.
    resources:
    - name: autotunes
      path: /autotunes
      operations:
      - name: listautotunes
        method: GET
        description: List all autotunes
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createautotune
        method: POST
        description: Create an autotune
        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: STATSIG-API-KEY
      value: '{{env.STATSIG_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: console-autotunes-rest
    port: 8080
    description: REST adapter for Statsig Console API — Autotunes. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/autotunes
      name: autotunes
      description: REST surface for autotunes.
      operations:
      - method: GET
        name: listautotunes
        description: List all autotunes
        call: console-autotunes.listautotunes
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createautotune
        description: Create an autotune
        call: console-autotunes.createautotune
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: console-autotunes-mcp
    port: 9090
    transport: http
    description: MCP adapter for Statsig Console API — Autotunes. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-all-autotunes
      description: List all autotunes
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: console-autotunes.listautotunes
      outputParameters:
      - type: object
        mapping: $.
    - name: create-autotune
      description: Create an autotune
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: console-autotunes.createautotune
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.