v4

latestOpenAPI 3.1.02026-08-019681,1012.0 MB
assistant

Record Message Feedback

Record feedback on an assistant message.

Feedback can be positive or negative and optionally include a comment. Calling this endpoint again replaces any previous feedback on the same message. 404s if the message does not exist or was not created by the authenticated user.

post/assistant/messages/{message_id}/feedback

Path parameters

message_idstring uuid4 required

Request body

rating'positive' | 'negative' required

Positive or Negative rating for an assistant message.

commentstring nullable

Optional free-text comment.

Response

Successful Response

idstring uuid4 required
conversation_idstring uuid4 required
parent_idstring uuid4 nullable required
role'user' | 'assistant' required

Author of a conversation message.

user is sent by the human, assistant is generated by the Galileo Assistant runner.

modelstring nullable required
contextobject[] nullable required
contentstring nullable required
tool_callsobject[] nullable required
status'in_progress' | 'success' | 'failed' required

Runner-reported state of an assistant message turn.

content may be NULL while in_progress and after failed. On success, inspect finish_reason for why the turn ended.

finish_reason'stop' | 'interrupted' | 'max_tokens' required

Why an assistant turn ended.

feedbackobject nullable required
command_resultobject nullable
created_atstring date-time required
updated_atstring date-time required