Optional
commentOptional
configReference a score config on a score. The unique langfuse identifier of a score config. When passing this field, the dataType and stringValue fields are automatically populated.
Optional
dataThe data type of the score. When passing a configId this field is inferred. Otherwise, this field must be passed or will default to numeric.
Optional
idOptional
observationThe value of the score. Must be passed as string for categorical scores, and numeric for boolean and numeric scores. Boolean score values must equal either 1 or 0 (true or false)
CreateScoreRequest