Make your first request
A shopping agent is about to pay a store whose page looks exactly like the brand’s. Every check it can run says the store is real. This asks a person, and shows exactly what comes back.
Add the server
Make a request
3Read the response
4Handle failures
Send the request
Post the question to the questions endpoint.
curl -X POST $QUORUM_URL/v1/questions \ -H "Content-Type: application/json" \ -d '{ "kind": "verify", "question": "Is this the brand’s own store?", "answer_schema": { "type": "boolean" }, "context": { "text": "Nike Official Store, nike-outlet-sale.shop" }, "deadline_ms": 30000, "cost_of_error": "180.00", "caller_confidence": 0.9 }'
Parameters
Response
No, it is not the brand’s store. The answer comes back with its confidence and the receipts for every wage.
{ "question_id": "q_9f2a…", "status": "resolved", "answer": false, "confidence": 0.99, "responders": 2, "agreement": "unanimous", "latency_ms": 6120}
Check
status before using answer. Anything other than resolved means no answer was reached, and you were refunded.