ProjectScores

Create project score

Changed on

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

post/v1/project_score

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 score belongs under

namestring required

Name of the project score

descriptionstring nullable

Textual description of the project score

score_type'slider' | 'categorical' | 'weighted' | 'minimum' | 'maximum' | 'online' | 'free-form' required

The type of the configured score

Response

Returns the new project score object

idstring uuid required

Unique identifier for the project score

project_idstring uuid required

Unique identifier for the project that the project score belongs under

user_idstring uuid required
createdstring date-time nullable

Date of project score creation

namestring required

Name of the project score

descriptionstring nullable

Textual description of the project score

score_type'slider' | 'categorical' | 'weighted' | 'minimum' | 'maximum' | 'online' | 'free-form' required

The type of the configured score

positionstring nullable

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

Changes

    • info

      added the new optional request property //

    • info

      added the optional property // to the response with the status

    • breaking

      the request property became not nullable

    • breaking

      the request property / became not nullable

    • breaking

      the request property /// became not nullable

    • breaking

      the request property /// became not nullable

    • breaking

      the request property /// became not nullable

    • breaking

      the request property / became not nullable

    • breaking

      the request property / became not nullable

    • breaking

      the request property / became not nullable

    • breaking

      the request property / became not nullable

    • breaking

      the request property // became not nullable

    • breaking

      the request property // became not nullable

    • breaking

      the request property // became not nullable

    • breaking

      the request property // became not nullable

    • breaking

      the request property / became not nullable

    • breaking

      the request property // became not nullable

    • breaking

      the request property // became not nullable

    • breaking

      the request property became not nullable

    • breaking

      removed the enum value undefined of the request property /////////

    • breaking

      removed the enum value undefined of the request property //////

    • info

      removed the undefined enum value from the ///////// response property for the response status

    • info

      removed the undefined enum value from the ////// response property for the response status