---
title: "Submit Csat Feedback"
method: POST
path: "/csat/feedback"
tags: ["csat"]
---

# Submit Csat Feedback

`POST /csat/feedback`

Submit CSAT feedback for any type.

## Request body

- CSATFeedbackRequest
  - `csat_type` 'transcription' | 'transcription_figure' | 'transcription_correction' | 'correction' | 'assignment' | 'batch_upload' | 'home_redesign_v2' | 'chat_redesign_v1' | 'mobile_toolbar_redesign_v1' | 'chat_message_satisfaction' | 'copy_correction_upload' | 'copy_correction_grading' | 'student_copy_viewing' | 'student_dm_results_v25' | 'student_answer_submission_v25' | 'teacher_dm_results_v25' | 'figure_generation' | 'student_practice_picker_v1' | 'student_progression_v1' | 'teacher_physics_library_v1', required
  - `rating` integer, required
  - `device_type` string, required
  - `prompt_index` integer, nullable
  - `context` union, required
    - TranscriptionContext
      - `source` 'self_practice' | 'teacher_assignment' | 'homework_helper' | 'teacher_exam', required
      - `assignment_id` string, nullable
      - `context_type` 'exercise_session' | 'homework_helper' | 'teacher_exam_subject' | 'teacher_exam_upload' | 'assignment_quick_upload' | 'teacher_exercise_photo', required
      - `context_id` string, nullable
      - `subcontext_id` string, nullable
      - `image_urls` string[]
      - `transcriptions` string[]
      - `figure_ids` string[]
      - `tableaux` TableauPayload[]
        - `version` integer
        - `columns` TableauColumn[], required
          - `left_endpoint` string, nullable
          - `right_endpoint` string, nullable
          - `separator_value` string, nullable
          - `label` string, nullable
        - `rows` TableauRow[], required
          - `id` string, required
          - `name` string, required
          - `line_type` 'signes' | 'variations'
        - `cells` object
        - `variable_name` string
    - TranscriptionCorrectionContext
      - `source` 'self_practice' | 'teacher_assignment' | 'homework_helper', required
      - `assignment_id` string, nullable
      - `context_type` 'exercise_session', required
      - `context_id` string, nullable
      - `subcontext_id` string, nullable
      - `block_id` string, nullable
      - `original_transcription` string, nullable
      - `suggested_transcription` string, nullable
      - `suggestion_types` string[]
    - CorrectionContext
      - `session_id` string, required
      - `exercise_id` string, required
      - `assignment_id` string, nullable
      - `source` 'self_practice' | 'teacher_assignment' | 'homework_helper', required
      - `submission_attempt_index` integer, required
      - `correctness` string, required
      - `feedback` string, nullable
      - `solution_blocks` object[]
    - ChatRedesignContext
      - `role` string, nullable
      - `page` string, nullable
    - ChatMessageSatisfactionContext
      - `chat_id` string, nullable
      - `assistant_message_id` string, nullable
      - `assistant_message_type` string, nullable
      - `assistant_message_content` string, nullable
      - `previous_user_message_id` string, nullable
      - `previous_user_message_type` string, nullable
      - `previous_user_message_content` string, nullable
      - `session_id` string, nullable
      - `exercise_id` string, nullable
      - `course_id` string, nullable
      - `cpge_exercise_id` string, nullable
      - `course_route_kind` 'my_course' | 'assigned_course', nullable
    - FigureGenerationContext
      - `figure_id` string, nullable
      - `surface` string, nullable
    - AssignmentContext
    - StudentDmResultsV25Context
      - `assignment_id` string, nullable
      - `session_id` string, nullable
    - StudentAnswerSubmissionV25Context
      - `session_id` string, required
      - `exercise_id` string, required
      - `assignment_id` string, nullable
      - `submission_attempt_index` integer, nullable
    - TeacherDmResultsV25Context
      - `assignment_id` string, required
      - `total_students` integer, required
      - `submitted_students` integer, required
    - StudentPracticePickerV1Context
      - `source` 'recommended_session' | 'annale_sujet' | 'excellence_sujet' | 'manual_picker', nullable
      - `session_id` string, nullable
    - TeacherPhysicsLibraryV1Context
      - `surface` 'teacher_assignment' | 'teacher_exam' | 'teacher_exercise_library' | 'teacher_exercise_detail', required
      - `action` 'confirmed' | 'dismissed', required
      - `selection_count` integer, required
    - object

## Response `200`

Successful Response

- CSATFeedbackResponse
  - `feedback_id` 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/c407f3b5a05b/schema)
