Skip to main content
POST
Send user feedback

Authorizations

Authorization
string
header
required

The Authorization header is required to authenticate API requests. It should contain a bearer token obtained through the IrisAgent portal.

Headers

Chat-Identifier
string<uuid>

The Chat-Identifier is an optional header used to track the conversation session. If not provided, a new chat session will automatically be created. While not required for single request/response interactions, it is necessary for maintaining continuity in ongoing conversations.

Body

application/json
id
string
required

Unique id of the record for whom feedback is being provided.

feedback
enum<string>
required

Feedback on the AI response. It should be either "thumbsUp" or "thumbsDown".

Available options:
thumbsDown,
thumbsUp
feedbackDetails
string

Optional qualitative feedback.

Response

Feedback submitted successfully

result
enum<string>
required
Available options:
success