Quickstart
Three steps from no account to your first report.
1. Get a key
Sign up at https://nextauto.ai/sign-up. Once your account is approved, create a key on the API keys page and keep it in an environment variable. Keys are shown once.
export NEXTGRADE_KEY="your key"
2. Send photos
curl -X POST "https://nextauto.ai/v1/analyses?wait=true" \
-H "Authorization: Bearer $NEXTGRADE_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: my-first-report" \
-d '{
"images": [{ "url": "https://example.com/front.jpg" }, { "url": "https://example.com/left.jpg" }],
"vehicle": { "vin": "5XYPG4A32JG427430" },
"reference": "my-first-report"
}'Send several photos from different sides. The first 24 are analyzed. ?wait=true holds the call open until the report is ready, up to about 4.5 minutes; a report usually takes 1 to 4 minutes.
3. Read the report
A finished report answers 200 with status: "completed". The parts to read first:
damages[]: one line per damaged part, with severity, suggested action and photo evidence.coverage: which views were captured and which major parts were never seen, so a missing line is never read as "no damage".summary: the damage count and the lines that need a person's review.
If it is still running you get 202; fetch it later with GET /v1/analyses/{id}, or register a webhook. Everything else is on Results.