naftiko: 1.0.0-alpha2 info: label: Statsig Console API — Dynamic Configs description: 'Statsig Console API — Dynamic Configs. 6 operations. Lead operation: List all dynamic configs. Self-contained Naftiko capability covering one Statsig business surface.' tags: - Statsig - Dynamic Configs created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: STATSIG_API_KEY: STATSIG_API_KEY capability: consumes: - type: http namespace: console-dynamic-configs baseUri: https://statsigapi.net/console/v1 description: Statsig Console API — Dynamic Configs business capability. Self-contained, no shared references. resources: - name: dynamic_configs path: /dynamic_configs operations: - name: listdynamicconfigs method: GET description: List all dynamic configs outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createdynamicconfig method: POST description: Create a dynamic config outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: dynamic_configs-id path: /dynamic_configs/{id} operations: - name: getdynamicconfig method: GET description: Get a dynamic config outputRawFormat: json outputParameters: - name: result type: object value: $. - name: partiallyupdatedynamicconfig method: PATCH description: Partially update a dynamic config outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletedynamicconfig method: DELETE description: Delete a dynamic config outputRawFormat: json outputParameters: - name: result type: object value: $. - name: dynamic_configs-id-rules path: /dynamic_configs/{id}/rules operations: - name: getdynamicconfigrules method: GET description: Get dynamic config rules 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-dynamic-configs-rest port: 8080 description: REST adapter for Statsig Console API — Dynamic Configs. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/dynamic-configs name: dynamic-configs description: REST surface for dynamic_configs. operations: - method: GET name: listdynamicconfigs description: List all dynamic configs call: console-dynamic-configs.listdynamicconfigs outputParameters: - type: object mapping: $. - method: POST name: createdynamicconfig description: Create a dynamic config call: console-dynamic-configs.createdynamicconfig with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/dynamic-configs/{id} name: dynamic-configs-id description: REST surface for dynamic_configs-id. operations: - method: GET name: getdynamicconfig description: Get a dynamic config call: console-dynamic-configs.getdynamicconfig outputParameters: - type: object mapping: $. - method: PATCH name: partiallyupdatedynamicconfig description: Partially update a dynamic config call: console-dynamic-configs.partiallyupdatedynamicconfig with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletedynamicconfig description: Delete a dynamic config call: console-dynamic-configs.deletedynamicconfig outputParameters: - type: object mapping: $. - path: /v1/dynamic-configs/{id}/rules name: dynamic-configs-id-rules description: REST surface for dynamic_configs-id-rules. operations: - method: GET name: getdynamicconfigrules description: Get dynamic config rules call: console-dynamic-configs.getdynamicconfigrules outputParameters: - type: object mapping: $. - type: mcp namespace: console-dynamic-configs-mcp port: 9090 transport: http description: MCP adapter for Statsig Console API — Dynamic Configs. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-dynamic-configs description: List all dynamic configs hints: readOnly: true destructive: false idempotent: true call: console-dynamic-configs.listdynamicconfigs outputParameters: - type: object mapping: $. - name: create-dynamic-config description: Create a dynamic config hints: readOnly: false destructive: false idempotent: false call: console-dynamic-configs.createdynamicconfig with: body: tools.body outputParameters: - type: object mapping: $. - name: get-dynamic-config description: Get a dynamic config hints: readOnly: true destructive: false idempotent: true call: console-dynamic-configs.getdynamicconfig outputParameters: - type: object mapping: $. - name: partially-update-dynamic-config description: Partially update a dynamic config hints: readOnly: false destructive: false idempotent: true call: console-dynamic-configs.partiallyupdatedynamicconfig with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-dynamic-config description: Delete a dynamic config hints: readOnly: false destructive: true idempotent: true call: console-dynamic-configs.deletedynamicconfig outputParameters: - type: object mapping: $. - name: get-dynamic-config-rules description: Get dynamic config rules hints: readOnly: true destructive: false idempotent: true call: console-dynamic-configs.getdynamicconfigrules outputParameters: - type: object mapping: $.