statsig · Capability

Statsig HTTP API — Configuration

Statsig HTTP API — Configuration. 1 operations. Lead operation: Download configuration specs. Self-contained Naftiko capability covering one Statsig business surface.

Run with Naftiko StatsigConfiguration

What You Can Do

POST
Downloadconfigspecs — Download configuration specs
/v1/download-config-specs

MCP Tools

download-configuration-specs

Download configuration specs

Capability Spec

http-configuration.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Statsig HTTP API — Configuration
  description: 'Statsig HTTP API — Configuration. 1 operations. Lead operation: Download configuration specs. Self-contained
    Naftiko capability covering one Statsig business surface.'
  tags:
  - Statsig
  - Configuration
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    STATSIG_API_KEY: STATSIG_API_KEY
capability:
  consumes:
  - type: http
    namespace: http-configuration
    baseUri: https://api.statsig.com/v1
    description: Statsig HTTP API — Configuration business capability. Self-contained, no shared references.
    resources:
    - name: download_config_specs
      path: /download_config_specs
      operations:
      - name: downloadconfigspecs
        method: POST
        description: Download configuration specs
        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: http-configuration-rest
    port: 8080
    description: REST adapter for Statsig HTTP API — Configuration. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/download-config-specs
      name: download-config-specs
      description: REST surface for download_config_specs.
      operations:
      - method: POST
        name: downloadconfigspecs
        description: Download configuration specs
        call: http-configuration.downloadconfigspecs
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: http-configuration-mcp
    port: 9090
    transport: http
    description: MCP adapter for Statsig HTTP API — Configuration. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: download-configuration-specs
      description: Download configuration specs
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: http-configuration.downloadconfigspecs
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.