Skip to main content
PUT
Create or replace project_tag

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.

Body

application/json

Any desired information about the new project_tag object

project_id
string<uuid>
required

Unique identifier for the project that the project tag belongs under

name
string
required

Name of the project tag

description
string | null

Textual description of the project tag

color
string | null

Color of the tag for the UI

Response

Returns the new project_tag object

A project tag is a user-configured tag for tracking and filtering your experiments, logs, and other data

id
string<uuid>
required

Unique identifier for the project tag

project_id
string<uuid>
required

Unique identifier for the project that the project tag belongs under

user_id
string<uuid>
required
name
string
required

Name of the project tag

created
string<date-time> | null

Date of project tag creation

description
string | null

Textual description of the project tag

color
string | null

Color of the tag for the UI

position
string | null

An optional LexoRank-based string that sets the sort position for the tag in the UI