---
title: "Per-student attendance matrix (joined/partial/missed) across ended sessions"
method: GET
path: "/class-management/classes/{teamId}/attendance"
tags: ["class-management"]
---

# Per-student attendance matrix (joined/partial/missed) across ended sessions

`GET /class-management/classes/{teamId}/attendance`

## Request

- Base URL: `https://api.focusbear.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.focusbear.io/class-management/classes/{teamId}/attendance`
- Auth: HTTP bearer

heartbeat_coverage_pct measures credited heartbeat/session-enforcement time divided by cumulative joined time. in_focus_pct is a deprecated compatibility alias. A session is missed, with opted_out_reason blocking_permissions_missing, when the student's latest explicit permission report at the end of the session was false (not a measure of how long permissions were missing); declined sessions carry opted_out_reason declined.

## Path parameters

- `teamId` string, uuid, required

## Response `200`

- object

---

[API](https://skmtc.dev/focusbear/apis/focusbear-api.md) - [All operations](https://skmtc.dev/focusbear/apis/focusbear-api/llms.txt) - [OpenAPI document](https://skmtc.dev/focusbear/apis/focusbear-api/revisions/3a83a3b9a811?raw)
