---
title: "Find Card Session"
method: POST
path: "/homework-helper/card-session"
tags: ["Homework Helper"]
---

# Find Card Session

`POST /homework-helper/card-session`

## 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/homework-helper/card-session`
- Auth: OAuth 2
  - Password
  - Token URL: `api/login`

The session an exercise card of this chat already made, when it made
it before cards sent their key (EXC-1826). The card then reads
« Reprendre l'exercice » instead of promising a new one, and the session
is tagged so the next load lists it like any other.

## Request body

- CardSessionRequest: An exercise card of the student chat, to find the session it made before cards sent their key (EXC-1826).
  - `latex_content` string, required
  - `title` string, nullable
  - `source_chat_id` string, required
  - `card_key` string, required

## Response `200`

Successful Response

- CardSessionResponse
  - `session_id` string, nullable

## Other responses

- `422`: Validation Error

## Changes

> 106 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/homework-helper/card-session/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/de6afcc9656f?raw)
