feedback
Apply Bulk Feedback V2
API Reference
- Api reference
- Getting Started
- Schemas
protect
trace
log_stream
experiment
feedback
API Reference
feedback
Apply Bulk Feedback V2
POST
/
v2
/
projects
/
{project_id}
/
feedback
/
ratings
curl --request POST \
--url https://api.acme.rungalileo.io/v2/projects/{project_id}/feedback/ratings \
--header 'Content-Type: application/json' \
--header 'Galileo-API-Key: <api-key>' \
--data '{
"operations": [
{
"explanation": "<string>",
"rating": {
"feedback_type": "like_dislike",
"value": true
},
"feedback_template_id": "<string>",
"operation_type": "create"
}
],
"selector": {
"selector_type": "indexes",
"indexes": [
123
]
}
}'
[
{
"selector": "indexes",
"index": 123,
"trace": "<string>",
"operation": "create",
"success": true,
"message": "<string>"
}
]
Authorizations
Path Parameters
Body
application/json
Response
200
application/json
Successful Response
The response is of type object[]
.
Was this page helpful?
curl --request POST \
--url https://api.acme.rungalileo.io/v2/projects/{project_id}/feedback/ratings \
--header 'Content-Type: application/json' \
--header 'Galileo-API-Key: <api-key>' \
--data '{
"operations": [
{
"explanation": "<string>",
"rating": {
"feedback_type": "like_dislike",
"value": true
},
"feedback_template_id": "<string>",
"operation_type": "create"
}
],
"selector": {
"selector_type": "indexes",
"indexes": [
123
]
}
}'
[
{
"selector": "indexes",
"index": 123,
"trace": "<string>",
"operation": "create",
"success": true,
"message": "<string>"
}
]