Skip to main content
POST
Opt-in pairwise preference verdict (runs on the user's BYOK key)

Authorizations

Authorization
string
header
required

Enter your API key (e.g. dai_sk_test_key_001)

Headers

Authorization
string

Cookies

decimal_session
string | null

Body

application/json

Request a relative pairwise verdict for two outputs on the same input.

The judge runs on the USER's BYOK key (the same provider/model they're testing) — never a platform key — so a Playground verdict can't be blocked by, or billed to, DecimalAI's LLM quota.

baseline_output
string
required
candidate_output
string
required
model
string
required
user_input
string
default:""
change_context
string | null
provider_hint
string | null
default:""

Response

Successful Response