IBM Turbonomic · Capability

Turbonomic REST API — Authentication

Turbonomic REST API — Authentication. 2 operations. Lead operation: Login to Turbonomic. Self-contained Naftiko capability covering one Turbonomic business surface.

Run with Naftiko TurbonomicAuthentication

What You Can Do

POST
Loginuser — Login to Turbonomic
/v1/login
POST
Logoutuser — Logout from Turbonomic
/v1/logout

MCP Tools

login-turbonomic

Login to Turbonomic

logout-turbonomic

Logout from Turbonomic

Capability Spec

rest-authentication.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Turbonomic REST API — Authentication
  description: 'Turbonomic REST API — Authentication. 2 operations. Lead operation: Login to Turbonomic. Self-contained Naftiko
    capability covering one Turbonomic business surface.'
  tags:
  - Turbonomic
  - Authentication
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TURBONOMIC_API_KEY: TURBONOMIC_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-authentication
    baseUri: https://{turbonomic_host}/api/v3
    description: Turbonomic REST API — Authentication business capability. Self-contained, no shared references.
    resources:
    - name: login
      path: /login
      operations:
      - name: loginuser
        method: POST
        description: Login to Turbonomic
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: logout
      path: /logout
      operations:
      - name: logoutuser
        method: POST
        description: Logout from Turbonomic
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.TURBONOMIC_API_KEY}}'
  exposes:
  - type: rest
    namespace: rest-authentication-rest
    port: 8080
    description: REST adapter for Turbonomic REST API — Authentication. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/login
      name: login
      description: REST surface for login.
      operations:
      - method: POST
        name: loginuser
        description: Login to Turbonomic
        call: rest-authentication.loginuser
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/logout
      name: logout
      description: REST surface for logout.
      operations:
      - method: POST
        name: logoutuser
        description: Logout from Turbonomic
        call: rest-authentication.logoutuser
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-authentication-mcp
    port: 9090
    transport: http
    description: MCP adapter for Turbonomic REST API — Authentication. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: login-turbonomic
      description: Login to Turbonomic
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: rest-authentication.loginuser
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: logout-turbonomic
      description: Logout from Turbonomic
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: rest-authentication.logoutuser
      outputParameters:
      - type: object
        mapping: $.