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

# Apply Bulk Feedback V2

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

## Request

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

> **Deprecated.**

Record multiple v2 feedback ratings across traces in one request.

Args:
    request: The set of rating operations (create or delete) to apply, and which traces.
    project: The project the traces belong to, resolved from the URL.
    ctx: Async request context.

Returns:
    One status per requested trace/operation pair, indicating success or the reason for failure.

## 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

## Changes

> 35 revisions in range; 2 not diffed.

- **2026-07-26** `05003e7835a2`: 1 info
  - the endpoint scheme security `ClassicAPIKeyHeader` was added to the API

[Operation history](https://skmtc.dev/galileo/apis/galileo-api-server/changes/public/v2/projects/:project_id/feedback/ratings/post.md)

---

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