Submits feedback for a specific conversation. Use this endpoint to collect user ratings and comments about the quality of AI responses. Feedback helps improve the service and can be used for quality monitoring.
Rating Options:
up: Positive feedback indicating a helpful responsedown: Negative feedback indicating an unsatisfactory responseOptional Fields:
message_id: Target specific message within the conversationcomment: Additional text feedback from the userThe unique identifier of the conversation to provide feedback for
The unique identifier of the conversation
"123e4567-e89b-12d3-a456-426614174000"
Feedback rating: 'up' for positive, 'down' for negative
up, down "up"
Organization ID (optional, inferred from API key if not provided)
"org_001"
User ID submitting the feedback (optional)
"user_123"
User email (optional)
User name (optional)
"John Doe"
Specific message ID to provide feedback on (optional)
"msg_abc123"
Additional text comment from the user (optional)
"Very helpful and accurate response!"
Feedback submitted successfully
Indicates whether the feedback was successfully submitted
true