POST
/
api
/
v1
/
evals
/
verify
/
faithfulness

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 faithfulness verification.

input
string
required

User input to verify

response
string
required

Model response to verify

context
string[]
required

Context passages used for verification

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