Spot · Capability

Spot Billing Engine API — Billing Engine Setup

Spot Billing Engine API — Billing Engine Setup. 2 operations. Lead operation: Spot Set up Billing Engine. Self-contained Naftiko capability covering one Flexera business surface.

Run with Naftiko FlexeraBilling Engine Setup

What You Can Do

POST
Setupbillingengine — Spot Set up Billing Engine
/v1/billingengine/setup
POST
Validatebillingenginesetup — Spot Validate Billing Engine Setup
/v1/billingengine/setup/validation

MCP Tools

spot-set-up-billing-engine

Spot Set up Billing Engine

spot-validate-billing-engine-setup

Spot Validate Billing Engine Setup

read-only

Capability Spec

spot-billing-engine-billing-engine-setup.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Spot Billing Engine API — Billing Engine Setup
  description: 'Spot Billing Engine API — Billing Engine Setup. 2 operations. Lead operation: Spot Set up Billing Engine.
    Self-contained Naftiko capability covering one Flexera business surface.'
  tags:
  - Flexera
  - Billing Engine Setup
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    FLEXERA_API_KEY: FLEXERA_API_KEY
capability:
  consumes:
  - type: http
    namespace: spot-billing-engine-billing-engine-setup
    baseUri: https://api.spotinst.io
    description: Spot Billing Engine API — Billing Engine Setup business capability. Self-contained, no shared references.
    resources:
    - name: billingEngine-setup
      path: /billingEngine/setup
      operations:
      - name: setupbillingengine
        method: POST
        description: Spot Set up Billing Engine
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: billingEngine-setup-validation
      path: /billingEngine/setup/validation
      operations:
      - name: validatebillingenginesetup
        method: POST
        description: Spot Validate Billing Engine Setup
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.FLEXERA_API_KEY}}'
  exposes:
  - type: rest
    namespace: spot-billing-engine-billing-engine-setup-rest
    port: 8080
    description: REST adapter for Spot Billing Engine API — Billing Engine Setup. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/billingengine/setup
      name: billingengine-setup
      description: REST surface for billingEngine-setup.
      operations:
      - method: POST
        name: setupbillingengine
        description: Spot Set up Billing Engine
        call: spot-billing-engine-billing-engine-setup.setupbillingengine
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/billingengine/setup/validation
      name: billingengine-setup-validation
      description: REST surface for billingEngine-setup-validation.
      operations:
      - method: POST
        name: validatebillingenginesetup
        description: Spot Validate Billing Engine Setup
        call: spot-billing-engine-billing-engine-setup.validatebillingenginesetup
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: spot-billing-engine-billing-engine-setup-mcp
    port: 9090
    transport: http
    description: MCP adapter for Spot Billing Engine API — Billing Engine Setup. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: spot-set-up-billing-engine
      description: Spot Set up Billing Engine
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: spot-billing-engine-billing-engine-setup.setupbillingengine
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: spot-validate-billing-engine-setup
      description: Spot Validate Billing Engine Setup
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: spot-billing-engine-billing-engine-setup.validatebillingenginesetup
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.