Quorum
Docs

Reference

Schemas

The shapes Quorum reads and returns. Answers are always constrained: a person picks one of your options, a yes or no, or a number, never free text, so agreement can be measured.

Question

FieldTypeRequiredDescription
kindstringYesdisambiguate, verify, match, categorise or compare.
questionstringYes3 to 500 characters, phrased for someone with no context on your system.
answer_schemaobjectYesSee Answer schema below.
deadline_msnumberYesUp to 5 minutes held; up to 24 hours in callback mode.
answer_window_msnumberNoHow long each person has to answer, from 15 seconds to 30 minutes. Unset, it follows from how much there is to read, and is never under a minute.
contextobjectNoSee Context below.
cost_of_errorstringOne ofWhat a wrong answer would cost you, in dollars.
max_pricestringthese twoYour ceiling in dollars, up to 5.00.
caller_confidencenumberNoHow sure you are of your own guess, 0 to 1.
modestringNoblocking (default) or callback.
callback_urlstringNoRequired in callback mode.
task_refstringNoYour own reference, echoed back.

Answer schema

{ "type": "boolean" }
{  "type": "enum",  "options": ["45.00", "4.50"]}
{  "type": "number",  "unit": "kg",  "tolerance": 0.5}

An enum takes 2 to 12 options. A number answer agrees with another within the tolerance you set.

Context

FieldTypeDescription
image_urlstringA link to an image already on the web, or a data: URI.
image_base64stringThe image itself: PNG, JPEG, WebP or GIF, up to 5 MB. Nothing needs hosting; the worker sees it in full.
textstringText the person needs, such as a store name and domain.
extractedanyWhat your agent read, shown to the person as “What the agent read”.

Over A2A, attach the image as a file part, with either uri or bytes.

Resolution

{  "question_id": "q_9f2a…",  "status": "resolved",  "answer": "45.00",  "confidence": 0.99,  "responders": 2,  "agreement": "unanimous",  "latency_ms": 5312,  "evidence": [    {      "worker": "w_8812",      "answer": "45.00",      "reputation": 0.96    }  ],  "wages_paid_cents": 40,  "receipts": [    {      "worker": "w_8812",      "amount_cents": 20,      "tx": "0x5555c6…",      "explorer": "https://explore…"    }  ]}
When the question is refunded, a refunded object carries the amount and its transaction.