---
title: "Submit Feedback"
method: POST
path: "/v1/omni-ai/messages/{message_id}/feedback"
tags: ["Omni AI"]
---

# Submit Feedback

`POST /v1/omni-ai/messages/{message_id}/feedback`

## Request

- Base URL: `https://api.clearstreet.com`
- URL: `https://api.clearstreet.com/v1/omni-ai/messages/{message_id}/feedback`
- Auth: HTTP bearer

Attach a score and optional comment to a finalized assistant message.
Feedback is only valid for messages with role `ASSISTANT` that have reached
a terminal outcome.

The current thread account governs access even when the message predates
its account link.

## Path parameters

- `message_id` string, uuid, required

## Request body

- CreateFeedbackRequest
  - `account_id` integer, nullable: Optional selection. Feedback always uses the thread's linked account.
  - `comment` string: Optional feedback comment
  - `metadata` object, nullable: Optional metadata
  - `score` integer, required: Feedback score (-1, 0, +1 or 1-5).

## Response `200`

Feedback recorded

- object
  - `error` ApiError: A direct mapping of tonic::Status, for use in HTTP responses.
    - `code` integer, required: The error code is used to identify the nature of the error. It corresponds to an HTTP status code.
    - `details` object[]
    - `message` string, required: A human-readable message providing more details about the error.
  - `metadata` ResponseMetadata, required: Metadata for the response. This will always contain a request ID which can be used to identify the request to Clear Street for tracing, and optionally may include pagination data.
    - `next_page_token` string, byte, nullable: Base64URL-encoded pagination token
    - `page_number` integer, nullable: Pagination. Included if this was a GET (list) response
    - `previous_page_token` string, byte, nullable: Base64URL-encoded pagination token
    - `request_id` string, required: A unique ID for this request, generated upon ingestion of the request.
    - `total_items` integer, nullable: Total number of items available (not just in this page).
    - `total_pages` integer, nullable: Total number of pages available.
  - `data` CreateFeedbackResponse, required
    - `created_at` string, required
    - `feedback_id` string, uuid, nullable: When a null/undefined value is observed, it indicates that there is no available data.

## Other responses

- `400`: Invalid request or supplied account ID
- `401`: Authentication required
- `403`: Caller lacks linked-account access
- `404`: Resource not found or not owned by caller
- `409`: Thread scope changed or conflicting retry; refresh before retrying
- `422`: Malformed request payload
- `500`: Internal server error

## Changes

- **2026-10-16** `1bd9eddeffc8`: 8 breaking, 5 warning, 13 info
  - removed the required property `code` from the response with the `400` status
  - removed the required property `code` from the response with the `403` status
  - removed the required property `code` from the response with the `422` status
  - removed the required property `code` from the response with the `500` status
  - …22 more

[Operation history](https://skmtc.dev/clear-street/apis/clear-street-trading-api/changes/v1/omni-ai/messages/:message_id/feedback/post.md)

---

[API](https://skmtc.dev/clear-street/apis/clear-street-trading-api.md) - [All operations](https://skmtc.dev/clear-street/apis/clear-street-trading-api/llms.txt) - [OpenAPI document](https://skmtc.dev/clear-street/apis/clear-street-trading-api/revisions/52e77ea7d731?raw)
