---
title: "Add trace feedback score"
method: PUT
path: "/v1/private/traces/{id}/feedback-scores"
tags: ["Traces"]
---

# Add trace feedback score

`PUT /v1/private/traces/{id}/feedback-scores`

Add trace feedback score

## Path parameters

- `id` string, uuid, required

## Request body

- FeedbackScore
  - `name` string, required
  - `category_name` string
  - `value` number, required
  - `reason` string
  - `source` 'ui' | 'sdk' | 'online_scoring', required
  - `source_queue_id` string, uuid
  - `created_at` string, date-time
  - `last_updated_at` string, date-time
  - `created_by` string
  - `last_updated_by` string
  - `value_by_author` object

## Response `204`

No Content

## Changes

- **2026-06-30** `20a1a33446d1` — 2 info
  - added the new optional request property `value_by_author/additionalProperties/author`
  - added the new optional request property `value_by_author/additionalProperties/source_queue_id`
- **2026-06-19** `580e3bc69e8a` — 1 info
  - added the new optional request property `source_queue_id`
- **2026-05-04** `d606e84c75e4` — 3 warning
  - removed the request property `source_queue_id`
  - removed the request property `value_by_author/additionalProperties/author`
  - removed the request property `value_by_author/additionalProperties/source_queue_id`

[Change history](https://skmtc.dev/comet-ml/apis/opik-rest-api/changes/v1/private/traces/:id/feedback-scores/put.md)

---

[API](https://skmtc.dev/comet-ml/apis/opik-rest-api.md) · [All operations](https://skmtc.dev/comet-ml/apis/opik-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/comet-ml/opik-rest-api/revisions/a835604ec403/schema)
