statsig · Capability

Statsig Console API — Keys

Statsig Console API — Keys. 1 operations. Lead operation: List all API keys. Self-contained Naftiko capability covering one Statsig business surface.

Run with Naftiko StatsigKeys

What You Can Do

GET
Listkeys — List all API keys
/v1/keys

MCP Tools

list-all-api-keys

List all API keys

read-only idempotent

Capability Spec

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