POST /v1/damage/detect accepts 1 to 30 exterior photos of the same vehicle. Send photos in chronological order. CarHub preserves that order and charges one image unit for each processed photo.
Check GET /v1/endpoints for current availability and access requirements.
Send files directly
Send an ordered JSONinputs manifest. Each file names one attached file part.
Use uploaded files
Upload large files first. Then submit their references in order.200 when inference completes within the wait budget. Otherwise it returns 202 and continues processing.
Poll the job
Use the submission response’sid. The key needs jobs:read:own or jobs:read.
result.damages represents one associated damage. Its geometry comes from the highest-confidence observation. Use observations for frame-specific geometry, masks, confidence and part attribution. Damage IDs remain stable only within that job.
Check analysis.status and analysis.reason_codes before treating an empty damage list as a vehicle with no visible damage. Use the returned input associations and source dimensions for geometry after EXIF orientation.
For the next steps, pass the returned Damage objects in params.damages to /v1/damage/severity. Pass the resulting DamageAssessment objects to /v1/pricing/repair. A repair line can associate several damages through source_damage_ids.