🚀 Simplify your work by integrating Haufe CoPilot Connect via API or MCP
Skip to Content
Feedback

Create or update feedback

Adds or overwrites user feedback on an assistant message. Positive feedback must not include a reason or comment.

POST/v1/threads/{thread_id}/messages/{message_id}/feedback

Authorization

api-key<token>

In: header

Path Parameters

thread_id*Thread Id
Formatuuid
message_id*Message Id
Formatuuid

Request Body

application/json

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/threads/497f6eca-6276-4993-bfeb-53cbbbba6f08/messages/497f6eca-6276-4993-bfeb-53cbbbba6f08/feedback" \  -H "Content-Type: application/json" \  -d '{    "feedback": "positive"  }'
{  "created_at": "2025-03-15T10:00:00.000000Z",  "feedback": "positive",  "message_id": "5e6f7081-9012-def0-1234-556677889900"}