POST
/
api
/
v1
/
evals
/
reward

Authorizations

API-Key
string
headerrequired

API 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[]
required

List of conversation messages

evaluation_criteria
string
required

Criteria 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