ℹ️ These docs are for the v2.0 version of Galileo. Documentation for v1.0 version can be found here.
cURL
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 ' { "rating": { "value": true, "annotation_type": "like_dislike" }, "explanation": "<string>" } '
{ "rating": { "value": true, "annotation_type": "like_dislike" }, "created_at": "2023-11-07T05:31:56Z", "created_by": "<string>", "explanation": "<string>" }
Show child attributes
"like_dislike"
1
Successful Response
Was this page helpful?