curl --request POST \
--url https://api.galileo.ai/v2/projects/{project_id}/annotation/ratings \
--header 'Content-Type: application/json' \
--header 'Galileo-API-Key: <api-key>' \
--data '
{
"operations": [
{
"rating": {
"value": true,
"annotation_type": "like_dislike"
},
"annotation_template_id": "<string>",
"explanation": "<string>",
"operation_type": "create"
}
],
"selector": {
"traces": [
"<string>"
],
"selector_type": "traces"
}
}
'