cURL
curl --request POST \ --url https://agent-studio.thena.ai/api/v1/feedback/chat \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "message_id": "<string>", "source": "<string>", "feedback_details": { "feedback_type": "positive", "issue_type": "<string>", "comment": "<string>", "context_id": "<string>" } } '
{ "portkey_trace_id": "<string>", "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "human_message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "ai_message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "flow_execution_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "feedback_type": "positive", "issue_type": "<string>", "comment": "<string>", "portkey_synced": false, "portkey_sync_timestamp": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
Create a new feedback entry for a chat message.
Model for creating feedback.
The source of the feedback, e.g., 'chat' or 'flow'
Model for updating chat message feedback.
Show child attributes
Successful Response
Model for chat message feedback.
Enum for feedback types.
positive
negative