---
title: "Feedback for project logs events"
method: POST
path: "/v1/project_logs/{project_id}/feedback"
tags: ["Logs"]
---

# Feedback for project logs events

`POST /v1/project_logs/{project_id}/feedback`

Log feedback for a set of project logs events

## Path parameters

- `project_id` string, uuid, required — Project id

## Request body

- FeedbackProjectLogsEventRequest
  - `feedback` FeedbackProjectLogsItem[], required — A list of project logs feedback items
    - `id` string, required — The id of the project logs event to log feedback for. This is the row `id` returned by `POST /v1/project_logs/{project_id}/insert`
    - `scores` object, nullable — A dictionary of numeric values (between 0 and 1) to log. These scores will be merged into the existing scores for the project logs event
    - `expected` unknown
    - `comment` string, nullable — An optional comment string to log about the project logs event
    - `metadata` object, nullable — A dictionary with additional data about the feedback. If you have a `user_id`, you can log it here and access it in the Braintrust UI.
    - `source` 'app' | 'api' | 'external' | 'null', nullable — The source of the feedback. Must be one of "external" (default), "app", or "api"

## Response `200`

Returns a success status

- FeedbackResponseSchema
  - `status` 'success', required

## Other responses

- `400` — The request was unacceptable, often due to missing a required parameter
- `401` — No valid API key provided
- `403` — The API key doesn’t have permissions to perform the request
- `429` — Too many requests hit the API too quickly. We recommend an exponential backoff of your requests
- `500` — Something went wrong on Braintrust's end. (These are rare.)

---

[API](https://skmtc.net/braintrustdata/apis/braintrust-api.md) · [All operations](https://skmtc.net/braintrustdata/apis/braintrust-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/braintrustdata/braintrust-api/revisions/9d216c8243fe/schema)
