---
title: "Feedback"
method: POST
path: "/v1/session/feedback"
---

# Feedback

`POST /v1/session/feedback`

Record user feedback

## Request body

- Feedback — Represents a feedback to the session.
  - `session_id` string, required — The session ID this feedback should be attached to.
  - `group_id` string — The message group ID this feedback should be attached to.
  - `type` 'user_feedback' | 'bug_report', required — Type of feedback that can be sent to the system.
  - `score` integer, required — The score of the feedback.
  - `comment` string, required — The comment of the feedback.

## Response `200`

Successful Response

- OpResult
  - `ok` boolean, required — True if the operation was successful.
  - `status_code` 200 | 201 | 202 | 204 | 206 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 400 | 401 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 422 | 425 | 426 | 428 | 429 | 429 | 431 | 451 | 500 | 500 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511, required
  - `status_message` string — Describe why the operation failed.
  - `data` object, nullable — Optional field for additional information.
  - `mime_type` 'text/plain' | 'text/markdown' | 'text/serialized-json' | 'application/octet-stream' | 'image/jpeg' | 'image/png' | 'image/tiff' | 'image/gif' | 'image/svg+xml' | 'image/webp' | 'image/avif' | 'audio/wav' | 'audio/mpeg' | 'audio/ogg' | 'video/webm' | 'video/mp4' | 'text/c' | 'text/c++' | 'text/java' | 'text/rust' | 'text/go' | 'text/python' | 'text/php' | 'text/perl' | 'text/ruby' | 'text/swift' | 'text/kotlin' | 'text/scala' | 'text/javascript' | 'text/typescript' | 'text/html' | 'text/css' | 'text/csv' | 'text/xml' | 'text/yaml' | 'text/toml' | 'text/sql' | 'application/json' | 'application/jsonl' | 'application/pdf' | 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' | 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' | 'application/vnd.openxmlformats-officedocument.presentationml.presentation' | 'application/msword' | 'application/vnd.ms-excel' | 'application/vnd.ms-powerpoint' | 'application/rtf' | 'application/vnd.oasis.opendocument.text' | 'sec-gemini/graph' | 'sec-gemini/timeline' | 'sec-gemini/table' | 'sec-gemini/image' | 'sec-gemini/code' | 'sec-gemini/markdown' | 'sec-gemini/json' | 'sec-gemini/html' | 'sec-gemini/canvas' — Completion type
  - `latency` number, nullable — The time taken to complete the request in seconds.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/google/apis/sec-gemini.md) · [All operations](https://skmtc.net/google/apis/sec-gemini/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/sec-gemini/versions/cc76ee2bed1c/schema)
