---
title: "Apply Bulk Feedback V2"
method: POST
path: "/v2/projects/{project_id}/feedback/ratings"
tags: ["feedback"]
deprecated: true
---

# Apply Bulk Feedback V2

`POST /v2/projects/{project_id}/feedback/ratings`

## Request

- Base URL: `https://api.galileo.ai`
- URL: `https://api.galileo.ai/v2/projects/{project_id}/feedback/ratings`
- Auth: one of:
  - API key in header `Galileo-API-Key`
  - API key in header `Splunk-AO-API-Key`
  - OAuth 2
    - Password
    - Token URL: `https://api.galileo.ai/login`
  - HTTP basic

> **Deprecated.**

## Path parameters

- `project_id` string, uuid4, required

## Request body

- BulkFeedbackRequest
  - `operations` union[], required
    - union
      - BulkFeedbackRatingCreate
        - `explanation` string, nullable
        - `rating` union, required
          - LibsPythonSchemasLogRecordsFeedbackLikeDislikeRating
            - `feedback_type` 'like_dislike'
            - `value` boolean, required
          - LibsPythonSchemasLogRecordsFeedbackStarRating
            - `feedback_type` 'star'
            - `value` integer, required
          - LibsPythonSchemasLogRecordsFeedbackScoreRating
            - `feedback_type` 'score'
            - `value` integer, required
          - LibsPythonSchemasLogRecordsFeedbackTagsRating
            - `feedback_type` 'tags'
            - `value` string[], required
          - LibsPythonSchemasLogRecordsFeedbackTextRating
            - `feedback_type` 'text'
            - `value` string, required
          - LibsPythonSchemasLogRecordsFeedbackChoiceRating
            - `feedback_type` 'choice'
            - `value` string, required
          - LibsPythonSchemasLogRecordsFeedbackTreeChoiceRating
            - `feedback_type` 'tree_choice'
            - `value` string, required
        - `feedback_template_id` string, uuid4, required
        - `operation_type` 'create'
      - BulkFeedbackRatingDelete
        - `feedback_template_id` string, uuid4, required
        - `operation_type` 'delete'
  - `selector` union, required
    - IndexSelector: Choose specific indexes to apply the bulk operation to.
      - `selector_type` 'indexes'
      - `indexes` integer[], required
    - TraceSelector: Choose specific traces to apply the bulk operation to.
      - `selector_type` 'traces'
      - `traces` string[], required

## Response `200`

Successful Response

- BulkFeedbackRatingStatus[]
  - `selector` 'indexes' | 'traces'
  - `index` integer, nullable
  - `trace` string, uuid4, nullable
  - `operation` 'create' | 'delete', required: Operation type for bulk feedback rating operations.
  - `success` boolean, required
  - `message` string, nullable, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/galileo/apis/galileo-api.md) - [All operations](https://skmtc.dev/galileo/apis/galileo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/galileo/apis/galileo-api/revisions/441b96da8c30?raw)
