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

Galileo-API-Key
string
header
required

Path Parameters

project_id
string
required

Body

application/json

Response

200
application/json
Successful Response

The response is of type object[].