POST

Answer a question by polling up to 5 LLMs in parallel and returning a consensus (majority, weighted, or unanimous), with optional explanation

/v1/agent/judge

Agent-native · multi-llm

Request → Response

Examples from schemas.json.

Requestapplication/json
POST /v1/agent/judge
Content-Type: application/json

{
  "question": "example",
  "voting_mode": "majority",
  "explain": false
}
Responseapplication/json
HTTP/1.1 200 OK
Content-Type: application/json

// Endpoint-specific body after 402 settlement

Overview

Answer a question by polling up to 5 LLMs in parallel and returning a consensus (majority, weighted, or unanimous), with optional explanation.

Request schema

Body: JSON · application/json

FieldTypeDescription
questionstringrequired
modelsarrayoptional
voting_modestringrequiredenum: majority, weighted, unanimous
explainbooleanrequired
IMPLEMENTATION
curl -X POST https://api.tools402.dev/v1/agent/judge \
  -H "Content-Type: application/json" \
  -d '{
  "question": "example",
  "voting_mode": "majority",
  "explain": false
}'

402 payment flow omitted — see Integrations for settlement.