IBM Turbonomic · Capability

Turbonomic REST API — Targets

Turbonomic REST API — Targets. 2 operations. Lead operation: Get All Targets. Self-contained Naftiko capability covering one Turbonomic business surface.

Run with Naftiko TurbonomicTargets

What You Can Do

GET
Gettargets — Get All Targets
/v1/targets
GET
Gettargetbyuuid — Get Target By UUID
/v1/targets/{uuid}

MCP Tools

get-all-targets

Get All Targets

read-only idempotent
get-target-uuid

Get Target By UUID

read-only idempotent

Capability Spec

rest-targets.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Turbonomic REST API — Targets
  description: 'Turbonomic REST API — Targets. 2 operations. Lead operation: Get All Targets. Self-contained Naftiko capability
    covering one Turbonomic business surface.'
  tags:
  - Turbonomic
  - Targets
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TURBONOMIC_API_KEY: TURBONOMIC_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-targets
    baseUri: https://{turbonomic_host}/api/v3
    description: Turbonomic REST API — Targets business capability. Self-contained, no shared references.
    resources:
    - name: targets
      path: /targets
      operations:
      - name: gettargets
        method: GET
        description: Get All Targets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: targets-uuid
      path: /targets/{uuid}
      operations:
      - name: gettargetbyuuid
        method: GET
        description: Get Target By UUID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: uuid
          in: path
          type: string
          description: The unique identifier of the target
          required: true
    authentication:
      type: bearer
      token: '{{env.TURBONOMIC_API_KEY}}'
  exposes:
  - type: rest
    namespace: rest-targets-rest
    port: 8080
    description: REST adapter for Turbonomic REST API — Targets. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/targets
      name: targets
      description: REST surface for targets.
      operations:
      - method: GET
        name: gettargets
        description: Get All Targets
        call: rest-targets.gettargets
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/targets/{uuid}
      name: targets-uuid
      description: REST surface for targets-uuid.
      operations:
      - method: GET
        name: gettargetbyuuid
        description: Get Target By UUID
        call: rest-targets.gettargetbyuuid
        with:
          uuid: rest.uuid
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-targets-mcp
    port: 9090
    transport: http
    description: MCP adapter for Turbonomic REST API — Targets. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: get-all-targets
      description: Get All Targets
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-targets.gettargets
      outputParameters:
      - type: object
        mapping: $.
    - name: get-target-uuid
      description: Get Target By UUID
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-targets.gettargetbyuuid
      with:
        uuid: tools.uuid
      outputParameters:
      - type: object
        mapping: $.