HP · Capability

HP Workforce Solutions Analytics API — Analytics

HP Workforce Solutions Analytics API — Analytics. 1 operations. Lead operation: Get Device Analytics. Self-contained Naftiko capability covering one Hp business surface.

Run with Naftiko HpAnalytics

What You Can Do

GET
Getdeviceanalytics — Get Device Analytics
/v1/analytics/devices

MCP Tools

get-device-analytics

Get Device Analytics

read-only idempotent

Capability Spec

workforce-solutions-analytics-analytics.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: HP Workforce Solutions Analytics API — Analytics
  description: 'HP Workforce Solutions Analytics API — Analytics. 1 operations. Lead operation: Get Device Analytics. Self-contained
    Naftiko capability covering one Hp business surface.'
  tags:
  - Hp
  - Analytics
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    HP_API_KEY: HP_API_KEY
capability:
  consumes:
  - type: http
    namespace: workforce-solutions-analytics-analytics
    baseUri: https://daas.api.hp.com
    description: HP Workforce Solutions Analytics API — Analytics business capability. Self-contained, no shared references.
    resources:
    - name: analytics-devices
      path: /analytics/devices
      operations:
      - name: getdeviceanalytics
        method: GET
        description: Get Device Analytics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: startDate
          in: query
          type: string
        - name: endDate
          in: query
          type: string
  exposes:
  - type: rest
    namespace: workforce-solutions-analytics-analytics-rest
    port: 8080
    description: REST adapter for HP Workforce Solutions Analytics API — Analytics. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/analytics/devices
      name: analytics-devices
      description: REST surface for analytics-devices.
      operations:
      - method: GET
        name: getdeviceanalytics
        description: Get Device Analytics
        call: workforce-solutions-analytics-analytics.getdeviceanalytics
        with:
          startDate: rest.startDate
          endDate: rest.endDate
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: workforce-solutions-analytics-analytics-mcp
    port: 9090
    transport: http
    description: MCP adapter for HP Workforce Solutions Analytics API — Analytics. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: get-device-analytics
      description: Get Device Analytics
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: workforce-solutions-analytics-analytics.getdeviceanalytics
      with:
        startDate: tools.startDate
        endDate: tools.endDate
      outputParameters:
      - type: object
        mapping: $.