Update Scorecard

Authentication

AuthorizationBearer

Retrieve your API Key from Dashboard.

Path parameters

idstringRequired

Request

This endpoint expects an object.
namestringOptional<=80 characters
This is the name of the scorecard. It is only for user reference and will not be used for any evaluation.
descriptionstringOptional<=500 characters
This is the description of the scorecard. It is only for user reference and will not be used for any evaluation.
metricslist of objectsOptional
These are the metrics that will be used to evaluate the scorecard. Each metric will have a set of conditions and points that will be used to generate the score.
assistantIdslist of stringsOptional
These are the assistant IDs that this scorecard is linked to. When linked to assistants, this scorecard will be available for evaluation during those assistants' calls.

Response

idstring
This is the unique identifier for the scorecard.
orgIdstring
This is the unique identifier for the org that this scorecard belongs to.
createdAtstringformat: "date-time"

This is the ISO 8601 date-time string of when the scorecard was created.

updatedAtstringformat: "date-time"

This is the ISO 8601 date-time string of when the scorecard was last updated.

metricslist of objects
These are the metrics that will be used to evaluate the scorecard. Each metric will have a set of conditions and points that will be used to generate the score.
namestring or null<=80 characters
This is the name of the scorecard. It is only for user reference and will not be used for any evaluation.
descriptionstring or null<=500 characters
This is the description of the scorecard. It is only for user reference and will not be used for any evaluation.
assistantIdslist of strings or null
These are the assistant IDs that this scorecard is linked to. When linked to assistants, this scorecard will be available for evaluation during those assistants' calls.