v2
chat
chat
Submit message feedback
Changed onRate a reply in one of the caller's chats.
Saves the rating, one per reply and score name so rating again overwrites it, and scores it in Langfuse on the trace of the turn that wrote the reply, or on the chat's Langfuse session when that trace is not known. Langfuse being down does not fail the request; the response says where the score went.
post/api/chat/sessions/{session_id}/feedback
Request
- The document declares no server URL.
- Auth: HTTP bearer
Path parameters
session_idstring required
Request body
Response
Successful Response
Changes
- ○
endpoint added
- ○