ProjectTags

Create project tag

Changed on

Create a new project tag. If there is an existing project tag in the project with the same name as the one specified in the request, will return the existing project tag unmodified

post/v1/project_tag

Request

  • Base URL
    https://api.braintrust.dev
  • Auth
    • HTTP bearer
    • or none

Request body

project_idstring uuid required

Unique identifier for the project that the project tag belongs under

namestring required

Name of the project tag

descriptionstring nullable

Textual description of the project tag

colorstring nullable

Color of the tag for the UI

Response

Returns the new project tag object

idstring uuid required

Unique identifier for the project tag

project_idstring uuid required

Unique identifier for the project that the project tag belongs under

user_idstring uuid required
createdstring date-time nullable

Date of project tag creation

namestring required

Name of the project tag

descriptionstring nullable

Textual description of the project tag

colorstring nullable

Color of the tag for the UI

positionstring nullable

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

Changes