---
title: "Get category scores by group"
method: GET
path: "/scores/contexts/{contextId}/group/{group}"
tags: ["Scores"]
---

# Get category scores by group

`GET /scores/contexts/{contextId}/group/{group}`

Get category scores according to group.

## Path parameters

- `contextId` string, required
- `group` 'engagement' | 'diversity_inclusion' | 'health_wellbeing' | 'transformation_change' | 'onboarding' | 'exit' | 'covid19' | 'other' | 'environmental_social_governance' | 'ancc_magnet_nursing_excellence' | 'values', required

## Query parameters

- `observations` boolean
- `participation` boolean
- `interval` 'month' | 'quarter' | 'year' | 'all' | 'recent'

## Response `200`

A [JSONAPI resource](http://jsonapi.org/format/#document-resource-objects) containing an array of 'category_scores' objects

- object
  - `data` CategoryScores[]
    - `type` string
    - `id` string
    - `attributes` object
      - `grade` string
      - `impact` string
      - `source` string
      - `scores` object
      - `observations` object[]
      - `participation` object
  - `included` ResourceIdentifier[] — An array of included JSONAPI resources
    - `type` string
    - `id` string

---

[API](https://skmtc.dev/peakon/apis/peakon-api.md) · [All operations](https://skmtc.dev/peakon/apis/peakon-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/peakon/peakon-api/revisions/cd09bd8acab5/schema)
