HTTP API
RunFeedbackRequest
Request body for writing a run/message score.
Shape: object
| Property | Required | Type | Description | Rules |
|---|---|---|---|---|
name |
no | string |
The score’s stable, low-cardinality name. Left blank it becomes overall. |
— |
kind |
yes | RunScoreKind |
The format of the score. | — |
value |
no | number (double) |
0/1 for RunScoreKind.Binary, 1 to 5 for RunScoreKind.Stars, 0 to 100 for RunScoreKind.Numeric. Left out for RunScoreKind.Categorical, required otherwise. | pattern `^-?(?:0\ |
textValue |
no | string |
The categorical label. Required for RunScoreKind.Categorical and rejected for every other kind. | — |
messageId |
no | string |
The id of the scored message. If left blank, the score applies to the whole run. | — |
comment |
no | string |
Free-text comment. | — |