Skip to main content
POST
/
sessions
/
{session_id}
/
feedback
Set session feedback
curl --request POST \
  --url https://api.trymaitai.ai/api/v1/sessions/{session_id}/feedback \
  --header 'Content-Type: application/json' \
  --header 'X-Maitai-Api-Key: <api-key>' \
  --data '
{
  "feedback_score": 5,
  "feedback_text": "Great conversation, resolved my issue."
}
'
{
  "data": {
    "message": "Feedback saved"
  }
}

Authorizations

X-Maitai-Api-Key
string
header
required

Your Maitai API key from the Portal.

Path Parameters

session_id
string
required

Body

application/json
feedback_score
integer
feedback_text
string

Response

200 - application/json

Set session feedback.

data
any