ℹ️ These docs are for the free version of Galileo. Documentation for current customers can be found here.
curl --request PUT \
--url https://api.galileo.ai/v2/projects/{project_id}/annotation/templates/{template_id}/traces/{trace_id}/rating \
--header 'Content-Type: application/json' \
--header 'Galileo-API-Key: <api-key>' \
--data '{
"explanation": "<string>",
"rating": {
"annotation_type": "like_dislike",
"value": true
}
}'
{
"explanation": "<string>",
"rating": {
"annotation_type": "like_dislike",
"value": true
},
"created_at": "2023-11-07T05:31:56Z",
"created_by": "<string>"
}
curl --request PUT \
--url https://api.galileo.ai/v2/projects/{project_id}/annotation/templates/{template_id}/traces/{trace_id}/rating \
--header 'Content-Type: application/json' \
--header 'Galileo-API-Key: <api-key>' \
--data '{
"explanation": "<string>",
"rating": {
"annotation_type": "like_dislike",
"value": true
}
}'
{
"explanation": "<string>",
"rating": {
"annotation_type": "like_dislike",
"value": true
},
"created_at": "2023-11-07T05:31:56Z",
"created_by": "<string>"
}
Successful Response
The response is of type object
.
Was this page helpful?