---
title: "Submit Cpge Solution Attempt"
method: POST
path: "/cpge-exercises/{exercise_id}/solution-attempt"
tags: ["cpge_exercises"]
---

# Submit Cpge Solution Attempt

`POST /cpge-exercises/{exercise_id}/solution-attempt`

Submit a solution attempt for a CPGE exercise and get feedback.

## Path parameters

- `exercise_id` string, required

## Request body

- CPGESolutionAttempt
  - `latex_content` string, required
  - `image_urls` string[], nullable
  - `diagram_urls` string[], nullable

## Response `200`

Successful Response

- CPGESolutionCheckResponse
  - `status` string, required
  - `correctness` 'correct' | 'partial' | 'wrong' | 'not_applicable', required
  - `feedback` string, required

## 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-service-production.skmtc.workers.dev/v1/apis/excellence-ai/excellence-learning/revisions/8d495ed916c6/schema)
