Define the questions
Save this body asprediction.json:
prediction.json
Send one request
SetD1_API_URL and D1_API_KEY as shown in the quickstart.
Generate a fresh key once, then keep it with this request for any retries.
Use the answers
Answers arrive in the same order and retain the IDs you supplied.
A score can be fractional. Choose your own routing thresholds using representative
examples; model scores do not establish probability calibration.
Staging answers are simulated. Use them to test request handling and routing
code, then evaluate a real model before making decisions from its scores.
