Skip to main content
Applies to:
  • Plan -
  • Deployment -
Summary Goal: Flag logs for review and assign them to specific users via the project logs API. Features: Project logs insert endpoint, metadata merge operations, review list management, and user assignments.

Configuration Steps

Step 1: Flag a log for review

Use the project logs insert endpoint with the review list metadata structure and merge operation.

Step 2: Assign a user to the flagged log

Add the user ID to the ~__bt_assignments array in the metadata field.

Step 3: Obtain user IDs

Retrieve user IDs from the Braintrust organization settings or users API endpoint before assignment.

Key Fields

  • ~__bt_review_lists: Contains review list configuration with status (PENDING, APPROVED, REJECTED)
  • ~__bt_assignments: Array of user IDs assigned to review the log
  • _is_merge: Must be true to update existing log entries
  • _merge_paths: Specifies which metadata fields to merge
Setting ~__bt_assignments alone is sufficient for assigned rows to be marked complete from the Review page. Setting the ~__bt_review_lists status to PENDING remains recommended so the rows also appear in status-based review filters such as Awaiting review.