---
title: "Get School Code Usage"
method: GET
path: "/admin/school-codes/{code_id}/usage"
tags: ["Admin - School Codes"]
---

# Get School Code Usage

`GET /admin/school-codes/{code_id}/usage`

Get usage statistics for a specific school code.
Only accessible by admins.

## Path parameters

- `code_id` string, required

## Response `200`

Successful Response

- SchoolCodeUsageResponse[]
  - `id` string, required
  - `student_id` string, required
  - `student_email` string, required
  - `school_code_id` string, required
  - `used_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) · [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/excellence-ai/excellence-learning/revisions/c407f3b5a05b/schema)
