---
title: "Get Session Data"
method: GET
path: "/session/{session_id}"
tags: ["session"]
---

# Get Session Data

`GET /session/{session_id}`

Retrieves the Session by ID (must be in current user's next_sessions or prev_sessions).
Also fetches the corresponding Topic for latex/images.

## Path parameters

- `session_id` string, required

## Response `200`

Successful Response

- RoutersUsSessionSessionResponse — Combines session + topic info for the daily session flow.
  - `session` SessionData, required — Session data to return to the frontend.
    - `id` string, required
    - `topic_id` string, required
    - `student_work_images` string[]
  - `topic` TopicData, required — Minimal data for the topic that the session references.
    - `id` string, required
    - `title` string, required
    - `latex_course` string, nullable
    - `images_course` string[]
    - `latex_exercise` string, nullable
    - `images_exercise` string[]
    - `latex_correction` string, nullable
    - `images_correction` string[]

## 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.dev/excellence-ai/apis/excellence-learning/revisions/2a0c1636fd3b?raw)
