Feedback updates added via API not displaying in UI

Last updated: February 6, 2026

This issue is applicable to customers matching these conditions

Plans: Any

Deployments: Any

Use case: Adding feedback to project logs with the API

Issue

While updating a project log with the v1/project_logs/{project_id}/feedback endpoint you notice updates have not appeared in log but instead have created a new log row.

Cause

The id used in the feedback object of the request payload needs to be the row id instead of the root span id.

Resolution

Step 1: Click the row in the Logs page to open the Trace view.

Step 2: Click the "Raw Span and Trace" data button in the top right of the trace view.

rawtracebutton.png

Step 3: In the "Find in trace data" search box type id: and copy the value.

Step 4: Use that value in your request like:

curl --request POST \
  --url https://api.braintrust.dev/v1/project_logs/{project_id}/feedback \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "feedback": [
    {
      "id": "<id-from-raw-span-and-trace>",
      "scores": {},
      "expected": "<unknown>",
      "comment": "<string>",
      "metadata": {},
      "source": "app",
      "tags": [
        "<string>"
      ]
    }
  ]
}
'