Evals
Reward Proxy
Calculate reward score for a conversation based on evaluation criteria
POST
/
api
/
v1
/
evals
/
reward
Authorizations
API-Key
string
headerrequiredAPI Key required to authenticate requests. Get one at https://platform.composo.ai.
Headers
Authorization
string | null
API-Key
string | null
Body
application/json
Request model for the reward endpoint.
messages
object[]
requiredList of conversation messages
evaluation_criteria
string
requiredCriteria used to evaluate the conversation
Response
200 - application/json
Response model for evaluation scores.
score
number | null
Evaluation score between 0 and 1; can be None if score is NaN