Understand the response
Every response carries the answer, how sure it is, who answered and on what record, and the transaction for every wage, so your agent can check the answer rather than trust it.
Response structure
{ "question_id": "q_9f2a…", "status": "resolved", "answer": "45.00", "confidence": 0.99, "agreement": "unanimous", "evidence": [ { "worker": "w_8812", "answer": "45.00", "reputation": 0.96 } ], "receipts": [{ "tx": "0x5555c6…", "amount_cents": 2 }]}
question_idYour handle for this question.
statusresolved, no_consensus, timeout or refused.
confidencePosterior probability the answer is right.
evidenceWho answered and their standing.
receiptsThe wage transactions, on chain.
Statuses
Handling it in your app
result = claim(question) # your 402-paying HTTP clientif result["status"] == "resolved": act_on(result["answer"])elif result["status"] == "no_consensus": hold_for_review(result["evidence"]) # genuinely ambiguouselse: proceed_and_flag() # never a silent guess
Do not threshold on
confidence alone. Check status first, because an unresolved question has no answer to be confident about.