---
title: "Create Copy Session"
method: POST
path: "/homework-helper/create-copy-session"
tags: ["Homework Helper"]
---

# Create Copy Session

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

Create the session of a copy card (EXC-1730): one homework-help session
holding every exercise of the student's copy, each exercise with photos
graded as their copy.

## Request body

- CreateCopySessionRequest: A copy card of the student chat (EXC-1730): every exercise of the copy, each with its own photos, in one homework-help session.
  - `exercises` CopyExerciseIn[], required
    - `statement` string, required: The exercise's statement.
    - `title` string, nullable
    - `photo_urls` string[]: Photos of the student's own work on this exercise, graded as their copy. Empty: an ordinary exercise, nothing graded.
  - `subject` 'maths' | 'physique-chimie', nullable
  - `source_chat_id` string, nullable
  - `card_key` string, nullable

## Response `200`

Successful Response

- CreateCopySessionResponse
  - `session_id` string, required
  - `exercise_ids` string[], required
  - `graded_exercise_count` integer
  - `created` boolean

## 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/create-copy-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)
