---
title: "Batch feedback scoring for spans"
method: PUT
path: "/v1/private/spans/feedback-scores"
tags: ["Spans"]
---

# Batch feedback scoring for spans

`PUT /v1/private/spans/feedback-scores`

Batch feedback scoring for spans

## Request body

- FeedbackScoreBatch
  - `scores` FeedbackScoreBatchItem[], required
    - `project_name` string — If null, the default project is used
    - `project_id` string, uuid
    - `name` string, required
    - `category_name` string
    - `value` number, required
    - `reason` string
    - `source` 'ui' | 'sdk' | 'online_scoring', required
    - `author` string
    - `source_queue_id` string, uuid
    - `id` string, uuid, required

## Response `204`

No Content

---

[API](https://skmtc.net/comet-ml/apis/opik-rest-api.md) · [All operations](https://skmtc.net/comet-ml/apis/opik-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/comet-ml/opik-rest-api/versions/4ed2fbc97cc3/schema)
