ℹ️ 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}/feedback/templates/{template_id}/traces/{trace_id}/rating \ --header 'Content-Type: application/json' \ --header 'Galileo-API-Key: <api-key>' \ --data '{ "explanation": "<string>", "rating": { "feedback_type": "like_dislike", "value": true } }'
{ "explanation": "<string>", "rating": { "feedback_type": "like_dislike", "value": true }, "created_at": "2023-11-07T05:31:56Z", "created_by": "<string>" }
Successful Response
The response is of type object.
object
Was this page helpful?