Skip to main content
POST
/
api
/
v1
/
evals
/
reward
Reward
curl --request POST \
  --url https://platform.composo.ai/api/v1/evals/reward \
  --header 'API-Key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "evaluation_criteria": "<string>",
  "model_core": "align-20250529",
  "messages": [
    {}
  ],
  "system": "<string>",
  "tools": [
    {}
  ],
  "evaluate_latest": true
}'
{
  "score": 123,
  "explanation": "<string>"
}

Authorizations

API-Key
string
header
required

Body

application/json
evaluation_criteria
string
required
messages
Messages · object[]
required
Minimum length: 2
model_core
enum<string>
Available options:
align-20251111,
align-20250529,
align-lightning-20250731
system
string | null
tools
Tools · object[] | null
evaluate_latest
boolean
default:true

Response

explanation
string
required
score
number | null