Skip to main content
POST
Submit a human evaluation or annotation score

Authorizations

Authorization
string
header
required

API key authorization. Pass your API key in the Authorization header as a Bearer token. Both new (gsk_*) and legacy (gsk-) API keys are accepted, e.g. Authorization: Bearer gsk_... or Authorization: Bearer gsk-....

Path Parameters

id
string
required

Evaluation ID

Body

application/json
score
number
required

The evaluation score (0-1)

Required range: 0 <= x <= 1
Example:

0.95

reason
string

Optional reason for the score

Example:

"Evaluation reason"

Response

Evaluation submitted successfully

id
string
required
Example:

"eval_123"

metricId
string
required
Example:

"metric_123"

sessionId
string
required
Example:

"session_123"

userId
string | null
required
Example:

"user_123"

status
enum<string>
required
Available options:
PENDING,
PENDING_HUMAN,
SUCCESS,
FAILED,
SKIPPED,
CANCELLED
Example:

"SUCCESS"

inferenceResultId
string | null
required
Example:

"ir_123"

score
number | null
required
Example:

0.95

reason
string | null
required
Example:

"High quality response"

error
string | null
required
canRetry
boolean | null
required
Example:

false

creditsUsed
integer | null
required
Example:

1

conversationSimulatorVersion
string | null
required
Example:

"1.0.0"

humanEvaluatorId
string | null
required

User ID of the human evaluator

humanEvaluatorStartedAt
string<date-time> | null
required
humanScore
number | null
required

Human-provided annotation score

humanReason
string | null
required

Human-provided annotation reason

humanEvaluatorFinishedAt
string<date-time> | null
required

Timestamp when human evaluation was submitted

failedTurns
string[]
required

Conversation turns that failed

monitorId
string | null
required

ID of the monitor that dispatched this evaluation

monitorSettledAtTurn
integer | null
required

Session turn count when the monitor scored it

monitorSamplingPercentage
number | null
required

Sampling percentage in effect when the monitor scored this session

deletedAt
string<date-time> | null
required
evaluatedAt
string<date-time> | null
required
metricLegacyAt
string<date-time> | null
required
metricDisabledAt
string<date-time> | null
required
testCaseLegacyAt
string<date-time> | null
required
createdAt
string<date-time>