Create Evaluator Result

View as Markdown

Path parameters

workspacestringRequired

Request

This endpoint expects an object.
span_idstringRequired

Target span id. Not validated against existing spans (loose target policy).

session_idstringRequired

Session id the target span belongs to. Denormalized so session-scoped reads stay fast.

namestringRequired

Evaluator / metric identity (e.g. ‘faithfulness/v1’).

data_typeenumRequired

Discriminator for which of value / string_value carries the payload.

valuedoubleOptional

Numeric value. Required when data_type is NUMERIC or BOOLEAN (0|1).

string_valuestringOptional

String value. Required when data_type is CATEGORICAL or TEXT.

commentstringOptional

Free-text rationale or explanation.

Response

Successful Response
evaluator_result_idstring
span_idstring
session_idstring
workspacestring
namestring
data_typeenum
created_atdatetime
ingested_atdatetime
valuedouble
string_valuestring
commentstring
created_bystring

Errors

422
Unprocessable Entity Error