Pluralsight · Capability

Pluralsight Flow Coding Metrics API — Coding Metrics

Pluralsight Flow Coding Metrics API — Coding Metrics. 1 operations. Lead operation: Pluralsight Get Coding Metrics. Self-contained Naftiko capability covering one Pluralsight business surface.

Run with Naftiko PluralsightCoding Metrics

What You Can Do

GET
Getcodingmetrics — Pluralsight Get Coding Metrics
/v1/collaboration/code/metrics

MCP Tools

pluralsight-get-coding-metrics

Pluralsight Get Coding Metrics

read-only idempotent

Capability Spec

flow-coding-metrics-coding-metrics.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Pluralsight Flow Coding Metrics API — Coding Metrics
  description: 'Pluralsight Flow Coding Metrics API — Coding Metrics. 1 operations. Lead operation: Pluralsight Get Coding
    Metrics. Self-contained Naftiko capability covering one Pluralsight business surface.'
  tags:
  - Pluralsight
  - Coding Metrics
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PLURALSIGHT_API_KEY: PLURALSIGHT_API_KEY
capability:
  consumes:
  - type: http
    namespace: flow-coding-metrics-coding-metrics
    baseUri: https://flow-api.pluralsight.com
    description: Pluralsight Flow Coding Metrics API — Coding Metrics business capability. Self-contained, no shared references.
    resources:
    - name: collaboration-code-metrics
      path: /collaboration/code/metrics
      operations:
      - name: getcodingmetrics
        method: GET
        description: Pluralsight Get Coding Metrics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: start_date
          in: query
          type: string
          description: Start date for the metrics period
        - name: end_date
          in: query
          type: string
          description: End date for the metrics period
    authentication:
      type: bearer
      token: '{{env.PLURALSIGHT_API_KEY}}'
  exposes:
  - type: rest
    namespace: flow-coding-metrics-coding-metrics-rest
    port: 8080
    description: REST adapter for Pluralsight Flow Coding Metrics API — Coding Metrics. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/collaboration/code/metrics
      name: collaboration-code-metrics
      description: REST surface for collaboration-code-metrics.
      operations:
      - method: GET
        name: getcodingmetrics
        description: Pluralsight Get Coding Metrics
        call: flow-coding-metrics-coding-metrics.getcodingmetrics
        with:
          start_date: rest.start_date
          end_date: rest.end_date
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: flow-coding-metrics-coding-metrics-mcp
    port: 9090
    transport: http
    description: MCP adapter for Pluralsight Flow Coding Metrics API — Coding Metrics. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: pluralsight-get-coding-metrics
      description: Pluralsight Get Coding Metrics
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flow-coding-metrics-coding-metrics.getcodingmetrics
      with:
        start_date: tools.start_date
        end_date: tools.end_date
      outputParameters:
      - type: object
        mapping: $.