Skip to main content
POST
/
v1
/
project_logs
/
{project_id}
/
feedback
Feedback for project logs events
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": "<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

project_id
string<uuid>
required

Project id

Body

application/json

An array of feedback objects

feedback
object[]
required

A list of project logs feedback items

Response

Returns a success status

status
enum<string>
required
Available options:
success