POST
/
api
/
v1
/
evals
/
binary

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 binary evaluation of LLM outputs.

messages
object[]
required

List of conversation messages

evaluation_criteria
string
required

Criteria used for evaluation

reference_output
string | null

Optional reference output for comparison

Response

200 - application/json

Response model for binary evaluation results.

passed
boolean
required

Whether the evaluation passed

feedback
string | null

Detailed feedback about the evaluation