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

---

[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)
