Tanium · Capability

Tanium Platform REST API — Groups

Tanium Platform REST API — Groups. 2 operations. Lead operation: List All Computer Groups. Self-contained Naftiko capability covering one Tanium business surface.

Run with Naftiko TaniumGroups

What You Can Do

GET
Listgroups — List All Computer Groups
/v1/api/v2/groups
GET
Getgroupbyname — Get A Computer Group By Name
/v1/api/v2/groups/by-name/{name}

MCP Tools

list-all-computer-groups

List All Computer Groups

read-only idempotent
get-computer-group-name

Get A Computer Group By Name

read-only idempotent

Capability Spec

platform-rest-groups.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Tanium Platform REST API — Groups
  description: 'Tanium Platform REST API — Groups. 2 operations. Lead operation: List All Computer Groups. Self-contained
    Naftiko capability covering one Tanium business surface.'
  tags:
  - Tanium
  - Groups
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TANIUM_API_KEY: TANIUM_API_KEY
capability:
  consumes:
  - type: http
    namespace: platform-rest-groups
    baseUri: https://{tanium_server}
    description: Tanium Platform REST API — Groups business capability. Self-contained, no shared references.
    resources:
    - name: api-v2-groups
      path: /api/v2/groups
      operations:
      - name: listgroups
        method: GET
        description: List All Computer Groups
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-v2-groups-by-name-name
      path: /api/v2/groups/by-name/{name}
      operations:
      - name: getgroupbyname
        method: GET
        description: Get A Computer Group By Name
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: Name of the computer group
          required: true
    authentication:
      type: apikey
      key: session
      value: '{{env.TANIUM_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: platform-rest-groups-rest
    port: 8080
    description: REST adapter for Tanium Platform REST API — Groups. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/v2/groups
      name: api-v2-groups
      description: REST surface for api-v2-groups.
      operations:
      - method: GET
        name: listgroups
        description: List All Computer Groups
        call: platform-rest-groups.listgroups
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/groups/by-name/{name}
      name: api-v2-groups-by-name-name
      description: REST surface for api-v2-groups-by-name-name.
      operations:
      - method: GET
        name: getgroupbyname
        description: Get A Computer Group By Name
        call: platform-rest-groups.getgroupbyname
        with:
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: platform-rest-groups-mcp
    port: 9090
    transport: http
    description: MCP adapter for Tanium Platform REST API — Groups. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-all-computer-groups
      description: List All Computer Groups
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-rest-groups.listgroups
      outputParameters:
      - type: object
        mapping: $.
    - name: get-computer-group-name
      description: Get A Computer Group By Name
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-rest-groups.getgroupbyname
      with:
        name: tools.name
      outputParameters:
      - type: object
        mapping: $.