cURL
curl -X POST "https://app.cotool.ai/api/chats/:chatId/feedback" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"agentId":"string","label":"up","chatEventId":"string","comment":"string"}'
Records a thumbs up/down for a chat if the user has access to it.
API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here
Bearer your_api_key_here
up
down
1000
Successful response - no content
Was this page helpful?