v57

latestOpenAPI 3.1.0Proprietaryraw.githubusercontent.com2026-07-2161198428.4 KB
Omni AI

Submit Feedback

Submit feedback on a finalized assistant message.

Attaches 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.

post/v1/omni-ai/messages/{message_id}/feedback

Path parameters

message_idstring uuid required

Finalized assistant message to rate

Request body

account_idinteger required

Account ID for the request

commentstring

Optional feedback comment

metadataobject nullable

Optional metadata

scoreinteger required

Feedback score (-1, 0, +1 or 1-5)

Response

Feedback recorded

Example response

{
  "error": {
    "code": 400,
    "message": "Order quantity must be greater than zero"
  }
}