Prompt

Add user feedback for a GenAi request prompt

post/prompts/feedback

Request

  • Base URL: https://api.mabl.com
  • URL: https://api.mabl.com/prompts/feedback
  • Auth: one of:
    • HTTP basic
    • API key in header Authorization

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

Changes

No recorded changes to this operation across all 38 revisions of this API.