Skip to main content
POST
/
v1
/
experiment
/
{experiment_id}
/
feedback
Feedback for experiment events
curl --request POST \
  --url https://api.braintrust.dev/v1/experiment/{experiment_id}/feedback \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "feedback": [
    {
      "id": "<string>",
      "scores": {},
      "expected": "<any>",
      "comment": "<string>",
      "metadata": {},
      "source": "app",
      "tags": [
        "<string>"
      ]
    }
  ]
}'
{
  "status": "success"
}

Authorizations

Authorization
string
header
required

Most Braintrust endpoints are authenticated by providing your API key as a header Authorization: Bearer [api_key] to your HTTP request. You can create an API key in the Braintrust organization settings page.

Path Parameters

experiment_id
string<uuid>
required

Experiment id

Body

application/json

An array of feedback objects

feedback
object[]
required

A list of experiment feedback items

Response

Returns a success status

status
enum<string>
required
Available options:
success