latestOpenAPI 3.0.32026-08-227451,2751.8 MB

d0fc0114da66

Prompt

Add user feedback for a GenAi request prompt

post/prompts/feedback

Request body

prompt_idstring

The id of the prompt request

session_idstring

Session id for a series of related prompts or traces

ratingnumber float

The rating normalized to a 0 to 1 scale

rating_rawstring

The raw rating e.g. thumbs_up

timestampinteger

The time the feedback was received in epoch millis

user_idstring

The id of the user asking for the prompt

workspace_idstring required

The workspace id

commentstring

Optional user comment about the prompt or model response

Response

Prompt feedback accepted