---
title: "Get the patient's persisted achievement collection"
method: GET
path: "/patients/{patient_id}/achievements"
tags: ["achievements"]
---

# Get the patient's persisted achievement collection

`GET /patients/{patient_id}/achievements`

## Path parameters

- `patient_id` integer, required

## Response `200`

Complete persisted achievement collection

- AchievementCollectionResponse
  - `any_unseen` boolean, required
  - `badges` AchievementBadgeResponse[], required
    - `current` integer, required
    - `earned_at` string, date-time, nullable, required
    - `id` string, required
    - `seen` boolean, required
    - `state` 'locked' | 'unlocked', required
    - `target` integer, required
  - `catalogue_version` integer, required
  - `claim_availability` 'available' | 'disabled', required
  - `evaluated_at` string, date-time, required — Most recent persisted badge-progress evaluation timestamp represented in this collection.
  - `pending_celebrations` AchievementPendingCelebrationResponse[], required
    - `badge_id` string, required
    - `earned_at` string, date-time, required
    - `source` 'evaluated' | 'backfill', required
    - `unlock_id` integer, required
  - `rewards` AchievementRewardResponse[], required
    - `claimed` boolean, required
    - `code` string, nullable, required
    - `credits` integer, required
    - `id` string, required
    - `threshold` integer, required
    - `unlocked` boolean, required
  - `streak` AchievementStreakResponse, required
    - `current` integer, required
    - `longest` integer, required

## Other responses

- `404` — Achievement collection is unavailable to this actor
- `503` — No complete persisted evaluation snapshot is available yet

## Changes

- **2026-09-09** `c17aca2782f6` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server/changes/patients/:patient_id/achievements/get.md)

---

[API](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server.md) · [All operations](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server/llms.txt) · [OpenAPI document](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server/revisions/a229b18839a0?raw)
