oneAI icon

oneAI

Interact with the oneAI API

Chat → Rate Message

AI-generated

Summary

Records a positive or negative rating for an assistant message in a chat.

Inputs

  • Chat ID (required) — ID of the chat containing the message. The AI resource’s Create Response operation returns it as chatId.
  • Message ID (required) — ID of the assistant message to rate. Create Response returns it as messageId; Chat Get includes message IDs in its messages list. Only assistant messages can be rated.
  • Rating (required) — Choose Positive (thumbs up) or Negative (thumbs down).

Output shape

A single response from the rating request.

The source pack exposes only the operation’s function signature, so the exact response fields are not shown.

Links

Discussion