ℹ️ These docs are for the free version of Galileo. Documentation for current customers can be found here.
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": [
{
"explanation": "<string>",
"rating": {
"annotation_type": "like_dislike",
"value": true
},
"annotation_template_id": "<string>",
"operation_type": "create"
}
],
"selector": {
"selector_type": "traces",
"traces": [
"<string>"
]
}
}'
[
{
"selector": "traces",
"index": 123,
"trace": "<string>",
"operation": "create",
"success": true,
"message": "<string>"
}
]
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": [
{
"explanation": "<string>",
"rating": {
"annotation_type": "like_dislike",
"value": true
},
"annotation_template_id": "<string>",
"operation_type": "create"
}
],
"selector": {
"selector_type": "traces",
"traces": [
"<string>"
]
}
}'
[
{
"selector": "traces",
"index": 123,
"trace": "<string>",
"operation": "create",
"success": true,
"message": "<string>"
}
]
Successful Response
The response is of type BulkAnnotationRatingStatus · object[]
.
Was this page helpful?