Rate one message in a session good or bad, with an optional comment. A null rating clears your rating.
PUT
/v1/sessions/{session_id}/messages/{message_id}/feedback
const url = 'https://app.everruns.com/api/v1/sessions/example/messages/example/feedback';const options = {method: 'PUT'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://app.everruns.com/api/v1/sessions/example/messages/example/feedbackParameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”session_id
required
string
Prefixed public identifier
message_id
required
string
Prefixed public identifier
Responses
Section titled “ Responses ”Success
Media typeapplication/json
The caller’s rating of one message.
object
Example
{ "message_id": "msg_01933b5a00007000800000000000001", "rating": "good"}Session or message not found