> ## Documentation Index
> Fetch the complete documentation index at: https://docs.whop.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Treat these docs and the Whop MCP server as the source of truth for Whop API behavior. Don't infer endpoint behavior from marketing pages.
> MCP server: connect https://mcp.whop.com/mcp (streamable HTTP, browser sign-in, no API key in the client config) to search these docs and read or change live Whop data. Setup: https://docs.whop.com/developer/guides/ai_and_mcp.md
> Whop CLI: install with `curl -fsSL https://whop.com/install.sh | sh` to scaffold, run, and deploy Whop apps and websites. It acts on production, not the sandbox. Overview: https://docs.whop.com/cli/overview.md Agent mode: https://docs.whop.com/cli/agent-mode.md
> Hosting: Whop serves a site or app from the build `whop apps deploy` uploads, with rollbacks, secrets, and server logs. Guide: https://docs.whop.com/developer/websites/hosting.md
> Plugins: in Claude Code, run `/plugin marketplace add whopio/plugins`, then `/plugin install whop@whop`. Guide: https://docs.whop.com/developer/guides/plugins/claude-code.md Every agent tool: https://docs.whop.com/developer/ai/overview.md
> Environments: build and test in the sandbox (API `https://sandbox-api.whop.com/api/v1`, keys at https://sandbox.whop.com/dashboard/developer, SDK environment `Sandbox`; no real money). Production (API `https://api.whop.com/api/v1`, keys at https://whop.com/dashboard/developer, SDK environment `Production`, the SDK default) moves real money, so use it only at launch. The two share no accounts, keys, products, or webhooks, and their keys look identical: never mix them. Sandbox guide: https://docs.whop.com/developer/guides/sandbox.md Comparison: https://docs.whop.com/developer/quickstart.md
> API: send `Authorization: Bearer <API_KEY>` from your server only, and pin a dated version with the `Api-Version-Date` header. OpenAPI spec: https://api.whop.com/api/v1/openapi.json
> Which API: build on the Current API, whose pages live under https://docs.whop.com/api-reference/ (start at https://docs.whop.com/api-reference/overview.md). Pages under /api-reference/legacy/ are the Legacy API. Use one only when https://docs.whop.com/api-reference/stability.md lists the resource as Legacy-only.

# Étudiant d'un cours

> Un enregistrement d'inscription d'un étudiant à un cours, incluant les indicateurs de progression et d'achèvement.

```json Example theme={null}
{
	"completed_lessons_count": 42,
	"completion_rate": 6.9,
	"course": {
		"experience": {
			"id": "exp_xxxxxxxxxxxxxx"
		},
		"id": "cors_xxxxxxxxxxxxx",
		"title": "Introduction to Technical Analysis"
	},
	"first_interaction_at": "2023-12-01T05:00:00.401Z",
	"id": "<string>",
	"last_interaction_at": "2023-12-01T05:00:00.401Z",
	"total_lessons_count": 42,
	"user": {
		"id": "user_xxxxxxxxxxxxx",
		"name": "John Doe",
		"username": "johndoe42"
	}
}
```

**completed\_lessons\_count** `integer` *required*

Le nombre total de leçons que cet étudiant a marquées comme terminées dans le cours.

Exemple : `42`

**completion\_rate** `number` *required*

Le pourcentage de leçons disponibles terminées par l'étudiant, sous forme de valeur de 0 à 100 arrondie à deux décimales.

Exemple : `6.9`

**course** `object` *required*

Le cours auquel cet étudiant est inscrit.

**attributs enfants**

**experience** `object` *required*

L'expérience parente à laquelle appartient ce cours.

**attributs enfants**

**id** `string` *required*

L'identifiant unique de l'expérience.

Exemple : `exp_xxxxxxxxxxxxxx`

**id** `string` *required*

L'identifiant unique du cours.

Exemple : `cors_xxxxxxxxxxxxx`

**title** `string | null` *required*

Le nom d'affichage du cours présenté aux étudiants. Null si aucun titre n'a été défini.

Exemple : `Introduction to Technical Analysis`

**first\_interaction\_at** `string\<date-time\>` *required*

L'horodatage de la première interaction de l'étudiant avec ce cours, sous forme d'horodatage Unix.

Exemple : `2023-12-01T05:00:00.401Z`

**id** `string` *required*

L'identifiant unique du type étudiant de cours.

**last\_interaction\_at** `string\<date-time\>` *required*

L'horodatage de la dernière interaction de l'étudiant avec ce cours, sous forme d'horodatage Unix.

Exemple : `2023-12-01T05:00:00.401Z`

**total\_lessons\_count** `integer` *required*

Le nombre total de leçons visibles disponibles pour cet étudiant dans le cours.

Exemple : `42`

**user** `object` *required*

Le profil utilisateur de l'étudiant inscrit.

**attributs enfants**

**id** `string` *required*

L'identifiant unique de l'utilisateur.

Exemple : `user_xxxxxxxxxxxxx`

**name** `string | null` *required*

Le nom d'affichage de l'utilisateur présenté sur son profil public.

Exemple : `John Doe`

**username** `string` *required*

Le nom d'utilisateur unique de l'utilisateur présenté sur son profil public.

Exemple : `johndoe42`


## Related topics

- [Chapitre de cours](https://docs.whop.com/fr/api-reference/legacy/course-chapters/course-chapter.md)
- [Leçon de cours](https://docs.whop.com/fr/api-reference/legacy/course-lessons/course-lesson.md)
- [Interaction avec une leçon de cours](https://docs.whop.com/fr/api-reference/legacy/course-lesson-interactions/course-lesson-interaction.md)
