AB Tasty · Capability

AB Tasty Decision API — Flags

AB Tasty Decision API — Flags. 1 operations. Lead operation: AB Tasty Post Environment Flags. Self-contained Naftiko capability covering one Ab Tasty business surface.

Run with Naftiko Ab TastyFlags

What You Can Do

POST
Postenvironmentidflags — AB Tasty Post Environment Flags
/v1/{environmentid}/flags

MCP Tools

ab-tasty-post-environment-flags

AB Tasty Post Environment Flags

Capability Spec

decision-flags.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: AB Tasty Decision API — Flags
  description: 'AB Tasty Decision API — Flags. 1 operations. Lead operation: AB Tasty Post Environment Flags. Self-contained
    Naftiko capability covering one Ab Tasty business surface.'
  tags:
  - Ab Tasty
  - Flags
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AB_TASTY_API_KEY: AB_TASTY_API_KEY
capability:
  consumes:
  - type: http
    namespace: decision-flags
    baseUri: https://decision.flagship.io/v2
    description: AB Tasty Decision API — Flags business capability. Self-contained, no shared references.
    resources:
    - name: environmentId-flags
      path: /{environmentId}/flags
      operations:
      - name: postenvironmentidflags
        method: POST
        description: AB Tasty Post Environment Flags
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: exposeAllKeys
          in: query
          type: boolean
          description: If true, all flag keys (even flag keys with null values) will be returned
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: x-api-key
      value: '{{env.AB_TASTY_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: decision-flags-rest
    port: 8080
    description: REST adapter for AB Tasty Decision API — Flags. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/{environmentid}/flags
      name: environmentid-flags
      description: REST surface for environmentId-flags.
      operations:
      - method: POST
        name: postenvironmentidflags
        description: AB Tasty Post Environment Flags
        call: decision-flags.postenvironmentidflags
        with:
          exposeAllKeys: rest.exposeAllKeys
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: decision-flags-mcp
    port: 9090
    transport: http
    description: MCP adapter for AB Tasty Decision API — Flags. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: ab-tasty-post-environment-flags
      description: AB Tasty Post Environment Flags
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: decision-flags.postenvironmentidflags
      with:
        exposeAllKeys: tools.exposeAllKeys
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.