---
title: "Mark Class Visit Seen"
method: POST
path: "/teacher/classes/{class_id}/dashboard/visit/seen"
tags: ["class_dashboard"]
---

# Mark Class Visit Seen

`POST /teacher/classes/{class_id}/dashboard/visit/seen`

## Request

- Base URL: `https://api.excellence-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.excellence-ai.com/teacher/classes/{class_id}/dashboard/visit/seen`
- Auth: OAuth 2
  - Password
  - Token URL: `api/login`
- TypeScript: <https://skmtc.dev/excellence-ai/apis/excellence-learning/docs/teacher/classes/:class_id/dashboard/visit/seen/post.ts> (a function with typed inputs; its response is checked against the schema)

« Tout marquer comme vu »: these figures become the reference.

## Path parameters

- `class_id` string, required

## Query parameters

- `period` string, nullable: Selected period: t1 / t2 / t3 / this_week / this_month / vacances_ete / school_year. An unrecognised value falls back to the full school year rather than erroring, so a stale bookmark still renders.

## Request body

- ClassVisitRecord: What the page shows now. Same shape as the stored snapshot.
  - `snapshot` ClassSnapshot, required: Every figure of the Vue d'ensemble that can move between two visits.
    - `general_average` number, nullable
    - `evaluation_completion` number, nullable
    - `devoir_completion` number, nullable
    - `controle_completion` number, nullable
    - `activities` object
    - `students` object

## Response `204`

Successful Response

## Other responses

- `400`: Malformed identifier
- `403`: Not authorized for this resource
- `404`: Resource not found
- `422`: Validation Error

## Changes

> 88 revisions in range; 1 not diffed.

- **2026-11-05** `c80489ba6d97`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/excellence-ai/apis/excellence-learning/changes/teacher/classes/:class_id/dashboard/visit/seen/post.md)

---

[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.dev/excellence-ai/apis/excellence-learning/revisions/bd89206d97db?raw)
