Evaluate traces
NOT YET IMPLEMENTED
POST
/v1/projects/{projectId}/evaluate/tracesAuthorization
AuthorizationPersonal API key · headerrequiredYour personal API key from Settings > Personal API Keys, sent as Bearer <key>.
X-Organization-IdOrganization ID · headerrequiredThe organization to act in. Copy it with Copy organization ID in the organization menu or the settings sidebar.
Path parameters
projectIdstringrequiredRequest body
requiredapplication/jsonidstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullproject_idstringrequiredeval_namestringrequiredmodelstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcreated_atstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulluser_idstringscorersany[] | nullShow propertiesHide properties
Any of:
any[]
Array of
anyanynull
nullcustom_scorersBaseScorer[]requireddefault: []
Show propertiesHide properties
Array of
BaseScorerscore_typestringrequirednamestringrequiredclass_namestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullscorenumber | nullShow propertiesHide properties
Any of:
number
numbernull
nullminimum_score_rangenumberdefault: 0
maximum_score_rangenumberdefault: 1
score_breakdownobject | nullShow propertiesHide properties
Any of:
object
objectnull
nullreasonstring | objectShow propertiesHide properties
Any of:
string
stringobject
objectsuccessboolean | nullShow propertiesHide properties
Any of:
boolean
booleannull
nullmodelstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullerrorstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulladditional_metadataobject | nullShow propertiesHide properties
Any of:
object
objectnull
nulluserstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullserver_hostedboolean | nullShow propertiesHide properties
Any of:
boolean
booleannull
nullusing_native_modelboolean | nullShow propertiesHide properties
Any of:
boolean
booleannull
nullrequired_paramsstring[] | nullShow propertiesHide properties
Any of:
string[]
Array of
stringstringnull
nullstrict_modeboolean | nullShow propertiesHide properties
Any of:
boolean
booleannull
nulljudgment_scorersScorerConfig[]requireddefault: []
Show propertiesHide properties
Array of
ScorerConfigscore_typestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullnamestringrequiredmodelstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullrequired_paramsstring[] | nullShow propertiesHide properties
Any of:
string[]
Array of
stringstringnull
nullkwargsobject | nullShow propertiesHide properties
Any of:
object
objectnull
nullresult_typestringAllowed:
numericbinarycategoricaltrace_and_span_idsany[][]requiredmin items 1
is_offlinebooleanrequireddefault: false
is_behaviorbooleanrequireddefault: false
Responses
501
Response for status 501
errorstringrequiredmessagestringcodestringdetailsstring[]